<?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: Filter strings of event before index in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Filter-strings-of-event-before-index/m-p/71562#M14570</link>
    <description>&lt;P&gt;To be exact, i need to filter the string is "2013-09-20 16:53:34,374 INFO [Thread-2] [null:-1] Success. Connected to AB Server at 192.11.12.13:123.&lt;/P&gt;</description>
    <pubDate>Tue, 01 Oct 2013 02:41:27 GMT</pubDate>
    <dc:creator>thinksplunk</dc:creator>
    <dc:date>2013-10-01T02:41:27Z</dc:date>
    <item>
      <title>Filter strings of event before index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-strings-of-event-before-index/m-p/71560#M14568</link>
      <description>&lt;P&gt;Hi, as i'm new to using Splunk, i would like to know how to filter the string "2013-09-20 16:53:00, 231 Success transport" before it is index, how to do it and where to configure it? thks&lt;/P&gt;

&lt;P&gt;2013-09-20 16:53:04,723 INFO[Thread-3]EndTime=20/09/2013 16:53:04 TransactionID=A, Event=completed, Result=sent&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;2013-09-20 16:53:00, 231 Success transport&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;2013-09-20 16:52:04,723 INFO[Thread-3]StartTime=20/09/2013 16:52:04 TransactionID=A, Event=start_process&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2013 13:53:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-strings-of-event-before-index/m-p/71560#M14568</guid>
      <dc:creator>thinksplunk</dc:creator>
      <dc:date>2013-09-24T13:53:20Z</dc:date>
    </item>
    <item>
      <title>Re: Filter strings of event before index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-strings-of-event-before-index/m-p/71561#M14569</link>
      <description>&lt;P&gt;You can filter out events before they are indexed with the help of a so-called nullQueue transform. Please note that the regex below is pretty specific in order not to remove events you want to keep.&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[your_source_or_sourcetype]
TRANSFORM-blah = remove_success_transport
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[remove_success_transport]
REGEX = ^\d+-\d+-\d+\s\d+:\d+:\d+,\d+\sSuccess\stransport$
DEST_KEY = queue
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For more info;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.5/Deploy/Routeandfilterdatad#Discard_specific_events_and_keep_the_rest"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.5/Deploy/Routeandfilterdatad#Discard_specific_events_and_keep_the_rest&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Tue, 24 Sep 2013 14:07:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-strings-of-event-before-index/m-p/71561#M14569</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-09-24T14:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Filter strings of event before index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-strings-of-event-before-index/m-p/71562#M14570</link>
      <description>&lt;P&gt;To be exact, i need to filter the string is "2013-09-20 16:53:34,374 INFO [Thread-2] [null:-1] Success. Connected to AB Server at 192.11.12.13:123.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2013 02:41:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-strings-of-event-before-index/m-p/71562#M14570</guid>
      <dc:creator>thinksplunk</dc:creator>
      <dc:date>2013-10-01T02:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: Filter strings of event before index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-strings-of-event-before-index/m-p/71563#M14571</link>
      <description>&lt;P&gt;Did you read the linked doc page? Given that you understand the basic principle of how routing events to the nullQueue works, it's just a question of writing the right regex.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2013 05:26:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-strings-of-event-before-index/m-p/71563#M14571</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-10-01T05:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Filter strings of event before index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-strings-of-event-before-index/m-p/71564#M14572</link>
      <description>&lt;P&gt;correct, it is writing the right regex, as i mentioned i'm new in using Splunk, so not very sure how to write the right regex.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Oct 2013 06:05:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-strings-of-event-before-index/m-p/71564#M14572</guid>
      <dc:creator>thinksplunk</dc:creator>
      <dc:date>2013-10-01T06:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Filter strings of event before index</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-strings-of-event-before-index/m-p/71565#M14573</link>
      <description>&lt;P&gt;It seems like the poster was just looking to remove PART of a log or event, but the answer given will remove the ENTIRE EVENT .   &lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2014 02:53:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-strings-of-event-before-index/m-p/71565#M14573</guid>
      <dc:creator>JimDeich</dc:creator>
      <dc:date>2014-11-05T02:53:38Z</dc:date>
    </item>
  </channel>
</rss>

