<?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: Ignoring Comments in Log Files in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Ignoring-Comments-in-Log-Files/m-p/94927#M19770</link>
    <description>&lt;P&gt;You could route the undesired event(s) to the nullQueue - see these for more info:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/questions/96/how-do-i-exclude-some-events-from-being-indexed-by-splunk" rel="nofollow"&gt;http://answers.splunk.com/questions/96/how-do-i-exclude-some-events-from-being-indexed-by-splunk&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/4.1.5/Admin/Routeandfilterdata" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/4.1.5/Admin/Routeandfilterdata&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Nov 2010 05:59:25 GMT</pubDate>
    <dc:creator>dwaddle</dc:creator>
    <dc:date>2010-11-26T05:59:25Z</dc:date>
    <item>
      <title>Ignoring Comments in Log Files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Ignoring-Comments-in-Log-Files/m-p/94926#M19769</link>
      <description>&lt;P&gt;I am trying to index the httperr files from IIS, located in C:\windows\system32\LogFiles\HTTPERR but each of those files start with a set of lines that begin with a #.&lt;/P&gt;

&lt;P&gt;How can I instruct splunk to ignore lines starting with #?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2010 04:20:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Ignoring-Comments-in-Log-Files/m-p/94926#M19769</guid>
      <dc:creator>enielson</dc:creator>
      <dc:date>2010-11-26T04:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring Comments in Log Files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Ignoring-Comments-in-Log-Files/m-p/94927#M19770</link>
      <description>&lt;P&gt;You could route the undesired event(s) to the nullQueue - see these for more info:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/questions/96/how-do-i-exclude-some-events-from-being-indexed-by-splunk" rel="nofollow"&gt;http://answers.splunk.com/questions/96/how-do-i-exclude-some-events-from-being-indexed-by-splunk&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/4.1.5/Admin/Routeandfilterdata" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/4.1.5/Admin/Routeandfilterdata&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Nov 2010 05:59:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Ignoring-Comments-in-Log-Files/m-p/94927#M19770</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2010-11-26T05:59:25Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring Comments in Log Files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Ignoring-Comments-in-Log-Files/m-p/94928#M19771</link>
      <description>&lt;P&gt;Adding to the answer, this is what I am using.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[iis]
KV_MODE = none
CHECK_FOR_HEADER = false
TRANSFORMS-commentsToNull = iis-ignore-comments
REPORT-iisfields = iis-w3c-extended-fields
TIME_FORMAT = %Y-%m-%d %H:%M:%S
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[iis-ignore-comments]
REGEX = ^#(?:Version|Software|Fields|Date):\s.*$
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Nov 2010 23:16:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Ignoring-Comments-in-Log-Files/m-p/94928#M19771</guid>
      <dc:creator>silvermail</dc:creator>
      <dc:date>2010-11-26T23:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring Comments in Log Files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Ignoring-Comments-in-Log-Files/m-p/94929#M19772</link>
      <description>&lt;P&gt;Was this done on the indexer? or the search head? It seems like it should happen on the indexer but I wanted to make sure..&lt;/P&gt;</description>
      <pubDate>Sun, 23 Sep 2012 18:36:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Ignoring-Comments-in-Log-Files/m-p/94929#M19772</guid>
      <dc:creator>paul_1994</dc:creator>
      <dc:date>2012-09-23T18:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring Comments in Log Files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Ignoring-Comments-in-Log-Files/m-p/94930#M19773</link>
      <description>&lt;P&gt;The filtering has to be configured by the instance which parses the data. If you have intermediate heavy forwarder, they are parsing. If the Universal forwarder sends directly to indexers, they are the ones parsing.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2012 09:43:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Ignoring-Comments-in-Log-Files/m-p/94930#M19773</guid>
      <dc:creator>Paolo_Prigione</dc:creator>
      <dc:date>2012-09-24T09:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring Comments in Log Files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Ignoring-Comments-in-Log-Files/m-p/94931#M19774</link>
      <description>&lt;P&gt;Thanks. I made the change on my indexers and it seems to be working in our test environment.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2012 16:55:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Ignoring-Comments-in-Log-Files/m-p/94931#M19774</guid>
      <dc:creator>paul_1994</dc:creator>
      <dc:date>2012-09-24T16:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Ignoring Comments in Log Files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Ignoring-Comments-in-Log-Files/m-p/94932#M19775</link>
      <description>&lt;P&gt;This worked out beautifully, I also had to add &lt;STRONG&gt;iis-2&lt;/STRONG&gt;, &lt;STRONG&gt;iis-10&lt;/STRONG&gt;, and other &lt;CODE&gt;iis-*&lt;/CODE&gt; source types that I was using to &lt;CODE&gt;props.conf&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2013 14:50:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Ignoring-Comments-in-Log-Files/m-p/94932#M19775</guid>
      <dc:creator>slierninja</dc:creator>
      <dc:date>2013-01-17T14:50:38Z</dc:date>
    </item>
  </channel>
</rss>

