<?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: How to exclude a specific file? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-a-specific-file/m-p/619385#M106800</link>
    <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;.&amp;nbsp; I've removed the escape and added the index and source as suggested but that data is still appearing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;[monitor:///var/log/tomcat9]&lt;BR /&gt;blacklist= catalina.out&lt;BR /&gt;index= main&lt;BR /&gt;source= catalina.out&lt;BR /&gt;disabled = 0&lt;/P&gt;&lt;P&gt;Can the order of the monitor statements have an impact?&amp;nbsp; For example could a preceding statement override this statement if the previous statement is for ///var/log but does not specifically reference tomcat9?&lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2022 00:26:10 GMT</pubDate>
    <dc:creator>balcv</dc:creator>
    <dc:date>2022-11-03T00:26:10Z</dc:date>
    <item>
      <title>How to exclude a specific file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-a-specific-file/m-p/619366#M106797</link>
      <description>&lt;P&gt;I'm trying to exclude a specific file called catalina.out in /var/log/tomcat9/ from being processed by Splunk.&amp;nbsp; The file is being sent to my heavy forwarder and I have the following in inputs.conf&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[monitor:///var/log/tomcat9]&lt;BR /&gt;blacklist=(catalina\.out)&lt;BR /&gt;disabled = 0&lt;/P&gt;
&lt;P&gt;The data continues to be processed.&amp;nbsp; What am I missing?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 21:56:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-a-specific-file/m-p/619366#M106797</guid>
      <dc:creator>balcv</dc:creator>
      <dc:date>2022-11-02T21:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude a specific file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-a-specific-file/m-p/619382#M106798</link>
      <description>&lt;P&gt;Despite being a regular expression, there's no need to escape dots in blacklist or whitelist.&amp;nbsp; There's no need for a capture group, either.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[monitor:///var/log/tomcat9]
blacklist = catalina.out
disabled = 0&lt;/LI-CODE&gt;&lt;P&gt;Don't forget to specify an index and sourcetype in the inputs.conf stanza.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 00:03:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-a-specific-file/m-p/619382#M106798</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-11-03T00:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude a specific file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-a-specific-file/m-p/619385#M106800</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;.&amp;nbsp; I've removed the escape and added the index and source as suggested but that data is still appearing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;[monitor:///var/log/tomcat9]&lt;BR /&gt;blacklist= catalina.out&lt;BR /&gt;index= main&lt;BR /&gt;source= catalina.out&lt;BR /&gt;disabled = 0&lt;/P&gt;&lt;P&gt;Can the order of the monitor statements have an impact?&amp;nbsp; For example could a preceding statement override this statement if the previous statement is for ///var/log but does not specifically reference tomcat9?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 00:26:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-a-specific-file/m-p/619385#M106800</guid>
      <dc:creator>balcv</dc:creator>
      <dc:date>2022-11-03T00:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to exclude a specific file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-a-specific-file/m-p/619647#M106832</link>
      <description>&lt;P&gt;Stanza order may be significant.&amp;nbsp; Try swapping them.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Nov 2022 13:13:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-exclude-a-specific-file/m-p/619647#M106832</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-11-04T13:13:03Z</dc:date>
    </item>
  </channel>
</rss>

