<?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: Excluding a source in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Excluding-a-source/m-p/472077#M132818</link>
    <description>&lt;P&gt;The monitor statement you tried &lt;EM&gt;enables&lt;/EM&gt; an input, it does not disable one.&lt;BR /&gt;
The blacklist may work, but the inputs.conf file must be installed on the agent rather than the forwarder or indexer.&lt;/P&gt;</description>
    <pubDate>Fri, 14 Feb 2020 00:56:07 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-02-14T00:56:07Z</dc:date>
    <item>
      <title>Excluding a source</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-a-source/m-p/472076#M132817</link>
      <description>&lt;P&gt;I have a host sending log data and I am wanting to exclude a specific directory from being ingested and/or indexed but no matter what I try, the data continues to appear.&lt;/P&gt;

&lt;P&gt;I am using a heavy forwarder that is acting as my config server for the agent and I have the indexer on another instance.&lt;/P&gt;

&lt;P&gt;The source to be excluded is "/var/log/lsyncd/lsyncd-status.log" but I['m logging to exclude the "/var/log/lsyncd" directory&lt;/P&gt;

&lt;P&gt;I have tried adding the following to $SPLUNK/apps/Splunk_TA_nix/local/inputs.conf on both the forwarder and indexer both but the data continues to flow:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;monitor:///var/log/lsyncd
disabled = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have also tried adding a blacklist option using blacklist=(*.log) but again without the desired result.&lt;/P&gt;

&lt;P&gt;What am I missing or how should I be configuring this?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 04:12:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-a-source/m-p/472076#M132817</guid>
      <dc:creator>balcv</dc:creator>
      <dc:date>2020-09-30T04:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding a source</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-a-source/m-p/472077#M132818</link>
      <description>&lt;P&gt;The monitor statement you tried &lt;EM&gt;enables&lt;/EM&gt; an input, it does not disable one.&lt;BR /&gt;
The blacklist may work, but the inputs.conf file must be installed on the agent rather than the forwarder or indexer.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 00:56:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-a-source/m-p/472077#M132818</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-02-14T00:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding a source</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-a-source/m-p/472078#M132819</link>
      <description>&lt;P&gt;I've changed to disabled=true and I have re-loaded the config out to the agents, but still receiving the data.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 02:31:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-a-source/m-p/472078#M132819</guid>
      <dc:creator>balcv</dc:creator>
      <dc:date>2020-02-14T02:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding a source</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-a-source/m-p/472079#M132820</link>
      <description>&lt;P&gt;Your monitor should be a stanza in inputs.conf on the forwarders.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [monitor:///var/log/lsyncd]
 disabled = 1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Feb 2020 04:28:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-a-source/m-p/472079#M132820</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-02-14T04:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding a source</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-a-source/m-p/472080#M132821</link>
      <description>&lt;P&gt;Thanks for that but this is exactly what I have in my inputs.conf yet the logs still keep coming through.  Getting very frustrated.&lt;/P&gt;</description>
      <pubDate>Sun, 16 Feb 2020 23:05:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-a-source/m-p/472080#M132821</guid>
      <dc:creator>balcv</dc:creator>
      <dc:date>2020-02-16T23:05:52Z</dc:date>
    </item>
    <item>
      <title>Re: Excluding a source</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Excluding-a-source/m-p/472081#M132822</link>
      <description>&lt;P&gt;Use btool to verify the attributes for this stanza. Check if it is actually disabled.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk btool inputs list --debug
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 17 Feb 2020 02:40:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Excluding-a-source/m-p/472081#M132822</guid>
      <dc:creator>manjunathmeti</dc:creator>
      <dc:date>2020-02-17T02:40:58Z</dc:date>
    </item>
  </channel>
</rss>

