<?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: Filtering specific log file on indexer in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/79002#M16183</link>
    <description>&lt;P&gt;THanks, but sme result.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2012 14:42:24 GMT</pubDate>
    <dc:creator>timmy13</dc:creator>
    <dc:date>2012-02-27T14:42:24Z</dc:date>
    <item>
      <title>Filtering specific log file on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/78995#M16176</link>
      <description>&lt;P&gt;I have a very chatty forwarder that I do not have access to, so cannot stop the noise.&lt;/P&gt;

&lt;P&gt;I have identified the log file that is sending millions of events an hour.&lt;/P&gt;

&lt;P&gt;I would like to use props.conf and transforms.conf to filter this log out pre-index time, but it's not working like I would expect. The log file (NOV.log) is in a deep path, but I just want to use the name and no worry about the full path.&lt;/P&gt;

&lt;P&gt;Here's my config:&lt;/P&gt;

&lt;P&gt;props.conf&lt;BR /&gt;
[source::...NOV.log}&lt;BR /&gt;
TRANSFORMS-Filter_Events = FilterNOVlog&lt;/P&gt;

&lt;P&gt;transforms.conf&lt;BR /&gt;
[FilterNOVlog]&lt;BR /&gt;
REGEX=.&lt;BR /&gt;
DEST_KEY=queue&lt;BR /&gt;
FORMAT=nullQueue&lt;/P&gt;

&lt;P&gt;Am I missing something really stupid, or shouldn't this work?&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;

&lt;P&gt;Tim&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2012 20:05:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/78995#M16176</guid>
      <dc:creator>timmy13</dc:creator>
      <dc:date>2012-02-26T20:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering specific log file on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/78996#M16177</link>
      <description>&lt;P&gt;Yes that should work, after you correct the } to a ].  Have you restarted Splunk?&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2012 21:27:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/78996#M16177</guid>
      <dc:creator>jgedeon120</dc:creator>
      <dc:date>2012-02-26T21:27:36Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering specific log file on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/78997#M16178</link>
      <description>&lt;P&gt;Yah, I noticed that typo too, but it isn't working.  ANd yes, I restarted splunk.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2012 23:24:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/78997#M16178</guid>
      <dc:creator>timmy13</dc:creator>
      <dc:date>2012-02-26T23:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering specific log file on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/78998#M16179</link>
      <description>&lt;P&gt;Your props and transforms look correctly set for nullQueue-ing. Here are a couple of things you can try to troubleshoot the issue:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Is the source of the that data actually &lt;CODE&gt;...NOV.log&lt;/CODE&gt;? Perhaps it is being overwritten at inputs.conf at the forwarder.&lt;/LI&gt;
&lt;LI&gt;Use &lt;CODE&gt;btool&lt;/CODE&gt; to see the running configuration of Splunk for that source: &lt;CODE&gt;./splunk cmd btool props list my_source&lt;/CODE&gt;&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Hope this helps.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;gt; please upvote and accept answer if you find it useful - thanks!&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2012 00:29:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/78998#M16179</guid>
      <dc:creator>_d_</dc:creator>
      <dc:date>2012-02-27T00:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering specific log file on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/78999#M16180</link>
      <description>&lt;P&gt;Yes, the source is actually C:\Program Files\Common Files\xxx\xxx.xx.ProcessorService\xxx\logs\NOV.log, but I tried it with the full path as well and it didn't work.&lt;/P&gt;

&lt;P&gt;Here's the btool output...&lt;BR /&gt;
BREAK_ONLY_BEFORE =&lt;BR /&gt;
BREAK_ONLY_BEFORE_DATE = True&lt;BR /&gt;
CHARSET = UTF-8&lt;BR /&gt;
DATETIME_CONFIG = /etc/datetime.xml&lt;BR /&gt;
LEARN_SOURCETYPE = true&lt;BR /&gt;
MAX_DAYS_AGO = 2000&lt;BR /&gt;
MAX_DAYS_HENCE = 2&lt;BR /&gt;
MAX_DIFF_SECS_AGO = 3600&lt;BR /&gt;
MAX_DIFF_SECS_HENCE = 604800&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:26:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/78999#M16180</guid>
      <dc:creator>timmy13</dc:creator>
      <dc:date>2020-09-28T11:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering specific log file on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/79000#M16181</link>
      <description>&lt;P&gt;MAX_EVENTS = 256&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 128&lt;BR /&gt;
MUST_BREAK_AFTER =&lt;BR /&gt;
MUST_NOT_BREAK_AFTER =&lt;BR /&gt;
MUST_NOT_BREAK_BEFORE =&lt;BR /&gt;
SEGMENTATION = indexing&lt;BR /&gt;
SEGMENTATION-all = full&lt;BR /&gt;
SEGMENTATION-inner = inner&lt;BR /&gt;
SEGMENTATION-outer = outer&lt;BR /&gt;
SEGMENTATION-raw = none&lt;BR /&gt;
SEGMENTATION-standard = standard&lt;BR /&gt;
SHOULD_LINEMERGE = True&lt;BR /&gt;
TRANSFORMS =&lt;BR /&gt;
TRANSFORMS-Filter_Events = FilterNOVlog&lt;BR /&gt;
TRANSFORMS-asa = cisco_asa&lt;BR /&gt;
TRANSFORMS-fwsm = cisco_fwsm&lt;BR /&gt;
TRANSFORMS-ios = cisco_ios&lt;BR /&gt;
TRANSFORMS-pix = cisco_pix&lt;BR /&gt;
TRUNCATE = 10000&lt;BR /&gt;
maxDist = 100&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:26:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/79000#M16181</guid>
      <dc:creator>timmy13</dc:creator>
      <dc:date>2020-09-28T11:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering specific log file on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/79001#M16182</link>
      <description>&lt;P&gt;Try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::...\\NOV.log]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Feb 2012 03:44:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/79001#M16182</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2012-02-27T03:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering specific log file on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/79002#M16183</link>
      <description>&lt;P&gt;THanks, but sme result.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2012 14:42:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/79002#M16183</guid>
      <dc:creator>timmy13</dc:creator>
      <dc:date>2012-02-27T14:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering specific log file on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/79003#M16184</link>
      <description>&lt;P&gt;Timmy13, are you saying that you tried this on the indexer and it does not work?&lt;/P&gt;

&lt;P&gt;props.conf &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[source::C:\\Program Files\\Common Files\\xxx\\xxx.xx.ProcessorService\\xxx\\logs\\NOV.log]&lt;BR /&gt;
TRANSFORMS-Filter_Events = FilterNOVlog&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;transforms.conf &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;[FilterNOVlog] &lt;BR /&gt;
REGEX = . &lt;BR /&gt;
DEST_KEY = queue &lt;BR /&gt;
FORMAT = nullQueue&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2012 15:01:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/79003#M16184</guid>
      <dc:creator>_d_</dc:creator>
      <dc:date>2012-02-27T15:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering specific log file on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/79004#M16185</link>
      <description>&lt;P&gt;Unfortunately, yes, tried that, and every other possible props.conf &lt;SPEC&gt; I can think of, none of them are working.&lt;/SPEC&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2012 15:12:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/79004#M16185</guid>
      <dc:creator>timmy13</dc:creator>
      <dc:date>2012-02-27T15:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering specific log file on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/79005#M16186</link>
      <description>&lt;P&gt;hmm, this is very strange...my next step would be to investigate the indexer configuration with btool on props and transforms (with both, source and sourcetype stanzas) to make sure there are no conflicting settings...&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2012 15:29:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/79005#M16186</guid>
      <dc:creator>_d_</dc:creator>
      <dc:date>2012-02-27T15:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering specific log file on indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/79006#M16187</link>
      <description>&lt;P&gt;Splunk support explains that this is failing because the data is being sent by the full forwarder, and therefore, the filter would have to be done on the forwarder.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Mar 2012 18:26:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filtering-specific-log-file-on-indexer/m-p/79006#M16187</guid>
      <dc:creator>timmy13</dc:creator>
      <dc:date>2012-03-08T18:26:38Z</dc:date>
    </item>
  </channel>
</rss>

