<?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: nullQueue question - Palo Logs in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-question-Palo-Logs/m-p/574821#M101590</link>
    <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240583"&gt;@danielfurtaw&lt;/a&gt;&amp;nbsp;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Nullqueue entry in transforms.conf looks fine.&lt;BR /&gt;&lt;BR /&gt;As far as I know, entry for TRANSFORMS- in the props.conf only matters. It executes from &lt;STRONG&gt;Right to Left.&lt;BR /&gt;&lt;/STRONG&gt;Order does not matter&amp;nbsp;in the transforms.conf file.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;i.e. &lt;/STRONG&gt;From the below entries, first&lt;STRONG&gt; pan_decryption&lt;/STRONG&gt; is executed, then&lt;STRONG&gt;&amp;nbsp;pan_globalprotect&lt;/STRONG&gt; and so on.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;TRANSFORMS-sourcetype = pan_threat, pan_traffic, pan_system, pan_config, pan_hipmatch, pan_correlation, pan_userid, pan_globalprotect, pan_decryption&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;So if you have the regexes ready for all the below transform segments..&amp;nbsp; you need to place&amp;nbsp;&lt;STRONG&gt;pan_discard &lt;/STRONG&gt;in the first.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;TRANSFORMS-sourcetype = &lt;FONT color="#0000FF"&gt;pan_discard&amp;nbsp;&lt;/FONT&gt;,pan_threat, pan_traffic, pan_system, pan_config, pan_hipmatch, pan_correlation, pan_userid, pan_globalprotect, pan_decryption&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;So after all the regexes are executed, &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;pan_discard &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;comes into picture and&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;the remaining logs will be sent to nullQueue.&lt;BR /&gt;&lt;BR /&gt;Try the above and let me know . If its helps, please give an upvote &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;Happy Splunking &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 13 Nov 2021 14:36:19 GMT</pubDate>
    <dc:creator>bhargavi</dc:creator>
    <dc:date>2021-11-13T14:36:19Z</dc:date>
    <item>
      <title>nullQueue question - Palo Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-question-Palo-Logs/m-p/574424#M101546</link>
      <description>&lt;P&gt;Hi Splunk folks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My team is seeing a pesky issue with Palo Alto logs where a small subset are not being sourcetyped into pan:traffic/threat, etc. As the pan:log is the default, we have a few logs that keep this sourcetype. We have attempted to regex and nullQueue out the remainder of the pan:log logs, but no success. When we implement this TRANSFORMS/Props.conf entry, we place it at the end as we understood the order followed a left to right priority.&lt;/P&gt;&lt;P&gt;Example of a log that is being sourcetyped as "pan:log", and we would want to drop. It seems as if this is fragmented from Syslog, but nonetheless, junk to us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;000-1823048e98&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,&lt;/SPAN&gt;&lt;SPAN class=""&gt;2021-11-10T10:04:03.905&lt;/SPAN&gt;&lt;SPAN&gt;+&lt;/SPAN&gt;&lt;SPAN class=""&gt;00:00&lt;/SPAN&gt;&lt;SPAN&gt;,,,&lt;/SPAN&gt;&lt;SPAN class=""&gt;infrastructure&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;networking&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;network-protocol&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;3&lt;/SPAN&gt;&lt;SPAN&gt;,"&lt;/SPAN&gt;&lt;SPAN class=""&gt;used-by-malware&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;has-known-vulnerability&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;pervasive-use&lt;/SPAN&gt;&lt;SPAN&gt;",,&lt;/SPAN&gt;&lt;SPAN class=""&gt;dns&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;no&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN class=""&gt;no&lt;/SPAN&gt;&lt;SPAN&gt;,0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Palo Alto props.conf:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[pan_log]&lt;BR /&gt;pulldown_type = false&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;TIME_PREFIX = ^(?:[^,]*,){5}&lt;BR /&gt;MAX_TIMESTAMP_LOOKAHEAD = 100&lt;BR /&gt;TRANSFORMS-sourcetype = pan_threat, pan_traffic, pan_system, pan_config, pan_hipmatch, pan_correlation, pan_userid, pan_globalprotect, pan_decryption&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We added a new nullQueue entry into the transforms.conf and then inserted the pan_discard after the last entry in the transforms above.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[pan_discard]&lt;BR /&gt;REGEX = .&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Nov 2021 15:08:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-question-Palo-Logs/m-p/574424#M101546</guid>
      <dc:creator>danielfurtaw</dc:creator>
      <dc:date>2021-11-10T15:08:27Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue question - Palo Logs</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-question-Palo-Logs/m-p/574821#M101590</link>
      <description>&lt;P&gt;&lt;FONT color="#000000"&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/240583"&gt;@danielfurtaw&lt;/a&gt;&amp;nbsp;,&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;Nullqueue entry in transforms.conf looks fine.&lt;BR /&gt;&lt;BR /&gt;As far as I know, entry for TRANSFORMS- in the props.conf only matters. It executes from &lt;STRONG&gt;Right to Left.&lt;BR /&gt;&lt;/STRONG&gt;Order does not matter&amp;nbsp;in the transforms.conf file.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;i.e. &lt;/STRONG&gt;From the below entries, first&lt;STRONG&gt; pan_decryption&lt;/STRONG&gt; is executed, then&lt;STRONG&gt;&amp;nbsp;pan_globalprotect&lt;/STRONG&gt; and so on.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#000000"&gt;TRANSFORMS-sourcetype = pan_threat, pan_traffic, pan_system, pan_config, pan_hipmatch, pan_correlation, pan_userid, pan_globalprotect, pan_decryption&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;So if you have the regexes ready for all the below transform segments..&amp;nbsp; you need to place&amp;nbsp;&lt;STRONG&gt;pan_discard &lt;/STRONG&gt;in the first.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;TRANSFORMS-sourcetype = &lt;FONT color="#0000FF"&gt;pan_discard&amp;nbsp;&lt;/FONT&gt;,pan_threat, pan_traffic, pan_system, pan_config, pan_hipmatch, pan_correlation, pan_userid, pan_globalprotect, pan_decryption&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;So after all the regexes are executed, &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;pan_discard &lt;/STRONG&gt;&lt;FONT color="#000000"&gt;comes into picture and&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;the remaining logs will be sent to nullQueue.&lt;BR /&gt;&lt;BR /&gt;Try the above and let me know . If its helps, please give an upvote &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#008000"&gt;Happy Splunking &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Nov 2021 14:36:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-question-Palo-Logs/m-p/574821#M101590</guid>
      <dc:creator>bhargavi</dc:creator>
      <dc:date>2021-11-13T14:36:19Z</dc:date>
    </item>
  </channel>
</rss>

