<?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 not working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/562960#M100302</link>
    <description>&lt;P&gt;Have you tested your regular expression against your data samples in regex101.com?&lt;/P&gt;&lt;P&gt;BTW, btool does NOT show whether a props or transforms rule matches anything.&amp;nbsp; It merely displays the current on-disk configuration.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Aug 2021 16:41:43 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2021-08-11T16:41:43Z</dc:date>
    <item>
      <title>nullQueue not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/562943#M100300</link>
      <description>&lt;P&gt;Here is my setup.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;inputs.conf:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[script://./bin/lsof.sh]&lt;BR /&gt;interval = 600&lt;BR /&gt;sourcetype = lsof&lt;BR /&gt;source = lsof&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;props.conf:&lt;/STRONG&gt;&lt;BR /&gt;[script://./bin/lsof.sh]&lt;/P&gt;&lt;P&gt;#also tried[lsof] &amp;amp; [source::lsof]&lt;/P&gt;&lt;P&gt;TRANSFORMS-null = null_splunk_user, null_splunk_command, null_splunk, lsof_normal_queue&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;transforms.conf:&lt;/STRONG&gt;&lt;BR /&gt;[null_splunk_user]&lt;BR /&gt;REGEX = ^\S+\W+\d+\W+splunk\W+&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;[null_splunk_command]&lt;BR /&gt;REGEX = ^splunkd\W+\d+\W+splunk&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;[null_splunk]&lt;BR /&gt;REGEX = ^splunkd&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;[lsof_normal_queue]&lt;BR /&gt;REGEX = .&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = indexQueue&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sample of data:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;splunkd 52507 splunk cwd DIR 202,1 4096 2 /&lt;BR /&gt;splunkd 52507 splunk rtd DIR 202,1 4096 2 /&lt;BR /&gt;splunkd 52507 splunk txt REG 202,1 76073192 409182 /opt/splunk/bin/splunkd&lt;/P&gt;&lt;P&gt;python2.7 53347 splunk cwd DIR 202,1 4096 2 /&lt;BR /&gt;splunk 53347 splunk rtd DIR 202,1 4096 2 /&lt;BR /&gt;splunk 53347 splunk txt REG 202,1 577688 411002 /opt/splunk/bin/splunk&lt;/P&gt;&lt;P&gt;splunkd 887 root cwd DIR 259,1 4096 2 /&lt;BR /&gt;splunkd 887 root rtd DIR 259,1 4096 2 /&lt;BR /&gt;splunkd 887 root txt REG 259,1 76073192 401488 /opt/splunk/bin/splunkd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On the indexer you can see that the props &amp;amp; transforms rules:&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk cmd btool &lt;STRONG&gt;props&lt;/STRONG&gt; list --debug | grep lsof&lt;BR /&gt;/opt/splunk/etc/slave-apps/Splunk_TA_nix/local/props.conf [lsof]&lt;/P&gt;&lt;P&gt;/opt/splunk/bin/splunk cmd btool &lt;STRONG&gt;transforms&lt;/STRONG&gt; list --debug | grep null_splunk&lt;BR /&gt;/opt/splunk/etc/slave-apps/Splunk_TA_nix/local/transforms.conf [null_splunk]&lt;BR /&gt;/opt/splunk/etc/slave-apps/Splunk_TA_nix/local/transforms.conf [null_splunk_command]&lt;BR /&gt;/opt/splunk/etc/slave-apps/Splunk_TA_nix/local/transforms.conf [null_splunk_user]&lt;/P&gt;&lt;P&gt;/opt/splunk/etc/slave-apps/Splunk_TA_nix/local/transforms.conf [lsof_normal_queue]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've tried multiple iterations of regexes/props/transforms. I've been restarting the index clusters after each update to no avail. The majority&amp;nbsp; of the data I'm attempting to drop is on the indexers themselves, splunk monitoring splunk.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 12:56:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/562943#M100300</guid>
      <dc:creator>wgawhh5hbnht</dc:creator>
      <dc:date>2021-08-13T12:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/562960#M100302</link>
      <description>&lt;P&gt;Have you tested your regular expression against your data samples in regex101.com?&lt;/P&gt;&lt;P&gt;BTW, btool does NOT show whether a props or transforms rule matches anything.&amp;nbsp; It merely displays the current on-disk configuration.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 16:41:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/562960#M100302</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-08-11T16:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/562965#M100303</link>
      <description>&lt;P&gt;Yup, here's all three of them together:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="wgawhh5hbnht_0-1628702535613.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/15535i6F63594AB3748FFC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="wgawhh5hbnht_0-1628702535613.png" alt="wgawhh5hbnht_0-1628702535613.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 17:22:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/562965#M100303</guid>
      <dc:creator>wgawhh5hbnht</dc:creator>
      <dc:date>2021-08-11T17:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/562973#M100304</link>
      <description>&lt;P&gt;It's interesting that line 2 looks like it should match, but isn't flagged as a match.&lt;/P&gt;&lt;P&gt;Does the data pass through a heavy forwarder?&amp;nbsp; If so, then the props and transforms must be installed there.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 18:35:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/562973#M100304</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-08-11T18:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/562974#M100305</link>
      <description>&lt;P&gt;Nope, this is data from the indexers being sent to the indexers.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 18:47:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/562974#M100305</guid>
      <dc:creator>wgawhh5hbnht</dc:creator>
      <dc:date>2021-08-11T18:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/562980#M100306</link>
      <description>&lt;P&gt;I'm not sure what you mean by "&lt;SPAN&gt;from the indexers being sent to the indexers".&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 19:14:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/562980#M100306</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-08-11T19:14:10Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/562981#M100307</link>
      <description>&lt;P&gt;the data is from the indexer cluster and it is being set to that same index cluster.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 19:21:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/562981#M100307</guid>
      <dc:creator>wgawhh5hbnht</dc:creator>
      <dc:date>2021-08-11T19:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/562987#M100309</link>
      <description>&lt;P&gt;I understand the words, but not the concept.&amp;nbsp; Why is data being sent from an indexer cluster back into itself?&amp;nbsp; What problem does that solve?&lt;/P&gt;&lt;P&gt;If this is "cooked" data then that would explain why nullQueue is not working.&amp;nbsp; The data's been processed so Splunk won't process it again.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 20:21:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/562987#M100309</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-08-11T20:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/563056#M100324</link>
      <description>&lt;P&gt;Regulations require that we monitor and alert on all activity on our splunk environment, including the indexers. Since we run splunk on linux, Splunk_TA_nix was the solution we came up with. We're getting the data in but now unfortunately we're over our license. I'm attempting to drop some events (noise) just to get us down below our license.&lt;/P&gt;&lt;P&gt;I'm not finding anything on how to filter cooked data, or for that fact why the data is cooked on the indexer. Maybe you could help me out and to make sure we're on the same page.&lt;/P&gt;&lt;P&gt;The inputs.conf is on splunkindexer01, as well as the props.conf and the transforms.conf. Shouldn't the data that is being ingested on&amp;nbsp;splunkindexer01 go through the normal filtering process before it is sent to the index cluster? All the other props and transforms are working, why not the nullQueue?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 11:31:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/563056#M100324</guid>
      <dc:creator>wgawhh5hbnht</dc:creator>
      <dc:date>2021-08-12T11:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/563065#M100325</link>
      <description>&lt;P&gt;Got it. That sounds like the normal case of Splunk monitoring itself.&amp;nbsp; That's not cooked data, just normal ingest.&lt;/P&gt;&lt;P&gt;IME, props that use nullQueue transforms also have a transform that sends the remaining data to an index.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 12:45:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/563065#M100325</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-08-12T12:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/563082#M100326</link>
      <description>&lt;P&gt;Updated my props and transforms (see below) and restarted splunk service on indexers and still getting events from splunk (user) and splunkd (command).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;props.conf:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[lsof]&lt;BR /&gt;TRANSFORMS-null = lsof_normal_queue, null_splunk_user, null_splunk_command, null_splunk&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;transforms.conf:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;[null_splunk_user]&lt;BR /&gt;REGEX = (?m)^\S+\W+\d+\W+splunk\W+&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;[null_splunk_command]&lt;BR /&gt;REGEX = (?m)^splunkd\W+\d+\W+splunk&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;[null_splunk]&lt;BR /&gt;REGEX = (?m)^splunkd&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;[lsof_normal_queue]&lt;BR /&gt;REGEX = .&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = indexQueue&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 14:01:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/563082#M100326</guid>
      <dc:creator>wgawhh5hbnht</dc:creator>
      <dc:date>2021-08-12T14:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/563084#M100327</link>
      <description>&lt;P&gt;Recall that transforms are processed in the order given on the TRANSFORMS line in props.conf.&amp;nbsp; That means lsof_normal_queue runs first, matches everything, and sends it to be indexed.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 14:21:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/563084#M100327</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-08-12T14:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/563091#M100331</link>
      <description>&lt;P&gt;updated props, same outcome.&lt;/P&gt;&lt;P&gt;[lsof]&lt;BR /&gt;TRANSFORMS-null = null_splunk_user, null_splunk_command, null_splunk, lsof_normal_queue&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 15:26:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/563091#M100331</guid>
      <dc:creator>wgawhh5hbnht</dc:creator>
      <dc:date>2021-08-12T15:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/563092#M100332</link>
      <description>&lt;P&gt;Now I'm officially stumped.&amp;nbsp; Sorry.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 15:28:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/563092#M100332</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-08-12T15:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/563141#M100335</link>
      <description>&lt;P&gt;Hİ&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/156786"&gt;@wgawhh5hbnht&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Can you try with below props.conf? Sometimes catching data from sourcetype not working.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[source::lsof]
TRANSFORMS-null = lsof_normal_queue, null_splunk_user, null_splunk_command, null_splunk&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 13 Aug 2021 04:56:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/563141#M100335</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-08-13T04:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: nullQueue not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/563179#M100342</link>
      <description>&lt;P class="lia-align-left"&gt;Neither [source://lsof] nor [script://./bin/lsof.sh] worked either. After pushing the cluster I also did a rolling restart to make sure, still getting both splunk user &amp;amp; splunkd command logs.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 12:58:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/nullQueue-not-working/m-p/563179#M100342</guid>
      <dc:creator>wgawhh5hbnht</dc:creator>
      <dc:date>2021-08-13T12:58:29Z</dc:date>
    </item>
  </channel>
</rss>

