<?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 inputs.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/wildcard-not-working-in-inputs-conf/m-p/174689#M35133</link>
    <description>&lt;P&gt;Lots of data available, with multiple logs. The splunkd.log isn't showing any errors - just this message: 03-06-2014 08:02:58.235 -0500 INFO  TailingProcessor - Parsing configuration stanza: monitor:///pws*/log/.../gpws_error.log.&lt;/P&gt;

&lt;P&gt;Here's some sampleoutput of an ls command:&lt;/P&gt;

&lt;P&gt;-rw-rw-r--    1 blahblah blahblah         165 Mar  5 08:15 /pwstcawlk3/log/PROCESSMONITOR/gpws_error.log&lt;BR /&gt;
-rw-rw-r--    1 blahblah blahblah      180874 Mar  5 10:22 /pwstcawlk2/log/HTTPCONTROLLERARCH/gpws_error.log&lt;/P&gt;

&lt;P&gt;Those files (and others) are not being indexed. BTW - this is on AIX, if that matters.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 16:03:32 GMT</pubDate>
    <dc:creator>a212830</dc:creator>
    <dc:date>2020-09-28T16:03:32Z</dc:date>
    <item>
      <title>wildcard not working in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/wildcard-not-working-in-inputs-conf/m-p/174685#M35129</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I need to monitor a single file that exists in multiple directories, which can change without my notice, but will follow the same format.  I tried setting up a wildcard, but it's not working.&lt;/P&gt;

&lt;P&gt;The directory structure is:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;/pwstcdwlk*/log/*/gpws_error.log
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The filename is always gpws_error.log, and the filesystem will always begin with /pwstcdwlk, but the segment after log can change and be almost anything. &lt;/P&gt;

&lt;P&gt;I had the following, but it did not work. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///pwstcdwlk*/log/.../gpws_error.log]
recursive = yes
disabled = false
followTail = false
sourcetype  = log4j
index =  throwaway
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Mar 2014 13:54:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/wildcard-not-working-in-inputs-conf/m-p/174685#M35129</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2014-03-05T13:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: wildcard not working in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/wildcard-not-working-in-inputs-conf/m-p/174686#M35130</link>
      <description>&lt;P&gt;You mentioned a specific directory structure. Do you have multiple directory structures like that?&lt;/P&gt;

&lt;P&gt;try [monitor:///.../log/.../gpws_error.log]&lt;/P&gt;

&lt;P&gt;... -&amp;gt; is a recursive wildcard. What you have as of now should also work if there is something like pwstcdwlkABC,pwstcdwlk123 etc.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2014 14:23:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/wildcard-not-working-in-inputs-conf/m-p/174686#M35130</guid>
      <dc:creator>theouhuios</dc:creator>
      <dc:date>2014-03-05T14:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: wildcard not working in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/wildcard-not-working-in-inputs-conf/m-p/174687#M35131</link>
      <description>&lt;P&gt;The ones that I want all begin with pwstcdwlk, but it can change after that - could be a 1, could be abc...  - out of my control.  I don't want to make it wide open, as other files could be grabbed.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2014 14:44:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/wildcard-not-working-in-inputs-conf/m-p/174687#M35131</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2014-03-05T14:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: wildcard not working in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/wildcard-not-working-in-inputs-conf/m-p/174688#M35132</link>
      <description>&lt;P&gt;Do you see any error in the logs. If thats the case then your stanza looks right to me. There is no data being indexed from the log file? How many lines does the log file have?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2014 15:54:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/wildcard-not-working-in-inputs-conf/m-p/174688#M35132</guid>
      <dc:creator>theouhuios</dc:creator>
      <dc:date>2014-03-05T15:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: wildcard not working in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/wildcard-not-working-in-inputs-conf/m-p/174689#M35133</link>
      <description>&lt;P&gt;Lots of data available, with multiple logs. The splunkd.log isn't showing any errors - just this message: 03-06-2014 08:02:58.235 -0500 INFO  TailingProcessor - Parsing configuration stanza: monitor:///pws*/log/.../gpws_error.log.&lt;/P&gt;

&lt;P&gt;Here's some sampleoutput of an ls command:&lt;/P&gt;

&lt;P&gt;-rw-rw-r--    1 blahblah blahblah         165 Mar  5 08:15 /pwstcawlk3/log/PROCESSMONITOR/gpws_error.log&lt;BR /&gt;
-rw-rw-r--    1 blahblah blahblah      180874 Mar  5 10:22 /pwstcawlk2/log/HTTPCONTROLLERARCH/gpws_error.log&lt;/P&gt;

&lt;P&gt;Those files (and others) are not being indexed. BTW - this is on AIX, if that matters.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:03:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/wildcard-not-working-in-inputs-conf/m-p/174689#M35133</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2020-09-28T16:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: wildcard not working in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/wildcard-not-working-in-inputs-conf/m-p/174690#M35134</link>
      <description>&lt;P&gt;Looks like a bug in 5.01 - upgraded to 5.04, and everything worked. &lt;/P&gt;</description>
      <pubDate>Thu, 06 Mar 2014 16:06:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/wildcard-not-working-in-inputs-conf/m-p/174690#M35134</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2014-03-06T16:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: wildcard not working in inputs.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/wildcard-not-working-in-inputs-conf/m-p/174691#M35135</link>
      <description>&lt;P&gt;FWIW, I also encountered this in 4.3.3.3 -- not sure if any other versions affected.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///*dir*/logs/*/*.log]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Did not work properly.  Something about the wildcard at the base directory.&lt;/P&gt;

&lt;P&gt;I had to use&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///actualdirname/logs/*/*.log]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Apr 2014 19:06:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/wildcard-not-working-in-inputs-conf/m-p/174691#M35135</guid>
      <dc:creator>the_wolverine</dc:creator>
      <dc:date>2014-04-16T19:06:46Z</dc:date>
    </item>
  </channel>
</rss>

