<?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: Can you blacklist a host? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-blacklist-a-host/m-p/96129#M20013</link>
    <description>&lt;P&gt;See if this setting in inputs.conf helps:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;followSymlink = [true|false]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;d.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Oct 2011 18:19:29 GMT</pubDate>
    <dc:creator>_d_</dc:creator>
    <dc:date>2011-10-21T18:19:29Z</dc:date>
    <item>
      <title>Can you blacklist a host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-blacklist-a-host/m-p/96128#M20012</link>
      <description>&lt;P&gt;Here's the situation I'm trying to muddle through:&lt;/P&gt;

&lt;P&gt;We have a production server that inputs.conf is monitoring, all the files being monitored are in:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///log_comp1/scribed/*/*/*.log]
index = production
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then we have a separate qa server that inputs that conf is also monitoring:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///logs/scribed/*/*/*.log]
index = qa
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The problem I am facing is that it turns out the production log server has a symlink on it for /logs/, which points to /log_comp1/&lt;/P&gt;

&lt;P&gt;So, the qa monitoring statement is picking up logs from the production symlink and indexing it in the qa index - basically this stuff is being indexed twice, and it's causing confusion when searching in the qa index, since it throws production data back.&lt;/P&gt;

&lt;P&gt;Is there a way to blacklist logs from the production server from being indexed by the qa monitoring statement? The directory names all all the same after /logs/scribed - so I can't use directory names in the blacklist, without accidentally blacklisting qa log data.&lt;/P&gt;

&lt;P&gt;Any suggestions?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2011 16:03:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-blacklist-a-host/m-p/96128#M20012</guid>
      <dc:creator>hharvey</dc:creator>
      <dc:date>2011-10-21T16:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can you blacklist a host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-blacklist-a-host/m-p/96129#M20013</link>
      <description>&lt;P&gt;See if this setting in inputs.conf helps:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;followSymlink = [true|false]&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;d.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2011 18:19:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-blacklist-a-host/m-p/96129#M20013</guid>
      <dc:creator>_d_</dc:creator>
      <dc:date>2011-10-21T18:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Can you blacklist a host?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-you-blacklist-a-host/m-p/96130#M20014</link>
      <description>&lt;P&gt;hey, whaddaya know, it worked! &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; thank you for pointing out what I somehow missed while scouring that doc!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Oct 2011 18:53:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-you-blacklist-a-host/m-p/96130#M20014</guid>
      <dc:creator>hharvey</dc:creator>
      <dc:date>2011-10-21T18:53:08Z</dc:date>
    </item>
  </channel>
</rss>

