<?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 events while sending data from Heavy Forwarder to Indexer in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Filter-events-while-sending-data-from-Heavy-Forwarder-to-Indexer/m-p/539105#M90318</link>
    <description>&lt;P&gt;&amp;nbsp;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/197211"&gt;@rodneyjerome&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;On your props.conf TRANSFORM is pointing to wrong stanza.&lt;/P&gt;&lt;P&gt;Please try this;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[testing]

TRANSFORMS-routing = conGroup&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 09 Feb 2021 08:20:06 GMT</pubDate>
    <dc:creator>scelikok</dc:creator>
    <dc:date>2021-02-09T08:20:06Z</dc:date>
    <item>
      <title>Filter events while sending data from Heavy Forwarder to Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-events-while-sending-data-from-Heavy-Forwarder-to-Indexer/m-p/539094#M90316</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have an HFW and indexer in my environment. I'm looking to filter certain events from the log source in HFW based on REGEX while indexing in the indexer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please find below the config files. Not sure where I'm going wrong.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[testing]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TRANSFORMS-routing = conGroup&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;inputs.conf&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[monitor:///var/logs]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;disabled = false&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;index = main&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sourcetype =. testing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;host = HFW&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[conGroup]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;REGEX = ^(((?!i-)(?!sample)).)*$&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DEST_KEY=_TCP_ROUTING&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FORMAT=test&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;outputs.conf&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[tcpout]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;defaultGroup = nothing&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[tcpout:test]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;server = X.X.X.X:9997&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any help will be. much appreciated. Thanks in advance&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Feb 2021 08:55:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-events-while-sending-data-from-Heavy-Forwarder-to-Indexer/m-p/539094#M90316</guid>
      <dc:creator>rodneyjerome</dc:creator>
      <dc:date>2021-02-09T08:55:00Z</dc:date>
    </item>
    <item>
      <title>Re: Filter events while sending data from Heavy Forwarder to Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-events-while-sending-data-from-Heavy-Forwarder-to-Indexer/m-p/539105#M90318</link>
      <description>&lt;P&gt;&amp;nbsp;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/197211"&gt;@rodneyjerome&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;On your props.conf TRANSFORM is pointing to wrong stanza.&lt;/P&gt;&lt;P&gt;Please try this;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[testing]

TRANSFORMS-routing = conGroup&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 09 Feb 2021 08:20:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-events-while-sending-data-from-Heavy-Forwarder-to-Indexer/m-p/539105#M90318</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-02-09T08:20:06Z</dc:date>
    </item>
    <item>
      <title>Re: Filter events while sending data from Heavy Forwarder to Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-events-while-sending-data-from-Heavy-Forwarder-to-Indexer/m-p/539107#M90319</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/197211"&gt;@rodneyjerome&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;let me understand: do you want to send only a part of logs to Indexers or discard eventd?&lt;/P&gt;&lt;P&gt;Anyway the location of your filters is only the HF, On Indexers arrive already parsed events so it isn't possible filter them.&lt;/P&gt;&lt;P&gt;You can find the way to filter events at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/SplunkCloud/8.1.2012/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues" target="_blank"&gt;https://docs.splunk.com/Documentation/SplunkCloud/8.1.2012/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues&lt;/A&gt;&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>Tue, 09 Feb 2021 08:29:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-events-while-sending-data-from-Heavy-Forwarder-to-Indexer/m-p/539107#M90319</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-02-09T08:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: Filter events while sending data from Heavy Forwarder to Indexer</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-events-while-sending-data-from-Heavy-Forwarder-to-Indexer/m-p/540494#M90500</link>
      <description>&lt;P&gt;Thanks. This worked great!&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 08:26:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-events-while-sending-data-from-Heavy-Forwarder-to-Indexer/m-p/540494#M90500</guid>
      <dc:creator>rodneyjerome</dc:creator>
      <dc:date>2021-02-19T08:26:45Z</dc:date>
    </item>
  </channel>
</rss>

