<?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 Filter events to nullQueue in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Filter-events-to-nullQueue/m-p/681537#M113874</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I am faced with the following problem. I need to filter the logs that I receive from the source. I get the logs via Heavy-Forwarder, using the following config:&lt;/P&gt;&lt;P&gt;inputs.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[udp://4514]
index=mylogs
sourcetype = mylogs:leef&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before writing regex I tried the following configuration:&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[mylogs:leef]
TRANSFORMS-null= setnull_mylogs&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transoforms.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[setnull_mylogs]
REGEX= .
DEST_KEY=queue
FORMAT=nullQueue&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it is not working, I still receiving all events in indexes. This conf files store in &amp;lt;heavy_folder&amp;gt;/etc/apps/&amp;lt;app_name&amp;gt;/local.&amp;nbsp; May be I need to use another stanza name in props, but I tried [source::udp://4514] and it is not working. Any ideas? My goal than to write a few regex and receive only useful logs from this source. Thank you.&lt;/P&gt;</description>
    <pubDate>Thu, 21 Mar 2024 12:14:06 GMT</pubDate>
    <dc:creator>ivan123357</dc:creator>
    <dc:date>2024-03-21T12:14:06Z</dc:date>
    <item>
      <title>Filter events to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-events-to-nullQueue/m-p/681537#M113874</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I am faced with the following problem. I need to filter the logs that I receive from the source. I get the logs via Heavy-Forwarder, using the following config:&lt;/P&gt;&lt;P&gt;inputs.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[udp://4514]
index=mylogs
sourcetype = mylogs:leef&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Before writing regex I tried the following configuration:&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[mylogs:leef]
TRANSFORMS-null= setnull_mylogs&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;transoforms.conf&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[setnull_mylogs]
REGEX= .
DEST_KEY=queue
FORMAT=nullQueue&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it is not working, I still receiving all events in indexes. This conf files store in &amp;lt;heavy_folder&amp;gt;/etc/apps/&amp;lt;app_name&amp;gt;/local.&amp;nbsp; May be I need to use another stanza name in props, but I tried [source::udp://4514] and it is not working. Any ideas? My goal than to write a few regex and receive only useful logs from this source. Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 12:14:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-events-to-nullQueue/m-p/681537#M113874</guid>
      <dc:creator>ivan123357</dc:creator>
      <dc:date>2024-03-21T12:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Filter events to nullQueue</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Filter-events-to-nullQueue/m-p/681600#M113889</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Probably you missed :port part from your input? Without : it doesn’t parse that input correctly. You could see e.g.&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/udp-portnumber-Event-Blacklist-How-do-I-prevent-unwanted-data/m-p/613039" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Getting-Data-In/udp-portnumber-Event-Blacklist-How-do-I-prevent-unwanted-data/m-p/613039&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You have typo on transforms.conf name on your examples, but probably it’s correct on your HF? And you have restarted it after modify those configurations?&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2024 17:52:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Filter-events-to-nullQueue/m-p/681600#M113889</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2024-03-22T17:52:24Z</dc:date>
    </item>
  </channel>
</rss>

