<?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: Route and filter data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/592081#M103648</link>
    <description>&lt;P&gt;Ok, let me rephrase the &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt; 's answer a little.&lt;/P&gt;&lt;P&gt;Routing and filtering is something that is a part of index-time event processing and it happens on the first "heavy" (non-UF) splunk component in event's path. So if you send straight from UF's to indexers, it's gonna happen on indexers. If you have HF's in front of indexers you'd do it on HF's but if you don't, do it on indexers because they are the first "full" or "heavy" component.&lt;/P&gt;&lt;P&gt;What you should do is create a props and transforms settings according to &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.5/Forwarding/Routeandfilterdatad" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.5/Forwarding/Routeandfilterdatad&lt;/A&gt; pack it into an app and push to your indexers as you'd do with any other app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 03 Apr 2022 11:46:30 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2022-04-03T11:46:30Z</dc:date>
    <item>
      <title>Is it possible to filter specific field values in indexers without HeavyForwarder in indexer cluster ?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/592074#M103643</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Is it possible to filter specific field values in indexers without HeavyForwarder in &lt;SPAN&gt;indexer&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;cluster&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Apr 2022 14:42:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/592074#M103643</guid>
      <dc:creator>khanlarloo</dc:creator>
      <dc:date>2022-04-04T14:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Route and filter data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/592075#M103644</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/44624"&gt;@khanlarloo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;filtering is possible only on Indexers (also clustered) or (when present) on Heavy Forwarders, it isn't possible (except Wineventlogs) on Universal Forwarders. you have to filter data on the first full Splunk instance the data encounter&lt;/P&gt;&lt;P&gt;In other words: if you have HFs in your architecture you have to filter data on HFs, otherwise on Indexers, it isn't possible to filer data on Indexers when you also have HFs.&lt;/P&gt;&lt;P&gt;But you want to filter the full events or a part of them?&lt;/P&gt;&lt;P&gt;If full events, you can see&amp;nbsp;how to do it at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.5/Forwarding/Routeandfilterdatad" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.5/Forwarding/Routeandfilterdatad&lt;/A&gt;&lt;/P&gt;&lt;P&gt;if a part of them, you can see&amp;nbsp; how to do it at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.5/Data/Anonymizedata" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.5/Data/Anonymizedata&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sun, 03 Apr 2022 10:02:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/592075#M103644</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-03T10:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: Route and filter data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/592076#M103645</link>
      <description>&lt;P&gt;Thank You for answering my question, Then How should I configure the output.conf?&lt;/P&gt;&lt;P&gt;we have 60 indexer, and 5 Sh, and 500 UF with CM&lt;/P&gt;</description>
      <pubDate>Sun, 03 Apr 2022 10:32:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/592076#M103645</guid>
      <dc:creator>khanlarloo</dc:creator>
      <dc:date>2022-04-03T10:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: Route and filter data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/592077#M103646</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/44624"&gt;@khanlarloo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;outputs.conf&amp;nbsp;isn't useful in&amp;nbsp;events filtering, but&amp;nbsp;it's useful only to configure your UFs to send logs to Indexers.&lt;/P&gt;&lt;P&gt;To filter events, you have to configure props.conf and transforms.conf on you Indexers, as described in the above links.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Apr 2022 10:47:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/592077#M103646</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-03T10:47:07Z</dc:date>
    </item>
    <item>
      <title>Re: Route and filter data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/592081#M103648</link>
      <description>&lt;P&gt;Ok, let me rephrase the &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt; 's answer a little.&lt;/P&gt;&lt;P&gt;Routing and filtering is something that is a part of index-time event processing and it happens on the first "heavy" (non-UF) splunk component in event's path. So if you send straight from UF's to indexers, it's gonna happen on indexers. If you have HF's in front of indexers you'd do it on HF's but if you don't, do it on indexers because they are the first "full" or "heavy" component.&lt;/P&gt;&lt;P&gt;What you should do is create a props and transforms settings according to &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.5/Forwarding/Routeandfilterdatad" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.5/Forwarding/Routeandfilterdatad&lt;/A&gt; pack it into an app and push to your indexers as you'd do with any other app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Apr 2022 11:46:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/592081#M103648</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-04-03T11:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Route and filter data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/593235#M103819</link>
      <description>&lt;P&gt;It doesn't work.&lt;/P&gt;&lt;P&gt;my props.conf&lt;/P&gt;&lt;P&gt;[XmlWinEventLog:Microsoft-Windows-PowerShell/Operational]&lt;BR /&gt;TRANSFORMS-null= ConfigSync-win&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;[ConfigSync-win]&lt;BR /&gt;REGEX = Path=\"C:\\Program Files\\Citrix\\ConfigSync\\ConfigSync\.ps1\"&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 06:43:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/593235#M103819</guid>
      <dc:creator>khanlarloo</dc:creator>
      <dc:date>2022-04-11T06:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Route and filter data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/593242#M103820</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/44624"&gt;@khanlarloo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;are you sure that "&lt;SPAN&gt;XmlWinEventLog:Microsoft-Windows-PowerShell/Operational" is the sourcetype of your flow?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;did you checked the regex&amp;nbsp; in transforms.conf?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then, where do you located props.conf and transforms.conf?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;they must be located on Indexers or (when present) on Heavy Forwarders.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ciao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 06:56:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/593242#M103820</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-11T06:56:29Z</dc:date>
    </item>
    <item>
      <title>Re: Route and filter data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/593255#M103821</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;XmlWinEventLog:Microsoft-Windows-PowerShell/Operational"&amp;nbsp; is source,&amp;nbsp; ilocated transforms.conf&amp;nbsp; and props.con in indexeres under&amp;nbsp;/$SPLUNK_HOME$/etc/slave-apps/_cluster/local&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 07:37:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/593255#M103821</guid>
      <dc:creator>khanlarloo</dc:creator>
      <dc:date>2022-04-11T07:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Route and filter data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/593257#M103822</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/44624"&gt;@khanlarloo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;in this case, the room name must be:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[source::XmlWinEventLog:Microsoft-Windows-PowerShell/Operational]&lt;/LI-CODE&gt;&lt;P&gt;if you don't use source or host, the name is always the sourcetype.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 07:41:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/593257#M103822</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-11T07:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Route and filter data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/593259#M103823</link>
      <description>&lt;P&gt;my raw log is :&lt;/P&gt;&lt;P&gt;&amp;lt;/Data&amp;gt;&amp;lt;Data Name='ScriptBlockId'&amp;gt;dd493fb0-9281-4197-a347-a7afaeea3632&amp;lt;/Data&amp;gt;&amp;lt;Data Name='Path'&amp;gt;C:\Program Files\Citrix\ConfigSync\ConfigSync.ps1&amp;lt;/Data&amp;gt;&amp;lt;/EventData&amp;gt;&amp;lt;/Event&amp;gt;&lt;/P&gt;&lt;P&gt;and i want to filter this part "C:\Program Files\Citrix\ConfigSync\ConfigSync.ps1"&lt;/P&gt;&lt;P&gt;can you tell me what is the regex for it?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 10:29:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/593259#M103823</guid>
      <dc:creator>khanlarloo</dc:creator>
      <dc:date>2022-04-11T10:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: Route and filter data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/593288#M103827</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/44624"&gt;@khanlarloo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;this is your regex&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;C:\\Program Files\\Citrix\\ConfigSync\\ConfigSync\.ps1\&amp;lt;&lt;/LI-CODE&gt;&lt;P&gt;that you can test at&amp;nbsp;&lt;A href="https://regex101.com/r/loRC2Y/1" target="_blank"&gt;https://regex101.com/r/loRC2Y/1&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 11:39:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/593288#M103827</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-04-11T11:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Route and filter data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/593292#M103828</link>
      <description>&lt;P&gt;Wait, wait, wait...&lt;/P&gt;&lt;P&gt;Your raw data is like this:&lt;/P&gt;&lt;PRE&gt;&amp;lt;Data Name='Path'&amp;gt;C:\Program Files\Citrix\ConfigSync\ConfigSync.ps1&amp;lt;/Data&amp;gt;&lt;/PRE&gt;&lt;P&gt;and your regex is&lt;/P&gt;&lt;PRE&gt;Path=\"C:\\Program Files\\Citrix\\ConfigSync\\ConfigSync\.ps1\"&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;You don't have string fitting that regex in your event. You're trying to do some form of field value matching which will not work instead of regex match.&lt;/P&gt;&lt;P&gt;Try something like&lt;/P&gt;&lt;PRE&gt;'Path'&amp;gt;C:\\Program Files\\Citrix\\ConfigSync\\ConfigSync.ps1&amp;lt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;As &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt; said - use &lt;A href="https://regex101.com" target="_blank"&gt;https://regex101.com&lt;/A&gt; to verify your regex against your data&lt;/P&gt;</description>
      <pubDate>Mon, 11 Apr 2022 11:47:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/593292#M103828</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-04-11T11:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Route and filter data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/598224#M104366</link>
      <description>&lt;P&gt;i do it, but i still recieve this log.&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;[setnull]&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;BR /&gt;REGEX = (?i)C:\\Program Files\\Citrix\\ConfigSync\\ConfigSync\.ps1&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;P&gt;[source::XmlWinEventLog:Microsoft-Windows-PowerShell/Operational]&lt;BR /&gt;TRANSFORMS-null= setnull&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 05:26:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/598224#M104366</guid>
      <dc:creator>khanlarloo</dc:creator>
      <dc:date>2022-05-18T05:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Route and filter data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/598235#M104368</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/44624"&gt;@khanlarloo&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;as I said, only for winevenlogs, you could filter events on Universal Forwarders, for more infos see at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.6/Admin/Inputsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.6/Admin/Inputsconf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in few words, you have to add to the inputs.conf stanza:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;blacklist = (?i)C:\\Program Files\\Citrix\\ConfigSync\\ConfigSync\.ps1&lt;/LI-CODE&gt;&lt;P&gt;anyway, are you sure that there isn't any Heavy Forwarder between Universal Forwarder and Indexers?&lt;/P&gt;&lt;P&gt;Then try to use an easier regex like:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ConfigSync\.ps1&lt;/LI-CODE&gt;&lt;P&gt;you can test it in regex101.com or in a Splunk search to check if the regex checks your events (using the regex command):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=your_index source=XmlWinEventLog:Microsoft-Windows-PowerShell/Operational
| regex "(?i)C:\\Program Files\\Citrix\\ConfigSync\\ConfigSync\.ps1"&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 06:37:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/598235#M104368</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-05-18T06:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Route and filter data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/598242#M104371</link>
      <description>&lt;P&gt;It's probably due to the order of precedence of stanzas and the fact that the events incoming from the UF do not have the source set as you want it.&lt;/P&gt;&lt;P&gt;The source file is being rewritten using transforms within the TA_windows app and you're trying to match the _resulting_ source. It won't match this way since splunk decides before applying transforms which stanzas are relevant for given event (as a result you can't - for example - create a loop with source rewrites; I tried :D)&lt;/P&gt;</description>
      <pubDate>Wed, 18 May 2022 06:49:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-it-possible-to-filter-specific-field-values-in-indexers/m-p/598242#M104371</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-05-18T06:49:26Z</dc:date>
    </item>
  </channel>
</rss>

