<?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: Blacklist in inputs.conf not working as expected in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-in-inputs-conf-not-working-as-expected/m-p/435887#M76063</link>
    <description>&lt;P&gt;Hi hkkenderson,&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;blacklist&lt;/CODE&gt; is using regex to match, therefore you should use &lt;CODE&gt;\.&lt;/CODE&gt; instead of just &lt;CODE&gt;.&lt;/CODE&gt;. Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; blacklist = app\.domain\.com\.access\.https\.log
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This assues you want to literally match &lt;STRONG&gt;one dot&lt;/STRONG&gt; and not just &lt;STRONG&gt;anything one time&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jun 2018 20:08:45 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2018-06-04T20:08:45Z</dc:date>
    <item>
      <title>Blacklist in inputs.conf not working as expected</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-in-inputs-conf-not-working-as-expected/m-p/435886#M76062</link>
      <description>&lt;P&gt;I am attempting to monitor all the log with the word access.&lt;BR /&gt;
But exclude one particular log file.&lt;/P&gt;

&lt;P&gt;Here is my inputs.conf&lt;/P&gt;

&lt;P&gt;[monitor:///var/log/nginx/*access*log]&lt;BR /&gt;
index = nginx&lt;BR /&gt;
sourcetype = access_combined&lt;BR /&gt;
disabled = false&lt;BR /&gt;
blacklist = app.domain.com.access.https.log&lt;/P&gt;

&lt;P&gt;Can I specify the log file literally? &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:49:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklist-in-inputs-conf-not-working-as-expected/m-p/435886#M76062</guid>
      <dc:creator>khhenderson</dc:creator>
      <dc:date>2020-09-29T19:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Blacklist in inputs.conf not working as expected</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Blacklist-in-inputs-conf-not-working-as-expected/m-p/435887#M76063</link>
      <description>&lt;P&gt;Hi hkkenderson,&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;blacklist&lt;/CODE&gt; is using regex to match, therefore you should use &lt;CODE&gt;\.&lt;/CODE&gt; instead of just &lt;CODE&gt;.&lt;/CODE&gt;. Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; blacklist = app\.domain\.com\.access\.https\.log
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This assues you want to literally match &lt;STRONG&gt;one dot&lt;/STRONG&gt; and not just &lt;STRONG&gt;anything one time&lt;/STRONG&gt;.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jun 2018 20:08:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Blacklist-in-inputs-conf-not-working-as-expected/m-p/435887#M76063</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2018-06-04T20:08:45Z</dc:date>
    </item>
  </channel>
</rss>

