<?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: Heavy Forwarder - Filtering Juniper events in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/747048#M118713</link>
    <description>&lt;P&gt;Thank you for the tip about transform names, adding that to my Splunk notes.&lt;BR /&gt;Hoping this filtering is only a temporary solution. I do want to stop the juniper equipment from sending "RT_FLOW_SESSION_CLOSE" logs once our team has more time.&lt;/P&gt;</description>
    <pubDate>Tue, 27 May 2025 22:51:15 GMT</pubDate>
    <dc:creator>braxton839</dc:creator>
    <dc:date>2025-05-27T22:51:15Z</dc:date>
    <item>
      <title>Heavy Forwarder - Filtering Juniper events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/746733#M118663</link>
      <description>&lt;P&gt;Greetings, I have been reading through documentation and responses on here about filtering out specific events at the heavy forwarder (trying to reduce our daily ingest).&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In the local folder for our Splunk_TA_juniper app I have created a props.conf and a transforms.conf and set owner/permissions to match other .conf files.&lt;BR /&gt;&lt;BR /&gt;props.conf:&lt;BR /&gt;# Filter teardown events from Juniper syslogs into the nullqueue&lt;BR /&gt;[juniper:junos:firewall:structured]&lt;BR /&gt;TRANSFORMS-null= setnull&lt;BR /&gt;&lt;BR /&gt;transforms.conf&lt;BR /&gt;# Filter juniper teardown logs to nullqueue&lt;BR /&gt;[setnull]&lt;BR /&gt;REGEX = RT_FLOW_SESSION_CLOSE&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;BR /&gt;&lt;BR /&gt;I restarted the Splunk service... but I'm still getting these events.&lt;/P&gt;&lt;P&gt;Not sure what I did wrong. I pulled some raw event text and tested the regex in PowerShell (worked with -match).&lt;/P&gt;&lt;P&gt;Any help would be greatly appreciated!&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 13:59:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/746733#M118663</guid>
      <dc:creator>braxton839</dc:creator>
      <dc:date>2025-05-22T13:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder - Filtering Juniper events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/746740#M118666</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/310391"&gt;@braxton839&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The config you have looks good, but I think the issue here is that the sourcetype you are referencing (juniper:junos:firewall:structured) is actually being set during the parsing process and therefore wouldnt be picked up by your custom props/transforms. This is overwriting the existing sourcetype by the transform "&lt;SPAN&gt;force_sourcetype_for_junos_firewall_structured".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Instead you could try the following:&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;== props.conf ==
[source::....junos_fw]
TRANSFORMS-null= setnull

[juniper]
TRANSFORMS-null= setnull

== transforms.conf ==
# Filter juniper teardown logs to nullqueue
[setnull]
REGEX = RT_FLOW_SESSION_CLOSE
DEST_KEY = queue
FORMAT = nullQueue&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 15:23:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/746740#M118666</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-05-22T15:23:28Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder - Filtering Juniper events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/746764#M118668</link>
      <description>&lt;P&gt;Thank you for your response!&lt;/P&gt;&lt;P&gt;Unfortunately, that did not work. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 16:40:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/746764#M118668</guid>
      <dc:creator>braxton839</dc:creator>
      <dc:date>2025-05-22T16:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder - Filtering Juniper events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/746781#M118669</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/310391"&gt;@braxton839&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just to check, this is a HF, not a UF right? And doesnt come through another HF before reaching this?&lt;/P&gt;&lt;P&gt;Are you able to confirm what sourcetype the syslog input is set to on this host? Im assuming its "juniper" but if its anything else then the props.conf stanza I supplied would need updating.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 21:36:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/746781#M118669</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-05-22T21:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder - Filtering Juniper events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/746987#M118708</link>
      <description>&lt;P class="lia-align-left"&gt;Yes, this is a Heavy Forwarder (to be specific, 2 Heavy Forwarders). Juniper device events logs are sent directly to these Heavy Forwarders.&lt;BR /&gt;&lt;BR /&gt;According to our inputs.conf file the sourcetype for these events is:&lt;/P&gt;&lt;P class="lia-align-left"&gt;juniper&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 14:27:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/746987#M118708</guid>
      <dc:creator>braxton839</dc:creator>
      <dc:date>2025-05-27T14:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder - Filtering Juniper events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/746993#M118709</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/310391"&gt;@braxton839&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If they are HF then the config should work - you'll need to restart the HFs after deploying.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;== props.conf ==
[juniper]
TRANSFORMS-aSetnull = setnull

== transforms.conf ==
# Filter juniper teardown logs to nullqueue
[setnull]
REGEX = RT_FLOW_SESSION_CLOSE
DEST_KEY = queue
FORMAT = nullQueue&lt;/LI-CODE&gt;&lt;P&gt;If its coming in with the juniper sourcetype then Im not sure why this wouldnt work. Its worth double checking for typos etc. I assume there are no other props/transforms that you have customised which alter the queue value?&lt;/P&gt;&lt;P&gt;Ive updated the TRANSFORMS- suffix on the above from the original to see if ordering makes any difference here, this should change the precedence and be applied before other things like sourcetype renaming.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 15:24:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/746993#M118709</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-05-27T15:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder - Filtering Juniper events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/747036#M118711</link>
      <description>&lt;P&gt;One more thing - try to be more creative with your transform names. A "common" name like "setnull" can easily cause a collision with an identically named transform defined elsewhere.&lt;/P&gt;&lt;P&gt;BTW, why not just _not_ send those events from the JunOS? You'll have both lower CPU load on the box and less work on the receiving end?&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 20:36:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/747036#M118711</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-05-27T20:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder - Filtering Juniper events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/747047#M118712</link>
      <description>&lt;P&gt;Thank you so much!&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 22:48:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/747047#M118712</guid>
      <dc:creator>braxton839</dc:creator>
      <dc:date>2025-05-27T22:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Heavy Forwarder - Filtering Juniper events</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/747048#M118713</link>
      <description>&lt;P&gt;Thank you for the tip about transform names, adding that to my Splunk notes.&lt;BR /&gt;Hoping this filtering is only a temporary solution. I do want to stop the juniper equipment from sending "RT_FLOW_SESSION_CLOSE" logs once our team has more time.&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 22:51:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Heavy-Forwarder-Filtering-Juniper-events/m-p/747048#M118713</guid>
      <dc:creator>braxton839</dc:creator>
      <dc:date>2025-05-27T22:51:15Z</dc:date>
    </item>
  </channel>
</rss>

