<?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 Index only rows that match a pattern in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Index-only-rows-that-match-a-pattern/m-p/437066#M94656</link>
    <description>&lt;P&gt;i have a file with following pattern  : SERVICESTATE::CRITICAL  , which updates everyday.&lt;BR /&gt;
this file also has many other rows which does not have the above pattern.&lt;BR /&gt;
i would like to only index the rows that match this pattern.&lt;BR /&gt;
could i get help on how this can be done...&lt;/P&gt;

&lt;P&gt;thanks,&lt;BR /&gt;
john.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Jun 2018 20:14:08 GMT</pubDate>
    <dc:creator>jiaqya</dc:creator>
    <dc:date>2018-06-05T20:14:08Z</dc:date>
    <item>
      <title>Index only rows that match a pattern</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-only-rows-that-match-a-pattern/m-p/437066#M94656</link>
      <description>&lt;P&gt;i have a file with following pattern  : SERVICESTATE::CRITICAL  , which updates everyday.&lt;BR /&gt;
this file also has many other rows which does not have the above pattern.&lt;BR /&gt;
i would like to only index the rows that match this pattern.&lt;BR /&gt;
could i get help on how this can be done...&lt;/P&gt;

&lt;P&gt;thanks,&lt;BR /&gt;
john.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 20:14:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-only-rows-that-match-a-pattern/m-p/437066#M94656</guid>
      <dc:creator>jiaqya</dc:creator>
      <dc:date>2018-06-05T20:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Index only rows that match a pattern</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Index-only-rows-that-match-a-pattern/m-p/437067#M94657</link>
      <description>&lt;P&gt;You believe you want to do - "Keep specific events and discard the rest". So follow instruction from below link and use appropriate REGEX for your pattern.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/7.1.1/Forwarding/Routeandfilterdatad#Keep_specific_events_and_discard_the_rest"&gt;http://docs.splunk.com/Documentation/Splunk/7.1.1/Forwarding/Routeandfilterdatad#Keep_specific_events_and_discard_the_rest&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jun 2018 21:36:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Index-only-rows-that-match-a-pattern/m-p/437067#M94657</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-06-05T21:36:42Z</dc:date>
    </item>
  </channel>
</rss>

