<?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: Discarding Certain Events in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Discarding-Certain-Events/m-p/708272#M10659</link>
    <description>&lt;P&gt;The&amp;nbsp;&lt;FONT face="courier new,courier"&gt;queue = nullQueue&lt;/FONT&gt; setting is not valid in props.conf.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make sure the host and source names match that of the incoming data.&amp;nbsp; Consider adding a sourcetype stanza for the data.&lt;/P&gt;&lt;P&gt;The stanzas belong in the first full instance of Splunk that processes the data (indexers and HFs).&amp;nbsp; Put them in the default directory of a custom app.&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jan 2025 16:46:26 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2025-01-08T16:46:26Z</dc:date>
    <item>
      <title>Discarding Certain Events</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Discarding-Certain-Events/m-p/708270#M10657</link>
      <description>&lt;P&gt;Hello All!&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to discard a certain event before the Indexers Ingest it using keyword envoy. Below is an example&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;timestamp vcenter envoy-access 2024-12-29T23:53:56.632Z info envoy[139855859431232] [Originator@6876 sub=Default] 2024-12-29T23:53:50.392Z POST /sdk HTTP/1.1 200 via_upstream &lt;/LI-CODE&gt;
&lt;P&gt;&lt;SPAN&gt;I tried creating props and transforms conf in&amp;nbsp;&amp;nbsp;$SPLUNK_HOME/etc/system/local but it's not working. My questions are if my stanzas are correct and if I should put them in local directory? Appreciate any assistance you can provide, Thank you.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Props.conf

[nullQueue]

queue = nullQueue

[host::vcenter]

TRANSFORMS-null = setnull

[source::/var/log/remote/catchall/(IPAddress of Vcenter)/*.log]

TRANSFORMS-null = setnull

transforms.conf

[setnull]

REGEX = envoy

DEST_KEY = queue

FORMAT = nullQueue&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 08 Jan 2025 17:27:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Discarding-Certain-Events/m-p/708270#M10657</guid>
      <dc:creator>Gorwinn</dc:creator>
      <dc:date>2025-01-08T17:27:41Z</dc:date>
    </item>
    <item>
      <title>Re: Discarding Certain Events</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Discarding-Certain-Events/m-p/708271#M10658</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/275390"&gt;@Gorwinn&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;let me understand, you want to take all the exents except the ones containing the word "envoy", is it correct?&lt;/P&gt;&lt;P&gt;at first, how are you taking these logs?&lt;/P&gt;&lt;P&gt;if using an Heavy Forwarder, you have to put the props.conf and transforms.conf on the first Splunk Full instance that data pass trhough, in other words on the Heavy Forwarder, if present or on the Indexer.&lt;/P&gt;&lt;P&gt;then, the transformation names must me unique in props.conf:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[host::vcenter]
TRANSFORMS-null = setnull

[source::/var/log/remote/catchall/*/*.log]
TRANSFORMS-null2 = setnull&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;then check the regex using the rex command in Splunk.&lt;/P&gt;&lt;P&gt;Anyway, the issue usually is the location of the conf files (obviously I suppose that you restarted Splunk after conf files modification!).&lt;/P&gt;&lt;P&gt;The documentation is at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.4.0/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.4.0/Forwarding/Routeandfilterdatad#Filter_event_data_and_send_to_queues&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 16:40:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Discarding-Certain-Events/m-p/708271#M10658</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-01-08T16:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Discarding Certain Events</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Discarding-Certain-Events/m-p/708272#M10659</link>
      <description>&lt;P&gt;The&amp;nbsp;&lt;FONT face="courier new,courier"&gt;queue = nullQueue&lt;/FONT&gt; setting is not valid in props.conf.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make sure the host and source names match that of the incoming data.&amp;nbsp; Consider adding a sourcetype stanza for the data.&lt;/P&gt;&lt;P&gt;The stanzas belong in the first full instance of Splunk that processes the data (indexers and HFs).&amp;nbsp; Put them in the default directory of a custom app.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 16:46:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Discarding-Certain-Events/m-p/708272#M10659</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-01-08T16:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Discarding Certain Events</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Discarding-Certain-Events/m-p/708290#M10660</link>
      <description>&lt;P&gt;Yes, I want to take all logs but events with envoy in it. I am only using universal forwarder which I believe cant parse any data like a heavy forwarder. Am I mistaken? I made the transformation names unique and restarted splunk via GUI but still no discards.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 19:10:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Discarding-Certain-Events/m-p/708290#M10660</guid>
      <dc:creator>Gorwinn</dc:creator>
      <dc:date>2025-01-08T19:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Discarding Certain Events</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Discarding-Certain-Events/m-p/708292#M10661</link>
      <description>One old post which do exactly what you are doing.&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Getting-Data-In/sending-specific-events-to-nullqueue-using-props-amp-amp/m-p/660688" target="_blank"&gt;https://community.splunk.com/t5/Getting-Data-In/sending-specific-events-to-nullqueue-using-props-amp-amp/m-p/660688&lt;/A&gt;</description>
      <pubDate>Wed, 08 Jan 2025 20:06:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Discarding-Certain-Events/m-p/708292#M10661</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2025-01-08T20:06:12Z</dc:date>
    </item>
  </channel>
</rss>

