<?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: Event data filtering working in one environment but not in other. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Event-data-filtering-working-in-one-environment-but-not-in-other/m-p/369591#M67071</link>
    <description>&lt;P&gt;Thanks hortonew , suggestions were very useful.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Oct 2017 07:09:09 GMT</pubDate>
    <dc:creator>jincy_18</dc:creator>
    <dc:date>2017-10-03T07:09:09Z</dc:date>
    <item>
      <title>Event data filtering working in one environment but not in other.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-data-filtering-working-in-one-environment-but-not-in-other/m-p/369589#M67069</link>
      <description>&lt;P&gt;I have two clustered environments consisting of 3 SH,3 Indexers and 1 HWF each running on Splunk 6.4.1.&lt;BR /&gt;
I need to filter out certain unwanted events coming from jms queues and send them to the nullQueue.&lt;/P&gt;

&lt;P&gt;I added below code in HWF in props.conf:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[my_sourcetype]
TRANSFORMS-set= setnull,setparsing
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and this in transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[setnull]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue

[setparsing]
REGEX = (?&amp;lt;=mbody=.{51}TQ-123|mbody=.{51}TQ-145)
DEST_KEY = queue
FORMAT = indexQueue
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is working perfectly in one cluster environment but not working in another cluster environment . Since the conf files are the same and so is the version  of the splunk forwarders ,indexers and servers, why does filtering fails on the 2nd environment.&lt;/P&gt;

&lt;P&gt;Any suggestion as to how to debug this?  Or what might be the reason for this?&lt;/P&gt;

&lt;P&gt;Thanks !&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 13:36:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-data-filtering-working-in-one-environment-but-not-in-other/m-p/369589#M67069</guid>
      <dc:creator>jincy_18</dc:creator>
      <dc:date>2017-09-29T13:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Event data filtering working in one environment but not in other.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-data-filtering-working-in-one-environment-but-not-in-other/m-p/369590#M67070</link>
      <description>&lt;P&gt;Assuming you've restarted splunk on your HWF in the non-working environment:&lt;BR /&gt;&lt;BR /&gt;
1. make sure you have permissions set the same in metadata folder&lt;BR /&gt;
2. compare btool entries&lt;/P&gt;

&lt;P&gt;Go to each and run:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;splunk cmd btool props list --debug&lt;/CODE&gt;&lt;BR /&gt;
&lt;CODE&gt;splunk cmd btool transforms list --debug&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;First find the entry in props and make sure that sourcetype has your transforms applied.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Sep 2017 14:02:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-data-filtering-working-in-one-environment-but-not-in-other/m-p/369590#M67070</guid>
      <dc:creator>hortonew</dc:creator>
      <dc:date>2017-09-29T14:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Event data filtering working in one environment but not in other.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-data-filtering-working-in-one-environment-but-not-in-other/m-p/369591#M67071</link>
      <description>&lt;P&gt;Thanks hortonew , suggestions were very useful.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 07:09:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-data-filtering-working-in-one-environment-but-not-in-other/m-p/369591#M67071</guid>
      <dc:creator>jincy_18</dc:creator>
      <dc:date>2017-10-03T07:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Event data filtering working in one environment but not in other.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Event-data-filtering-working-in-one-environment-but-not-in-other/m-p/369592#M67072</link>
      <description>&lt;P&gt;Hey @jincy_18, if @jortonew's response solved your problem, please accept the answer to award karma points and to close the question. Happy Splunking!&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 21:55:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Event-data-filtering-working-in-one-environment-but-not-in-other/m-p/369592#M67072</guid>
      <dc:creator>lfedak_splunk</dc:creator>
      <dc:date>2017-10-03T21:55:51Z</dc:date>
    </item>
  </channel>
</rss>

