<?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 blacklist inputs.conf with multiple files or folders? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-inputs-conf-with-multiple-files-or-folders/m-p/600929#M104727</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Below is the existing stanza in the inputs.conf&lt;/P&gt;&lt;P&gt;[monitor:///var/log]&lt;BR /&gt;whitelist=(\.log|log$|messages|secure|auth|mesg$|cron$|acpid$|\.out)&lt;BR /&gt;blacklist=(lastlog|anaconda\.syslog)&lt;BR /&gt;disabled = 1&lt;/P&gt;&lt;P&gt;I also want to add the following folder to be blacklist&lt;/P&gt;&lt;P&gt;/var/log/dynatrace and any logs within the folder/sub folders.&lt;/P&gt;&lt;P&gt;Can you please explain how this can be done?&lt;/P&gt;&lt;P&gt;Is the syntax below correct?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;blacklist=(lastlog|anaconda\.syslog)|(dynatrace)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Appreciate your experience and help.&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2022 18:47:45 GMT</pubDate>
    <dc:creator>cxnsalvi</dc:creator>
    <dc:date>2022-06-07T18:47:45Z</dc:date>
    <item>
      <title>How to blacklist inputs.conf with multiple files or folders?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-inputs-conf-with-multiple-files-or-folders/m-p/600929#M104727</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Below is the existing stanza in the inputs.conf&lt;/P&gt;&lt;P&gt;[monitor:///var/log]&lt;BR /&gt;whitelist=(\.log|log$|messages|secure|auth|mesg$|cron$|acpid$|\.out)&lt;BR /&gt;blacklist=(lastlog|anaconda\.syslog)&lt;BR /&gt;disabled = 1&lt;/P&gt;&lt;P&gt;I also want to add the following folder to be blacklist&lt;/P&gt;&lt;P&gt;/var/log/dynatrace and any logs within the folder/sub folders.&lt;/P&gt;&lt;P&gt;Can you please explain how this can be done?&lt;/P&gt;&lt;P&gt;Is the syntax below correct?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;blacklist=(lastlog|anaconda\.syslog)|(dynatrace)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Appreciate your experience and help.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 18:47:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-blacklist-inputs-conf-with-multiple-files-or-folders/m-p/600929#M104727</guid>
      <dc:creator>cxnsalvi</dc:creator>
      <dc:date>2022-06-07T18:47:45Z</dc:date>
    </item>
  </channel>
</rss>

