Graylog IIS regular map two fields

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP



Graylog IIS regular map two fields



I'm trying to map two fields in Graylog. Right now I'm pulling IIS logs and I'm looking to match search & dashboard on IP addresses when they have 403.* errors



An example log is like this:


"EventReceivedTime":"2018-08-13 08:01:03","SourceModuleName":"iis","SourceModuleType":"im_file","date":"2018-08-12","time":"20:01:00","s-sitename":"W3SVC1","s-computername":"Portal-IIS","s-ip":"192.168.1.3","cs-method":"GET","cs-uri-stem":"/something/resource","cs-uri-query":"X-ARR-CACHE-HIT=0&SERVER-ROUTED=192.168.2.4&X-ARR-LOG-ID=b56f1f43-9cac-4356-8f03-c51b0fd5bfa1&SERVER-STATUS=403","s-port":"443","c-ip":"1.1.1.1","cs(User-Agent)":"Mozilla/4.0+(compatible;+MSIE+7.0;+Windows+NT+6.3;+WOW64;+Trident/7.0;+.NET4.0E;+.NET4.0C;+.NET+CLR+3.5.30729;+.NET+CLR+2.0.50727;+.NET+CLR+3.0.30729;+InfoPath.3)","cs(Referer)":"https://someURL/something/resource.htm","sc-status":200,"sc-substatus":0,"sc-win32-status":0,"time-taken":0,"EventTime":"2018-08-12 20:01:00","SourceName":"IIS"



I've tried creating an extractor that would pull public IPs and the sc-status, however when toying with something like regexr, it doesn't work correctly in graylog.



How should I be approaching this problem?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

jiq7nNpNDPkfa yBWGzs5KlRN,LnL,0JgfLUbT4KoaWKoLX66awdxgnN e,rg F 10Z5 PC2mHpu UV8wez quVSY4VYWN pIni2E,4aZs,e
wbTG0RosvR6YE21PkCs7cRNbGBRKSLMy e y rSjxfZn8wwAT8My6KMiApd

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3