<?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 Null Filtering Not Working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Null-Filtering-Not-Working/m-p/529025#M89151</link>
    <description>&lt;P&gt;Greetings all. I am having some trouble getting syslog data to filter with regards to nullQueue. Below are what my config files look like and some additional troubleshooting I've taken so far.&lt;/P&gt;&lt;P&gt;inputs.conf&lt;/P&gt;&lt;P&gt;[udp://5514]&lt;BR /&gt;connection_host = ip&lt;BR /&gt;index = org_index&lt;BR /&gt;sourcetype = cisco:firepower:syslog&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;P&gt;[source::udp:5514]&lt;BR /&gt;TRANSFORMS-set= setnull,setparsing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;[setnull]&lt;BR /&gt;REGEX = .&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;[setparsing]&lt;BR /&gt;REGEX = \%FTD-\d-(430002|430003)&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = indexQueue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My environment flows Firepower syslog &amp;gt; Heavy Fwd (on prem) &amp;gt; Splunk Cloud and the above configs are on the Heavy Fwd.&lt;/P&gt;&lt;P&gt;In the syslog stream, there are "Correlation Event" logs I am trying to drop. Above I am trying to ingest only message ID's of 430002 and 430003 and drop everything else, however, Correlation Events are still coming in. I've also tried the alternative where I'm targeting Correlation Event in the regex in an effort to drop them, also unsuccessful. Below are some additional troubleshooting steps I've taken.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;reformatting the source as [source::udp://5514] in props.conf&lt;/LI&gt;&lt;LI&gt;removed spaces before and after the equals signs for each attribute&lt;/LI&gt;&lt;LI&gt;removed the line "REGEX = ." in transforms.conf&lt;/LI&gt;&lt;LI&gt;tried the sourcetype in props.conf, so [cisco:firepower:syslog]&lt;/LI&gt;&lt;LI&gt;tried different regex matches, using regex101&lt;/LI&gt;&lt;LI&gt;restarting Heavy Fwd after each change&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Here is the Splunk Doc I've been working with primarily:&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.0/Forwarding/Routeandfilterdatad#Discard_specific_events_and_keep_the_rest" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.1.0/Forwarding/Routeandfilterdatad#Discard_specific_events_and_keep_the_rest&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;</description>
    <pubDate>Wed, 11 Nov 2020 22:04:39 GMT</pubDate>
    <dc:creator>iamDT03</dc:creator>
    <dc:date>2020-11-11T22:04:39Z</dc:date>
    <item>
      <title>Null Filtering Not Working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Null-Filtering-Not-Working/m-p/529025#M89151</link>
      <description>&lt;P&gt;Greetings all. I am having some trouble getting syslog data to filter with regards to nullQueue. Below are what my config files look like and some additional troubleshooting I've taken so far.&lt;/P&gt;&lt;P&gt;inputs.conf&lt;/P&gt;&lt;P&gt;[udp://5514]&lt;BR /&gt;connection_host = ip&lt;BR /&gt;index = org_index&lt;BR /&gt;sourcetype = cisco:firepower:syslog&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;P&gt;[source::udp:5514]&lt;BR /&gt;TRANSFORMS-set= setnull,setparsing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transforms.conf&lt;/P&gt;&lt;P&gt;[setnull]&lt;BR /&gt;REGEX = .&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;[setparsing]&lt;BR /&gt;REGEX = \%FTD-\d-(430002|430003)&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = indexQueue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My environment flows Firepower syslog &amp;gt; Heavy Fwd (on prem) &amp;gt; Splunk Cloud and the above configs are on the Heavy Fwd.&lt;/P&gt;&lt;P&gt;In the syslog stream, there are "Correlation Event" logs I am trying to drop. Above I am trying to ingest only message ID's of 430002 and 430003 and drop everything else, however, Correlation Events are still coming in. I've also tried the alternative where I'm targeting Correlation Event in the regex in an effort to drop them, also unsuccessful. Below are some additional troubleshooting steps I've taken.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;reformatting the source as [source::udp://5514] in props.conf&lt;/LI&gt;&lt;LI&gt;removed spaces before and after the equals signs for each attribute&lt;/LI&gt;&lt;LI&gt;removed the line "REGEX = ." in transforms.conf&lt;/LI&gt;&lt;LI&gt;tried the sourcetype in props.conf, so [cisco:firepower:syslog]&lt;/LI&gt;&lt;LI&gt;tried different regex matches, using regex101&lt;/LI&gt;&lt;LI&gt;restarting Heavy Fwd after each change&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Here is the Splunk Doc I've been working with primarily:&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.1.0/Forwarding/Routeandfilterdatad#Discard_specific_events_and_keep_the_rest" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Documentation/Splunk/8.1.0/Forwarding/Routeandfilterdatad#Discard_specific_events_and_keep_the_rest&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Any help is greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Wed, 11 Nov 2020 22:04:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Null-Filtering-Not-Working/m-p/529025#M89151</guid>
      <dc:creator>iamDT03</dc:creator>
      <dc:date>2020-11-11T22:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Null Filtering Not Working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Null-Filtering-Not-Working/m-p/529069#M89159</link>
      <description>&lt;P&gt;This issue has been resolved. The [setnull] transform stanza name was conflicting with another transform stanza from a separate add-on. Making the following changes to props.conf and transforms.conf remedied the problem.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;#props.conf
[source::udp:5514]
TRANSFORMS-set= dropEvents,setparsing

#transforms.conf
[dropEvents]
REGEX = .
DEST_KEY = queue
FORMAT = nullQueue

[setparsing]
REGEX = \%FTD-\d(430002|430003)
DEST_KEY = queue
FORMAT = indexQueue&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 12 Nov 2020 04:45:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Null-Filtering-Not-Working/m-p/529069#M89159</guid>
      <dc:creator>iamDT03</dc:creator>
      <dc:date>2020-11-12T04:45:29Z</dc:date>
    </item>
  </channel>
</rss>

