<?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: Wildcard not working in monitor input in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Wildcard-not-working-in-monitor-input/m-p/290568#M87816</link>
    <description>&lt;P&gt;well &lt;/P&gt;

&lt;P&gt;you can also play with the path, can you change the directory to something like D:\newdir\appxxx and then recursively monitor the newdir ?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  [monitor://D:\...\log\a*.log]
  whitelist =  D:\app*\
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;see also &lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.2/Data/Specifyinputpathswithwildcards"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.2/Data/Specifyinputpathswithwildcards&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 Feb 2017 12:07:58 GMT</pubDate>
    <dc:creator>sassens1</dc:creator>
    <dc:date>2017-02-09T12:07:58Z</dc:date>
    <item>
      <title>Wildcard not working in monitor input</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Wildcard-not-working-in-monitor-input/m-p/290565#M87813</link>
      <description>&lt;P&gt;I used following syntax to monitor a file input in windows&lt;BR /&gt;
[monitor://D:\app*\logs\a*.log]&lt;BR /&gt;
The above stanza is not indexing any file. Getting the below error in splnkd.log on forwarder&lt;BR /&gt;
FilesystemChangeWatcher - error getting attributes of path "\D:": The filename, directory name, or volume label syntax is incorrect.&lt;/P&gt;

&lt;P&gt;But when I use following input, it works.&lt;BR /&gt;
[monitor://D:\appdev\logs\a*.log]&lt;/P&gt;

&lt;P&gt;Please help.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:48:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Wildcard-not-working-in-monitor-input/m-p/290565#M87813</guid>
      <dc:creator>reach2tushar</dc:creator>
      <dc:date>2020-09-29T12:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: Wildcard not working in monitor input</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Wildcard-not-working-in-monitor-input/m-p/290566#M87814</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;can you try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [monitor://D:\app*\log\]
 index = &amp;lt;your_index&amp;gt;
 sourcetype = &amp;lt;your_sourcetype&amp;gt;
 whitelist = a*\.log$
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;See also: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/admin/Inputsconf"&gt;http://docs.splunk.com/Documentation/Splunk/latest/admin/Inputsconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 08:40:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Wildcard-not-working-in-monitor-input/m-p/290566#M87814</guid>
      <dc:creator>sassens1</dc:creator>
      <dc:date>2017-02-09T08:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Wildcard not working in monitor input</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Wildcard-not-working-in-monitor-input/m-p/290567#M87815</link>
      <description>&lt;P&gt;Thanks for the reply.&lt;BR /&gt;
It's not working. The reason is that I provided wildcard just after the drive D:\app*\log. when we provide an input like following, it works.&lt;BR /&gt;
[monitor://D:\appdev\l*]&lt;/P&gt;

&lt;P&gt;Please confirm if there is any other way to provide wildcard to a folder after D:\&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 12:48:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Wildcard-not-working-in-monitor-input/m-p/290567#M87815</guid>
      <dc:creator>reach2tushar</dc:creator>
      <dc:date>2020-09-29T12:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Wildcard not working in monitor input</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Wildcard-not-working-in-monitor-input/m-p/290568#M87816</link>
      <description>&lt;P&gt;well &lt;/P&gt;

&lt;P&gt;you can also play with the path, can you change the directory to something like D:\newdir\appxxx and then recursively monitor the newdir ?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  [monitor://D:\...\log\a*.log]
  whitelist =  D:\app*\
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;see also &lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.2/Data/Specifyinputpathswithwildcards"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.2/Data/Specifyinputpathswithwildcards&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 12:07:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Wildcard-not-working-in-monitor-input/m-p/290568#M87816</guid>
      <dc:creator>sassens1</dc:creator>
      <dc:date>2017-02-09T12:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: Wildcard not working in monitor input</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Wildcard-not-working-in-monitor-input/m-p/290569#M87817</link>
      <description>&lt;P&gt;No, we cannot change the directory as it is on forwarder and it is generated by an application.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 12:57:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Wildcard-not-working-in-monitor-input/m-p/290569#M87817</guid>
      <dc:creator>reach2tushar</dc:creator>
      <dc:date>2017-02-09T12:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Wildcard not working in monitor input</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Wildcard-not-working-in-monitor-input/m-p/290570#M87818</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://D:\*\log\a*.log]
whitelist = D:\app*\log\a*.log
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Feb 2017 22:34:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Wildcard-not-working-in-monitor-input/m-p/290570#M87818</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-02-21T22:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Wildcard not working in monitor input</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Wildcard-not-working-in-monitor-input/m-p/290571#M87819</link>
      <description>&lt;P&gt;Hi, Thanks for the reply.&lt;BR /&gt;
The wildcard just after the root directory is not working in Splunk. Could you please check at your end if this works?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2017 07:42:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Wildcard-not-working-in-monitor-input/m-p/290571#M87819</guid>
      <dc:creator>reach2tushar</dc:creator>
      <dc:date>2017-02-22T07:42:46Z</dc:date>
    </item>
  </channel>
</rss>

