<?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 syntax - inputs.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/whitelist-syntax-inputs-conf/m-p/38866#M7185</link>
    <description>&lt;P&gt;I'd like to index files in /DIR/autosys/logs as below;&lt;/P&gt;

&lt;P&gt;Linux equivalent:&lt;BR /&gt;
cd /DIR/autosys/logs&lt;BR /&gt;
ls app*ua1*START_MT*&lt;/P&gt;

&lt;P&gt;Please can someone help me correct below:&lt;/P&gt;

&lt;P&gt;[monitor:///DIR/autosys/logs]&lt;BR /&gt;
    whitelist = app\ua1\STOP_MT\$&lt;BR /&gt;
    disabled = false&lt;BR /&gt;
    index = test_index&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 13:56:16 GMT</pubDate>
    <dc:creator>nathanlhopkins</dc:creator>
    <dc:date>2020-09-28T13:56:16Z</dc:date>
    <item>
      <title>whitelist syntax - inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/whitelist-syntax-inputs-conf/m-p/38866#M7185</link>
      <description>&lt;P&gt;I'd like to index files in /DIR/autosys/logs as below;&lt;/P&gt;

&lt;P&gt;Linux equivalent:&lt;BR /&gt;
cd /DIR/autosys/logs&lt;BR /&gt;
ls app*ua1*START_MT*&lt;/P&gt;

&lt;P&gt;Please can someone help me correct below:&lt;/P&gt;

&lt;P&gt;[monitor:///DIR/autosys/logs]&lt;BR /&gt;
    whitelist = app\ua1\STOP_MT\$&lt;BR /&gt;
    disabled = false&lt;BR /&gt;
    index = test_index&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:56:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/whitelist-syntax-inputs-conf/m-p/38866#M7185</guid>
      <dc:creator>nathanlhopkins</dc:creator>
      <dc:date>2020-09-28T13:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: whitelist syntax - inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/whitelist-syntax-inputs-conf/m-p/38867#M7186</link>
      <description>&lt;P&gt;This should work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///DIR/autosys/logs] 
whitelist = app.*ua1.*START_MT.*$
disabled = false 
index = test_index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, this should work just as well:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///DIR/autosys/logs/app*ua1*START_MT*] 
disabled = false 
index = test_index
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;HR /&gt;

&lt;P&gt;Whitelists and blacklists are just regular expressions.  The equivalent to a &lt;CODE&gt;*&lt;/CODE&gt; glob (shell expansion) is &lt;CODE&gt;".*"&lt;/CODE&gt;.  The best way to visualize how whitelists/blacklists work from a unix point of view is&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;find $STARTDIR -print | egrep "$WHITELIST" | egrep -v "$BLACKLIST"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 19 May 2013 01:11:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/whitelist-syntax-inputs-conf/m-p/38867#M7186</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2013-05-19T01:11:43Z</dc:date>
    </item>
    <item>
      <title>Re: whitelist syntax - inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/whitelist-syntax-inputs-conf/m-p/38868#M7187</link>
      <description>&lt;P&gt;sorry - something seems to be wrong with pasting into these boxes - i'm after:&lt;/P&gt;

&lt;P&gt;ls app*ua1*START_MT*&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:56:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/whitelist-syntax-inputs-conf/m-p/38868#M7187</guid>
      <dc:creator>nathanlhopkins</dc:creator>
      <dc:date>2020-09-28T13:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: whitelist syntax - inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/whitelist-syntax-inputs-conf/m-p/38869#M7188</link>
      <description>&lt;P&gt;sorry - I didn't realise markdown was removing my *'s - i'm after: ls app*ua1*START_MT*&lt;/P&gt;</description>
      <pubDate>Sun, 19 May 2013 21:35:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/whitelist-syntax-inputs-conf/m-p/38869#M7188</guid>
      <dc:creator>nathanlhopkins</dc:creator>
      <dc:date>2013-05-19T21:35:49Z</dc:date>
    </item>
    <item>
      <title>Re: whitelist syntax - inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/whitelist-syntax-inputs-conf/m-p/38870#M7189</link>
      <description>&lt;P&gt;easiest way to deal with the markdown formatting is to actually use a code block (4 spaces)&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2013 04:21:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/whitelist-syntax-inputs-conf/m-p/38870#M7189</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2013-05-20T04:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: whitelist syntax - inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/whitelist-syntax-inputs-conf/m-p/38871#M7190</link>
      <description>&lt;P&gt;Many thanks - I didn't really need the whitelist as you pointed out&lt;/P&gt;</description>
      <pubDate>Wed, 22 May 2013 19:19:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/whitelist-syntax-inputs-conf/m-p/38871#M7190</guid>
      <dc:creator>nathanlhopkins</dc:creator>
      <dc:date>2013-05-22T19:19:11Z</dc:date>
    </item>
  </channel>
</rss>

