<?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 How and where do I filter logs with regex before indexing? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-and-where-do-I-filter-logs-with-regex-before-indexing/m-p/274908#M82921</link>
    <description>&lt;P&gt;I have a .txt log file and it has many patterns in it. I need logs of only a particular pattern. How and where can I filter them using regex?&lt;/P&gt;</description>
    <pubDate>Tue, 08 Dec 2015 20:10:09 GMT</pubDate>
    <dc:creator>SridharS</dc:creator>
    <dc:date>2015-12-08T20:10:09Z</dc:date>
    <item>
      <title>How and where do I filter logs with regex before indexing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-and-where-do-I-filter-logs-with-regex-before-indexing/m-p/274908#M82921</link>
      <description>&lt;P&gt;I have a .txt log file and it has many patterns in it. I need logs of only a particular pattern. How and where can I filter them using regex?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 20:10:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-and-where-do-I-filter-logs-with-regex-before-indexing/m-p/274908#M82921</guid>
      <dc:creator>SridharS</dc:creator>
      <dc:date>2015-12-08T20:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: How and where do I filter logs with regex before indexing?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-and-where-do-I-filter-logs-with-regex-before-indexing/m-p/274909#M82922</link>
      <description>&lt;P&gt;Hi SridharS,&lt;/P&gt;

&lt;P&gt;read the docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.1511/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.1511/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues&lt;/A&gt; about &lt;CODE&gt;Filter event data and send to queues&lt;/CODE&gt; where you can learn how this can be done. You have to do this either on the indexer or a heavy weight forwarder - don't forget to restart Splunk after the changes and it will only apply to new events.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 20:13:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-and-where-do-I-filter-logs-with-regex-before-indexing/m-p/274909#M82922</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-12-08T20:13:15Z</dc:date>
    </item>
  </channel>
</rss>

