<?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: Inputs.conf and special characters in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf-and-special-characters/m-p/143199#M29263</link>
    <description>&lt;P&gt;Submitted a ticket to support.  &lt;/P&gt;

&lt;P&gt;Tried your suggestions above and it did NOT work.&lt;/P&gt;

&lt;P&gt;Even looking in the logs I see where Splunk is reading the values from inputs.conf but no files get picked up and show up in WatchedFile.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2013 18:56:23 GMT</pubDate>
    <dc:creator>rmorlen</dc:creator>
    <dc:date>2013-11-15T18:56:23Z</dc:date>
    <item>
      <title>Inputs.conf and special characters</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf-and-special-characters/m-p/143195#M29259</link>
      <description>&lt;P&gt;I have an inputs.conf file that had a monitor statement like:&lt;/P&gt;

&lt;P&gt;[monitor:///*_ECM/A/doc/abc.log]&lt;/P&gt;

&lt;P&gt;Files are NOT being picked up.  If I get rid of the * and put a file name like:&lt;/P&gt;

&lt;P&gt;[monitor:///DOC_ECM/A/doc/abc.log]&lt;/P&gt;

&lt;P&gt;it works fine.&lt;/P&gt;

&lt;P&gt;How do I escape out the "_" or use a Regex to get the correct filenames?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 22:03:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf-and-special-characters/m-p/143195#M29259</guid>
      <dc:creator>rmorlen</dc:creator>
      <dc:date>2013-11-14T22:03:10Z</dc:date>
    </item>
    <item>
      <title>Re: Inputs.conf and special characters</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf-and-special-characters/m-p/143196#M29260</link>
      <description>&lt;P&gt;Is this windows?  If so, you cannot use wildcards at the root.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2013 22:05:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf-and-special-characters/m-p/143196#M29260</guid>
      <dc:creator>lukejadamec</dc:creator>
      <dc:date>2013-11-14T22:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Inputs.conf and special characters</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf-and-special-characters/m-p/143197#M29261</link>
      <description>&lt;P&gt;Linux, not Windows.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2013 12:10:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf-and-special-characters/m-p/143197#M29261</guid>
      <dc:creator>rmorlen</dc:creator>
      <dc:date>2013-11-15T12:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Inputs.conf and special characters</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf-and-special-characters/m-p/143198#M29262</link>
      <description>&lt;P&gt;This seems like a bug, based on what you have described here. I would file a support ticket.&lt;/P&gt;

&lt;P&gt;But I think there may also be a work-around.&lt;/P&gt;

&lt;P&gt;First, for the stanza, do either of these work?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///*ECM/A/doc/abc.log]

[monitor:///*/A/doc/abc.log]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you can make it work for a wider selection of directories (I know that isn't optimal), then you can restrict using the whitelist:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///*ECM/A/doc/abc.log]
whitelist=^/.*?_ECM/
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This whitelist should work for either of the stanzas above. Whitelists are regular expressions, stanzas are not.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2013 18:21:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf-and-special-characters/m-p/143198#M29262</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-11-15T18:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Inputs.conf and special characters</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf-and-special-characters/m-p/143199#M29263</link>
      <description>&lt;P&gt;Submitted a ticket to support.  &lt;/P&gt;

&lt;P&gt;Tried your suggestions above and it did NOT work.&lt;/P&gt;

&lt;P&gt;Even looking in the logs I see where Splunk is reading the values from inputs.conf but no files get picked up and show up in WatchedFile.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2013 18:56:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf-and-special-characters/m-p/143199#M29263</guid>
      <dc:creator>rmorlen</dc:creator>
      <dc:date>2013-11-15T18:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: Inputs.conf and special characters</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf-and-special-characters/m-p/143200#M29264</link>
      <description>&lt;P&gt;Thanks - let us know how it works out!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2013 00:46:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Inputs-conf-and-special-characters/m-p/143200#M29264</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-11-16T00:46:11Z</dc:date>
    </item>
  </channel>
</rss>

