<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: IIS Log Files parsing and Removing Load Balance Health Check in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/IIS-Log-Files-parsing-and-Removing-Load-Balance-Health-Check/m-p/362642#M66109</link>
    <description>&lt;P&gt;Hi Giuseppe&lt;/P&gt;

&lt;P&gt;Thanks for the help. Unfortunatelly it didn´t work yet.&lt;BR /&gt;
Is there any way to debug the process of parsing and check whats going on?&lt;/P&gt;</description>
    <pubDate>Tue, 03 Oct 2017 14:22:54 GMT</pubDate>
    <dc:creator>felipemn</dc:creator>
    <dc:date>2017-10-03T14:22:54Z</dc:date>
    <item>
      <title>IIS Log Files parsing and Removing Load Balance Health Check</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/IIS-Log-Files-parsing-and-Removing-Load-Balance-Health-Check/m-p/362640#M66107</link>
      <description>&lt;P&gt;I,m using the new 7.0.0 version of Splunk at my distributed installation (Indexer,Search Head) and i´m trying to parse iis logs from a Windows Server 2016.&lt;BR /&gt;
The parsing is working but i´ve tried to avoid some noise (Probe validation from Load Balancer) using "nullqueue" but somehow, that it´s not working.&lt;BR /&gt;
The noisy probe logs still is coming...&lt;/P&gt;

&lt;P&gt;Here we go:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Part of of the IIS log file:&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Software: Microsoft Internet Information Services 10.0&lt;/P&gt;

&lt;H1&gt;Version: 1.0&lt;/H1&gt;

&lt;H1&gt;Date: 2017-09-30 18:22:33&lt;/H1&gt;

&lt;H1&gt;Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query s-port cs-username c-ip cs(User-Agent) cs(Referer) cs-host sc-status sc-substatus sc-win32-status time-taken&lt;/H1&gt;

&lt;P&gt;2017-09-30 18:22:33 W3SVC6 10.50.10.40 GET / - 25002 - 168.63.129.16 Load+Balancer+Agent - 100.76.216.215:25002 200 0 0 718&lt;BR /&gt;
2017-09-30 18:22:38 W3SVC6 10.50.10.40 GET / - 25002 - 168.63.129.16 Load+Balancer+Agent - 100.76.216.215:25002 200 0 0 15&lt;BR /&gt;
2017-09-30 18:22:43 W3SVC6 10.50.10.40 GET / - 25002 - 168.63.129.16 Load+Balancer+Agent - 100.76.216.215:25002 200 0 0 15&lt;BR /&gt;
2017-09-30 18:22:48 W3SVC6 10.50.10.40 GET / - 25002 - 168.63.129.16 Load+Balancer+Agent - 100.76.216.215:25002 200 0 0 15&lt;BR /&gt;
2017-09-30 18:22:53 W3SVC6 10.50.10.40 GET / - 25002 - 168.63.129.16 Load+Balancer+Agent - 100.76.216.215:25002 200 0 0 15&lt;BR /&gt;
2017-09-30 18:22:58 W3SVC6 10.50.10.40 GET / - 25002 - 168.63.129.16 Load+Balancer+Agent - 100.76.216.215:25002 200 0 0 15&lt;BR /&gt;
2017-09-30 18:23:03 W3SVC6 10.50.10.40 GET / - 25002 - 168.63.129.16 Load+Balancer+Agent - 100.76.216.215:25002 200 0 0 0&lt;BR /&gt;
2017-09-30 18:23:08 W3SVC6 10.50.10.40 GET / - 25002 - 168.63.129.16 Load+Balancer+Agent - 100.76.216.215:25002 200 0 0 15*&lt;/P&gt;

&lt;P&gt;*&lt;EM&gt;inputs.conf (at C:\Program Files\SplunkUniversalForwarder\etc\system\local) Universal Forwarder *&lt;/EM&gt;&lt;BR /&gt;
[monitor://C:\Logs\IIS\W3SV**.log]&lt;BR /&gt;
index = private_backend&lt;BR /&gt;
sourcetype = iis&lt;BR /&gt;
disabled = false&lt;BR /&gt;
ignoreOlderThan = 0d&lt;/P&gt;

&lt;P&gt;*&lt;EM&gt;/opt/splunk/etc/system/local/props.conf (at the Indexer server) *&lt;/EM&gt;&lt;BR /&gt;
[iis]&lt;BR /&gt;
TRANSFORMS-null=remove_log_probe&lt;/P&gt;

&lt;P&gt;*&lt;EM&gt;/opt/splunk/etc/system/local/transforms.conf (at the Indexer server) *&lt;/EM&gt;&lt;BR /&gt;
[remove_log_probe]&lt;BR /&gt;
REGEX=Load\SBalancer\SAgent&lt;BR /&gt;
DEST_KEY=queue&lt;BR /&gt;
FORMAT=nullQueue&lt;/P&gt;

&lt;P&gt;I´m definetily missing something (maybe silly rsrsr). Can, please, somebody help?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:59:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/IIS-Log-Files-parsing-and-Removing-Load-Balance-Health-Check/m-p/362640#M66107</guid>
      <dc:creator>felipemn</dc:creator>
      <dc:date>2020-09-29T15:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: IIS Log Files parsing and Removing Load Balance Health Check</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/IIS-Log-Files-parsing-and-Removing-Load-Balance-Health-Check/m-p/362641#M66108</link>
      <description>&lt;P&gt;Hi  felipemn,&lt;BR /&gt;
I'm not sure to have understood your need: do you want to discard events where there is &lt;CODE&gt;Load+Balancer+Agent&lt;/CODE&gt; ?&lt;BR /&gt;
If this is your need your regex is correct, also if I'd use &lt;CODE&gt;Load\+Balancer\+Agent&lt;/CODE&gt;&lt;BR /&gt;
Anyway, as you can see in &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad&lt;/A&gt; , I think that you have to modify:&lt;BR /&gt;
props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[iis]
TRANSFORMS-null=set_index,remove_log_probe
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[remove_log_probe]
REGEX = Load\+Balancer\+Agent
DEST_KEY = queue
FORMAT = nullQueue

[set_index]
REGEX = .
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Sun, 01 Oct 2017 15:45:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/IIS-Log-Files-parsing-and-Removing-Load-Balance-Health-Check/m-p/362641#M66108</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-10-01T15:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: IIS Log Files parsing and Removing Load Balance Health Check</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/IIS-Log-Files-parsing-and-Removing-Load-Balance-Health-Check/m-p/362642#M66109</link>
      <description>&lt;P&gt;Hi Giuseppe&lt;/P&gt;

&lt;P&gt;Thanks for the help. Unfortunatelly it didn´t work yet.&lt;BR /&gt;
Is there any way to debug the process of parsing and check whats going on?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 14:22:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/IIS-Log-Files-parsing-and-Removing-Load-Balance-Health-Check/m-p/362642#M66109</guid>
      <dc:creator>felipemn</dc:creator>
      <dc:date>2017-10-03T14:22:54Z</dc:date>
    </item>
  </channel>
</rss>

