<?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 Can we use same property names (say &amp;quot;[setnull]&amp;quot;,&amp;quot;[setparsing]&amp;quot;) defining the event data filtering criteria , in two different apps (having different filtering criteria) residing on same server ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-we-use-same-property-names-say-quot-setnull-quot-quot/m-p/372613#M165828</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.I need to filter out certain unwanted events coming from jms queues and send them to the nullQueue. &lt;/P&gt;

&lt;P&gt;We have two applications running on same servers, having different criteria for filtering event data.&lt;/P&gt;

&lt;P&gt;I added below code in HWF in props.conf for one of the apps:&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;Can I use the same names property name i.e., "setnull" , "setparsing" in transforms.conf of the other app and define a new regex there? Will doing so have any impact on filtering?&lt;/P&gt;</description>
    <pubDate>Tue, 03 Oct 2017 06:29:16 GMT</pubDate>
    <dc:creator>jincy_18</dc:creator>
    <dc:date>2017-10-03T06:29:16Z</dc:date>
    <item>
      <title>Can we use same property names (say "[setnull]","[setparsing]") defining the event data filtering criteria , in two different apps (having different filtering criteria) residing on same server ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-we-use-same-property-names-say-quot-setnull-quot-quot/m-p/372613#M165828</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.I need to filter out certain unwanted events coming from jms queues and send them to the nullQueue. &lt;/P&gt;

&lt;P&gt;We have two applications running on same servers, having different criteria for filtering event data.&lt;/P&gt;

&lt;P&gt;I added below code in HWF in props.conf for one of the apps:&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;Can I use the same names property name i.e., "setnull" , "setparsing" in transforms.conf of the other app and define a new regex there? Will doing so have any impact on filtering?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 06:29:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-we-use-same-property-names-say-quot-setnull-quot-quot/m-p/372613#M165828</guid>
      <dc:creator>jincy_18</dc:creator>
      <dc:date>2017-10-03T06:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use same property names (say "[setnull]","[setparsing]") defining the event data filtering criteria , in two different apps (having different filtering criteria) residing on same server ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-we-use-same-property-names-say-quot-setnull-quot-quot/m-p/372614#M165829</link>
      <description>&lt;P&gt;Hi jincy_18,&lt;/P&gt;

&lt;P&gt;No, you should not use the same stanza name even if apps are different. Splunk will not throw any error but as you might already know, your stanza settings will get merged based on priority of Configuration File Precedence which might lead to incorrect filtering. Check this for details:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.3/Admin/Wheretofindtheconfigurationfiles"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.3/Admin/Wheretofindtheconfigurationfiles&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 10:18:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-we-use-same-property-names-say-quot-setnull-quot-quot/m-p/372614#M165829</guid>
      <dc:creator>meenal901</dc:creator>
      <dc:date>2017-10-03T10:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can we use same property names (say "[setnull]","[setparsing]") defining the event data filtering criteria , in two different apps (having different filtering criteria) residing on same server ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-we-use-same-property-names-say-quot-setnull-quot-quot/m-p/372615#M165830</link>
      <description>&lt;P&gt;Thank you meenal, I changed the names and it  works perfectly fine.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2017 10:21:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-we-use-same-property-names-say-quot-setnull-quot-quot/m-p/372615#M165830</guid>
      <dc:creator>jincy_18</dc:creator>
      <dc:date>2017-10-03T10:21:48Z</dc:date>
    </item>
  </channel>
</rss>

