<?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 wildcard Windows log in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480061#M82323</link>
    <description>&lt;P&gt;Thanks p_gurav .  This has not changed the result.  I still get no data being returned.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Nov 2019 04:46:17 GMT</pubDate>
    <dc:creator>balcv</dc:creator>
    <dc:date>2019-11-08T04:46:17Z</dc:date>
    <item>
      <title>inputs.conf wildcard Windows log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480058#M82320</link>
      <description>&lt;P&gt;I have log files coming in from a Windows Server and file I can receive the required files when I specify the specific filename however I need to use a wildcard and it does not seem to be working.&lt;/P&gt;

&lt;P&gt;The log file I need to receive is named d:[path]\localhost_access_log.2019-11-08.txt but I would like to replace the date section with a wild card such as d:[path]\localhost_access_log.*.txt however the log stops when I use the wild card.&lt;/P&gt;

&lt;P&gt;My inputs.conf looks like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://D:\[path]\logs\]
whitelist=localhost_access_log*txt
disabled = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've tried numerous variations such as * ... etc as I've seen referenced in various post, however none have worked.&lt;BR /&gt;
When I include the exact file name in the the monitor section, the log works fine, however I need the date to be wildcarded.&lt;/P&gt;

&lt;P&gt;Any suggestions greatly appreciated.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:53:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480058#M82320</guid>
      <dc:creator>balcv</dc:creator>
      <dc:date>2020-09-30T02:53:41Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf wildcard Windows log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480059#M82321</link>
      <description>&lt;P&gt;Can you try:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; [monitor://D:\[path]\logs\localhost_access_log*.txt]
 disabled = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Also, please find &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/Data/Specifyinputpathswithwildcards"&gt;here&lt;/A&gt; more examples of wildcards.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 04:37:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480059#M82321</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2019-11-08T04:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf wildcard Windows log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480060#M82322</link>
      <description>&lt;P&gt;try this one:&lt;BR /&gt;
[monitor://D:[path]\logs]&lt;BR /&gt;
 whitelist=localhost_access_log.\d{4}-\d{2}-\d{2}.txt&lt;BR /&gt;
 disabled = 0&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 04:41:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480060#M82322</guid>
      <dc:creator>ivanreis</dc:creator>
      <dc:date>2019-11-08T04:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf wildcard Windows log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480061#M82323</link>
      <description>&lt;P&gt;Thanks p_gurav .  This has not changed the result.  I still get no data being returned.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 04:46:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480061#M82323</guid>
      <dc:creator>balcv</dc:creator>
      <dc:date>2019-11-08T04:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf wildcard Windows log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480062#M82324</link>
      <description>&lt;P&gt;No, it appears not to be working either ivanreis.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 04:51:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480062#M82324</guid>
      <dc:creator>balcv</dc:creator>
      <dc:date>2019-11-08T04:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf wildcard Windows log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480063#M82325</link>
      <description>&lt;P&gt;Try this:&lt;BR /&gt;
[monitor://D:[path]\logs]&lt;BR /&gt;
whitelist=localhost_access_log.\d[^-].*.txt$&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;&lt;A href="https://regex101.com/r/vXzgcK/1" target="_blank"&gt;https://regex101.com/r/vXzgcK/1&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;if it did not work, you have to troubleshoot the input.&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/Data/Troubleshoottheinputprocess" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/Data/Troubleshoottheinputprocess&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:51:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480063#M82325</guid>
      <dc:creator>ivanreis</dc:creator>
      <dc:date>2020-09-30T02:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf wildcard Windows log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480064#M82326</link>
      <description>&lt;P&gt;Looks like this worked.  Thanks very much.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Nov 2019 21:23:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480064#M82326</guid>
      <dc:creator>balcv</dc:creator>
      <dc:date>2019-11-08T21:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf wildcard Windows log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480065#M82327</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://D:\[path]\logs\localhost_access_log.*.txt]
disabled = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The reason that you think that it is not working is because you are probably testing it wrong.  By default, Splunk will NOT resend a file just because you change the name; you have to change the content, too.  Put this setting in place, then restart Splunk there, then manually create a new file that should be forwarded and fill it with anything but what is already there.  It will work.&lt;/P&gt;</description>
      <pubDate>Sat, 09 Nov 2019 18:03:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480065#M82327</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-11-09T18:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf wildcard Windows log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480066#M82328</link>
      <description>&lt;P&gt;if my solution worked, please accept the answer.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Nov 2019 21:49:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480066#M82328</guid>
      <dc:creator>ivanreis</dc:creator>
      <dc:date>2019-11-10T21:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf wildcard Windows log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480067#M82329</link>
      <description>&lt;P&gt;Your solution was no provided in the "Answer" section, only as a comment so I am unable to accept the answer.  IF you copy it in the "Post your answer". I can then accept it is correct.&lt;/P&gt;</description>
      <pubDate>Sun, 10 Nov 2019 21:55:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480067#M82329</guid>
      <dc:creator>balcv</dc:creator>
      <dc:date>2019-11-10T21:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf wildcard Windows log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480068#M82330</link>
      <description>&lt;P&gt;Try this:&lt;BR /&gt;
[monitor://D:[path]\logs]&lt;BR /&gt;
whitelist=localhost_access_log.\d[^-].*.txt$&lt;BR /&gt;
disabled = 0&lt;/P&gt;

&lt;P&gt;&lt;A href="https://regex101.com/r/vXzgcK/1" target="_blank"&gt;https://regex101.com/r/vXzgcK/1&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 02:55:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480068#M82330</guid>
      <dc:creator>ivanreis</dc:creator>
      <dc:date>2020-09-30T02:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: inputs.conf wildcard Windows log</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480069#M82331</link>
      <description>&lt;P&gt;I convert it to answer. thanks&lt;/P&gt;</description>
      <pubDate>Sun, 10 Nov 2019 22:28:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/inputs-conf-wildcard-Windows-log/m-p/480069#M82331</guid>
      <dc:creator>ivanreis</dc:creator>
      <dc:date>2019-11-10T22:28:13Z</dc:date>
    </item>
  </channel>
</rss>

