<?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 whitelist directories inputs.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/whitelist-directories-inputs-conf/m-p/385934#M69283</link>
    <description>&lt;P&gt;We've ~1000 directories in path and we want to monitor only a few selected directories. I tried to use the whitelist, voiding multiple monitoring stanzas. But it doesn't seem to work. I have verified this by running  ./splunk list monitor on the forwarder. Here BX187898, BX676909 are directories in /enc_logs-ep3/bker and have log files in those directories. &lt;/P&gt;

&lt;P&gt;Need assistance with the whitelist directories. I have tried with two directories, but I will have a few more added. &lt;/P&gt;

&lt;P&gt;[monitor:///enc_logs-ep3/bker]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = enc_logs&lt;BR /&gt;
whitelist = (BX187898|BX676909)&lt;BR /&gt;
host_regex = \S+(EP.*).\d{4}&lt;BR /&gt;
sourcetype = enc&lt;BR /&gt;
ignoreOlderThan = 3d&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 20:43:57 GMT</pubDate>
    <dc:creator>nmohammed</dc:creator>
    <dc:date>2020-09-29T20:43:57Z</dc:date>
    <item>
      <title>whitelist directories inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/whitelist-directories-inputs-conf/m-p/385934#M69283</link>
      <description>&lt;P&gt;We've ~1000 directories in path and we want to monitor only a few selected directories. I tried to use the whitelist, voiding multiple monitoring stanzas. But it doesn't seem to work. I have verified this by running  ./splunk list monitor on the forwarder. Here BX187898, BX676909 are directories in /enc_logs-ep3/bker and have log files in those directories. &lt;/P&gt;

&lt;P&gt;Need assistance with the whitelist directories. I have tried with two directories, but I will have a few more added. &lt;/P&gt;

&lt;P&gt;[monitor:///enc_logs-ep3/bker]&lt;BR /&gt;
disabled = false&lt;BR /&gt;
index = enc_logs&lt;BR /&gt;
whitelist = (BX187898|BX676909)&lt;BR /&gt;
host_regex = \S+(EP.*).\d{4}&lt;BR /&gt;
sourcetype = enc&lt;BR /&gt;
ignoreOlderThan = 3d&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 20:43:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/whitelist-directories-inputs-conf/m-p/385934#M69283</guid>
      <dc:creator>nmohammed</dc:creator>
      <dc:date>2020-09-29T20:43:57Z</dc:date>
    </item>
    <item>
      <title>Re: whitelist directories inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/whitelist-directories-inputs-conf/m-p/385935#M69284</link>
      <description>&lt;P&gt;Can you give some sample full path of files that you want to monitor and some that you don't?&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 21:14:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/whitelist-directories-inputs-conf/m-p/385935#M69284</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-08-06T21:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: whitelist directories inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/whitelist-directories-inputs-conf/m-p/385936#M69285</link>
      <description>&lt;P&gt;Thanks @somesoni2&lt;/P&gt;

&lt;P&gt;here's a sample path path -  &lt;/P&gt;

&lt;P&gt;/enc_logs-en3/bker/BX187898/EncServer. BX187898.ENC5VEABE100934.2018-08-06-14.log&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 21:20:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/whitelist-directories-inputs-conf/m-p/385936#M69285</guid>
      <dc:creator>nmohammed</dc:creator>
      <dc:date>2018-08-06T21:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: whitelist directories inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/whitelist-directories-inputs-conf/m-p/385937#M69286</link>
      <description>&lt;P&gt;You can refer this link:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.1.2/Data/Whitelistorblacklistspecificincomingdata"&gt;https://docs.splunk.com/Documentation/Splunk/7.1.2/Data/Whitelistorblacklistspecificincomingdata&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Can you cross check your regex?&lt;BR /&gt;
Let me know if this helps!!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Aug 2018 09:43:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/whitelist-directories-inputs-conf/m-p/385937#M69286</guid>
      <dc:creator>deepashri_123</dc:creator>
      <dc:date>2018-08-07T09:43:45Z</dc:date>
    </item>
  </channel>
</rss>

