<?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: Do not index some events from a log source... in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Do-not-index-some-events-from-a-log-source/m-p/81781#M16875</link>
    <description>&lt;P&gt;Look for the section titled:  Discard specific events and keep the rest on this link &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Routeandfilterdatad"&gt;RouteAndFilterData&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You'll just need to create a regex that matches those 2 log entries.  The data will still be read and sent from a UF to the indexer, but the indexer will simply discard the messages.&lt;/P&gt;

&lt;P&gt;Something similar to the following&lt;BR /&gt;
props.conf on your indexer:&lt;BR /&gt;
[your_sourcetype]&lt;BR /&gt;
TRANSFORMS-null= discard&lt;/P&gt;

&lt;P&gt;transforms.conf on your indexer:&lt;BR /&gt;
[setnull]&lt;BR /&gt;
REGEX = "=+\s(?:JOB COUNTERS|JOB COUNTERS END)\s=+"&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;Might need to tweak the regex a bit, but that should work.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Feb 2012 19:42:23 GMT</pubDate>
    <dc:creator>mikelanghorst</dc:creator>
    <dc:date>2012-02-29T19:42:23Z</dc:date>
    <item>
      <title>Do not index some events from a log source...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Do-not-index-some-events-from-a-log-source/m-p/81780#M16874</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a log source that is causing some problems. I think it is caused by events like this ones:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;29-02-2012 18:00:58 UTC udb_persona_ingest INFO - ========= JOB COUNTERS ======== 
29-02-2012 18:00:58 UTC udb_persona_ingest INFO - ========= JOB COUNTERS END ======== 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;how can I configure splunk to not index this particular event that is linked to a sourcetype.&lt;/P&gt;

&lt;P&gt;Thanks in advanced.&lt;BR /&gt;
Lp&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 19:36:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Do-not-index-some-events-from-a-log-source/m-p/81780#M16874</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2012-02-29T19:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: Do not index some events from a log source...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Do-not-index-some-events-from-a-log-source/m-p/81781#M16875</link>
      <description>&lt;P&gt;Look for the section titled:  Discard specific events and keep the rest on this link &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Deploy/Routeandfilterdatad"&gt;RouteAndFilterData&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You'll just need to create a regex that matches those 2 log entries.  The data will still be read and sent from a UF to the indexer, but the indexer will simply discard the messages.&lt;/P&gt;

&lt;P&gt;Something similar to the following&lt;BR /&gt;
props.conf on your indexer:&lt;BR /&gt;
[your_sourcetype]&lt;BR /&gt;
TRANSFORMS-null= discard&lt;/P&gt;

&lt;P&gt;transforms.conf on your indexer:&lt;BR /&gt;
[setnull]&lt;BR /&gt;
REGEX = "=+\s(?:JOB COUNTERS|JOB COUNTERS END)\s=+"&lt;BR /&gt;
DEST_KEY = queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;Might need to tweak the regex a bit, but that should work.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 19:42:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Do-not-index-some-events-from-a-log-source/m-p/81781#M16875</guid>
      <dc:creator>mikelanghorst</dc:creator>
      <dc:date>2012-02-29T19:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: Do not index some events from a log source...</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Do-not-index-some-events-from-a-log-source/m-p/81782#M16876</link>
      <description>&lt;P&gt;Thanks I will test it tomorrow.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 20:11:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Do-not-index-some-events-from-a-log-source/m-p/81782#M16876</guid>
      <dc:creator>lpolo</dc:creator>
      <dc:date>2012-02-29T20:11:01Z</dc:date>
    </item>
  </channel>
</rss>

