<?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 how to not index some data or send it to null queue in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465858#M131207</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I want to know if there is some mechanism by which i can stop indexing a particular kind of data like if&lt;BR /&gt;
segment_name="Enforced segment"&lt;/P&gt;

&lt;P&gt;From getting indexed. &lt;/P&gt;

&lt;P&gt;My inputs.conf has following entry&lt;/P&gt;

&lt;P&gt;[monitor:///opt/splunk/logs/check/&lt;EM&gt;/&lt;/EM&gt;.log]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
host_segment = 5&lt;BR /&gt;
sourcetype = check_logs&lt;BR /&gt;
index = check&lt;/P&gt;

&lt;P&gt;here i dont want those lines to get indexed if any of the log files has this pattern in it (segment_name="Enforced segment")&lt;/P&gt;

&lt;P&gt;Is it possible ?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 04:51:38 GMT</pubDate>
    <dc:creator>surekhasplunk</dc:creator>
    <dc:date>2020-09-30T04:51:38Z</dc:date>
    <item>
      <title>how to not index some data or send it to null queue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465858#M131207</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I want to know if there is some mechanism by which i can stop indexing a particular kind of data like if&lt;BR /&gt;
segment_name="Enforced segment"&lt;/P&gt;

&lt;P&gt;From getting indexed. &lt;/P&gt;

&lt;P&gt;My inputs.conf has following entry&lt;/P&gt;

&lt;P&gt;[monitor:///opt/splunk/logs/check/&lt;EM&gt;/&lt;/EM&gt;.log]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
host_segment = 5&lt;BR /&gt;
sourcetype = check_logs&lt;BR /&gt;
index = check&lt;/P&gt;

&lt;P&gt;here i dont want those lines to get indexed if any of the log files has this pattern in it (segment_name="Enforced segment")&lt;/P&gt;

&lt;P&gt;Is it possible ?&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:51:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465858#M131207</guid>
      <dc:creator>surekhasplunk</dc:creator>
      <dc:date>2020-09-30T04:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to not index some data or send it to null queue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465859#M131208</link>
      <description>&lt;P&gt;Yes, add these configurations and check:&lt;/P&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[check_logs]
TRANSFORMS-null_queue = data_nullq
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[data_nullq]
DEST_KEY = queue
REGEX = segment_name=\"Enforced segment\"
FORMAT = nullQueue
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Apr 2020 08:56:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465859#M131208</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-04-02T08:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to not index some data or send it to null queue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465860#M131209</link>
      <description>&lt;P&gt;Hi @manjunathmeti ,&lt;/P&gt;

&lt;P&gt;thanks for quick reply&lt;/P&gt;

&lt;P&gt;Only modification i did is i added like below for REGEX &lt;BR /&gt;
REGEX = (segment_name=Enforced segment)&lt;/P&gt;

&lt;P&gt;This will work right ? since i dont have that double quotes just equalto symbol is there.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 09:36:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465860#M131209</guid>
      <dc:creator>surekhasplunk</dc:creator>
      <dc:date>2020-04-02T09:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: how to not index some data or send it to null queue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465861#M131210</link>
      <description>&lt;P&gt;yes, this will work.&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 09:37:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465861#M131210</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-04-02T09:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to not index some data or send it to null queue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465862#M131211</link>
      <description>&lt;P&gt;Thanks @manjunathmeti,&lt;/P&gt;

&lt;P&gt;I have one more query if you are aware how to confirm that those have started going to the nullqueue?&lt;BR /&gt;
where can i check to get an confirmation that they are now going to the null queue&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 09:45:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465862#M131211</guid>
      <dc:creator>surekhasplunk</dc:creator>
      <dc:date>2020-04-02T09:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to not index some data or send it to null queue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465863#M131212</link>
      <description>&lt;P&gt;Check: index=_internal sourcetype=splunkd component=metrics processor=nullqueue group=pipeline&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 09:56:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465863#M131212</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-04-02T09:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: how to not index some data or send it to null queue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465864#M131213</link>
      <description>&lt;P&gt;Thanks a lot ..&lt;BR /&gt;
For now am not seeing anything related to my configuration change. but i think will something soon ..&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2020 10:33:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465864#M131213</guid>
      <dc:creator>surekhasplunk</dc:creator>
      <dc:date>2020-04-02T10:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: how to not index some data or send it to null queue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465865#M131214</link>
      <description>&lt;P&gt;Hi @manjunathmeti ,&lt;/P&gt;

&lt;P&gt;Now the issue is they are getting blocked but other indexes are also effected by this change dont know why&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 08:23:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465865#M131214</guid>
      <dc:creator>surekhasplunk</dc:creator>
      <dc:date>2020-04-03T08:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to not index some data or send it to null queue</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465866#M131215</link>
      <description>&lt;P&gt;If you are using same sourcetype name for other indexes or monitors then this chnage will affect them. You can set unique sourcetype to this monitor or change stanza in propsc.conf as below:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/opt/splunk/logs/check/*.log]
TRANSFORMS-null_queue = data_nullq
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 03 Apr 2020 08:27:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-to-not-index-some-data-or-send-it-to-null-queue/m-p/465866#M131215</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-04-03T08:27:21Z</dc:date>
    </item>
  </channel>
</rss>

