<?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: Need Help in filtering data ad ingest few of the data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466227#M80336</link>
    <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;I really don't know what is going on in my splunk. &lt;/P&gt;

&lt;P&gt;I tried to route data from main index to iis_nonprod.   That is not working. &lt;/P&gt;

&lt;P&gt;I kept props and transforms in HF. Because the data is touting HF before going to IDX.&lt;/P&gt;

&lt;P&gt;source: e:\IISLogs\W3SVC1\u_ex191029.log&lt;/P&gt;

&lt;P&gt;props: &lt;BR /&gt;
[source::e:\IISLogs\W3SVC1*.log]&lt;BR /&gt;
TRANSFORMS-filter = routeData&lt;/P&gt;

&lt;P&gt;tried both REGEX = .     and REGEX= .    and REGEX =.       but nothing is working.&lt;/P&gt;

&lt;P&gt;transforms:&lt;BR /&gt;
[routeData]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = _MetaData:Index&lt;BR /&gt;
FORMAT = iis_nonprod&lt;/P&gt;

&lt;P&gt;but still the data is not routing. &lt;/P&gt;

&lt;P&gt;By the way. the above filterings are not working. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;can you please help me with that? &lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 02:43:32 GMT</pubDate>
    <dc:creator>satyaallaparthi</dc:creator>
    <dc:date>2020-09-30T02:43:32Z</dc:date>
    <item>
      <title>Need Help in filtering data ad ingest few of the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466214#M80323</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;I have tons of data that are ingesting to some index="abc". &lt;/P&gt;

&lt;P&gt;But I want to filter the whole data and want to ingest the log with the words "Events,Transaction,Payment" and then want to route that data to index=event_logs&lt;/P&gt;

&lt;P&gt;I wrote the below props and transforms. But no luck.&lt;/P&gt;

&lt;P&gt;Props:&lt;/P&gt;

&lt;P&gt;TRANSFORMS-filter = null, IQ,Events&lt;/P&gt;

&lt;P&gt;Transforms:&lt;/P&gt;

&lt;P&gt;[null]&lt;BR /&gt;
REGEX= .&lt;BR /&gt;
DEST_KEY = Queue&lt;BR /&gt;
FORMAT = nullQueue&lt;/P&gt;

&lt;P&gt;[IQ]&lt;BR /&gt;
REGEX= .+(Event|Payment|Transaction).+&lt;BR /&gt;
DEST_KEY = Queue&lt;BR /&gt;
FORMAT = indexQueue&lt;/P&gt;

&lt;P&gt;[Events]&lt;BR /&gt;
REGEX= .+(Event|Payment|Transaction).+&lt;BR /&gt;
DEST_KEY = _MetaData:Index&lt;BR /&gt;
FORMAT = Event_log&lt;/P&gt;

&lt;P&gt;Please do help me with the issue. &lt;/P&gt;

&lt;P&gt;Thanks in Advance&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:42:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466214#M80323</guid>
      <dc:creator>satyaallaparthi</dc:creator>
      <dc:date>2020-09-30T02:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help in filtering data ad ingest few of the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466215#M80324</link>
      <description>&lt;P&gt;Hi satyaallaparthi,&lt;BR /&gt;
Three notes:&lt;BR /&gt;
at first, where do you have these conf files?&lt;BR /&gt;
You have to put them on Indexers or (when present) on Heavy Forwarders, not on Universal Forwarder.&lt;BR /&gt;
For more information see at &lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.2/Forwarding/Routeandfilterdatad"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.2/Forwarding/Routeandfilterdatad&lt;/A&gt; .&lt;/P&gt;

&lt;P&gt;Then the regex should be a little different:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;REGEX=Event|Payment|Transaction
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;.&lt;BR /&gt;
At least, why do you need to override index? is it not possible to set it on inputs.conf?&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 14:41:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466215#M80324</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-10-25T14:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help in filtering data ad ingest few of the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466216#M80325</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;Yes, I did tried that before doing this.. but no luck.. that is why I changed the regex.. &lt;/P&gt;

&lt;P&gt;No, that is not possible to set in Inputs. Because I am getting the data from other instance. &lt;/P&gt;

&lt;P&gt;Thanks, &lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 14:51:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466216#M80325</guid>
      <dc:creator>satyaallaparthi</dc:creator>
      <dc:date>2019-10-25T14:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help in filtering data ad ingest few of the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466217#M80326</link>
      <description>&lt;P&gt;Hi satyaallaparthi,&lt;BR /&gt;
let me understand:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;you have these conf files on Indexer, not on Universal Forwarders and you don't have intermediate Heavy Forwarders;&lt;/LI&gt;
&lt;LI&gt;you tried my rex and you rex both without success;&lt;/LI&gt;
&lt;LI&gt;you restarted Splunk after conf files updates.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Could you try without the third command in props.conf?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TRANSFORMS-filter = null, IQ
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 14:58:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466217#M80326</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-10-25T14:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help in filtering data ad ingest few of the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466218#M80327</link>
      <description>&lt;P&gt;But I want the third one to route data to new index. &lt;/P&gt;

&lt;P&gt;And yes, I have heavy forwarder is between indexer and UF. I restarted the server after I placed. But no luck&lt;/P&gt;

&lt;P&gt;Thanks, &lt;/P&gt;</description>
      <pubDate>Fri, 25 Oct 2019 17:21:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466218#M80327</guid>
      <dc:creator>satyaallaparthi</dc:creator>
      <dc:date>2019-10-25T17:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help in filtering data ad ingest few of the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466219#M80328</link>
      <description>&lt;P&gt;Casing matters; use this EXACTLY:&lt;/P&gt;

&lt;H4&gt;Props:&lt;/H4&gt;

&lt;PRE&gt;&lt;CODE&gt;TRANSFORMS-filter = null_all_my_stuff, unnull_IQ_stuff, stuff_to_different_index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;H4&gt;Transforms:&lt;/H4&gt;

&lt;PRE&gt;&lt;CODE&gt;[null_all_my_stuff]
REGEX= .
DEST_KEY = queue
FORMAT = nullQueue

[unnull_IQ_stuff]
REGEX= (Event|Payment|Transaction)
DEST_KEY = queue
FORMAT = indexQueue

[stuff_to_different_index]
REGEX= (Event|Payment|Transaction)
DEST_KEY = _MetaData:Index
FORMAT = Event_log
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 26 Oct 2019 02:51:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466219#M80328</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-10-26T02:51:50Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help in filtering data ad ingest few of the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466220#M80329</link>
      <description>&lt;P&gt;Yes, but what about the 3rd one for routing data to another index ? &lt;/P&gt;

&lt;P&gt;As I mentioned, I want to route data to new index. Which is events_logs. But that is not working.. &lt;/P&gt;

&lt;P&gt;That is the reason I posted for help. &lt;/P&gt;

&lt;P&gt;Thanks, &lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2019 03:13:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466220#M80329</guid>
      <dc:creator>satyaallaparthi</dc:creator>
      <dc:date>2019-10-26T03:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help in filtering data ad ingest few of the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466221#M80330</link>
      <description>&lt;P&gt;There is no description of such a requirement in the OP.  Edit it and add those details.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2019 04:10:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466221#M80330</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-10-26T04:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help in filtering data ad ingest few of the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466222#M80331</link>
      <description>&lt;P&gt;Hi satyaallaparthi,&lt;BR /&gt;
If you have an Heavy Forwarder, you have to put conf files on Heavy Forwarder.&lt;/P&gt;

&lt;P&gt;I hint to use only the first two commands to debug the situation, I know that you need also the third command, but usually the correct approach is to debug problem by problem.&lt;/P&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2019 06:19:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466222#M80331</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-10-26T06:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help in filtering data ad ingest few of the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466223#M80332</link>
      <description>&lt;P&gt;Yes, I did edited now. &lt;/P&gt;

&lt;P&gt;[Events]&lt;BR /&gt;
REGEX= .+(Event|Payment|Transaction).+&lt;BR /&gt;
DEST_KEY = _MetaData:Index&lt;BR /&gt;
FORMAT = Event_log&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:45:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466223#M80332</guid>
      <dc:creator>satyaallaparthi</dc:creator>
      <dc:date>2020-09-30T02:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help in filtering data ad ingest few of the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466224#M80333</link>
      <description>&lt;P&gt;Sure, &lt;/P&gt;

&lt;P&gt;I will do the the step by step process and will let u know.&lt;/P&gt;

&lt;P&gt;Thanks, &lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2019 13:10:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466224#M80333</guid>
      <dc:creator>satyaallaparthi</dc:creator>
      <dc:date>2019-10-26T13:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help in filtering data ad ingest few of the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466225#M80334</link>
      <description>&lt;P&gt;If you are sure that your settings are correct, then it must be something else.  If you are doing a &lt;CODE&gt;sourcetype override&lt;/CODE&gt;/overwrite, you must use the &lt;EM&gt;ORIGINAL&lt;/EM&gt; value, &lt;EM&gt;NOT&lt;/EM&gt; the new value.  You must deploy your settings to the &lt;CODE&gt;first full instance(s)&lt;/CODE&gt; of Splunk that handle the events (usually either the &lt;CODE&gt;HF tier&lt;/CODE&gt; if you use one, or else your &lt;CODE&gt;Indexer tier&lt;/CODE&gt;), restart all Splunk instances there, send in new events (old events will stay broken), then test using &lt;CODE&gt;_index_earliest=-5m&lt;/CODE&gt; to be absolutely certain that you are only examining the newly indexed events.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2019 15:21:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466225#M80334</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-10-26T15:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help in filtering data ad ingest few of the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466226#M80335</link>
      <description>&lt;P&gt;OK, I updated my original answer at the top of this thread.  The main thing is that &lt;CODE&gt;Queue&lt;/CODE&gt; must be &lt;CODE&gt;queue&lt;/CODE&gt;.  See my other answer if it still doesn't work.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Oct 2019 15:41:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466226#M80335</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-10-26T15:41:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help in filtering data ad ingest few of the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466227#M80336</link>
      <description>&lt;P&gt;Hello, &lt;/P&gt;

&lt;P&gt;I really don't know what is going on in my splunk. &lt;/P&gt;

&lt;P&gt;I tried to route data from main index to iis_nonprod.   That is not working. &lt;/P&gt;

&lt;P&gt;I kept props and transforms in HF. Because the data is touting HF before going to IDX.&lt;/P&gt;

&lt;P&gt;source: e:\IISLogs\W3SVC1\u_ex191029.log&lt;/P&gt;

&lt;P&gt;props: &lt;BR /&gt;
[source::e:\IISLogs\W3SVC1*.log]&lt;BR /&gt;
TRANSFORMS-filter = routeData&lt;/P&gt;

&lt;P&gt;tried both REGEX = .     and REGEX= .    and REGEX =.       but nothing is working.&lt;/P&gt;

&lt;P&gt;transforms:&lt;BR /&gt;
[routeData]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = _MetaData:Index&lt;BR /&gt;
FORMAT = iis_nonprod&lt;/P&gt;

&lt;P&gt;but still the data is not routing. &lt;/P&gt;

&lt;P&gt;By the way. the above filterings are not working. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;can you please help me with that? &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:43:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466227#M80336</guid>
      <dc:creator>satyaallaparthi</dc:creator>
      <dc:date>2020-09-30T02:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need Help in filtering data ad ingest few of the data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466228#M80337</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I really don't know what is going on in my splunk.&lt;/P&gt;

&lt;P&gt;I tried to route data from main index to iis_nonprod. That is not working.&lt;/P&gt;

&lt;P&gt;I kept props and transforms in HF. Because the data is touting HF before going to IDX.&lt;/P&gt;

&lt;P&gt;source: e:\IISLogs\W3SVC1\u_ex191029.log&lt;/P&gt;

&lt;P&gt;props:&lt;BR /&gt;
[source::e:\IISLogs\W3SVC1*.log]&lt;BR /&gt;
TRANSFORMS-filter = routeData&lt;/P&gt;

&lt;P&gt;tried both REGEX = .     and REGEX= .    and REGEX =.       but nothing is working.&lt;/P&gt;

&lt;P&gt;transforms:&lt;BR /&gt;
[routeData]&lt;BR /&gt;
REGEX = .&lt;BR /&gt;
DEST_KEY = _MetaData:Index&lt;BR /&gt;
FORMAT = iis_nonprod&lt;/P&gt;

&lt;P&gt;but still the data is not routing.&lt;/P&gt;

&lt;P&gt;By the way. the above filterings are not working. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;can any one please help me with that?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:43:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Need-Help-in-filtering-data-ad-ingest-few-of-the-data/m-p/466228#M80337</guid>
      <dc:creator>satyaallaparthi</dc:creator>
      <dc:date>2020-09-30T02:43:35Z</dc:date>
    </item>
  </channel>
</rss>

