<?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: simple wildcard monitoring not working in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/simple-wildcard-monitoring-not-working/m-p/207508#M40910</link>
    <description>&lt;P&gt;ya. splunk user is able to read the directory/cd in, BUT it doesnt have access to read every file in that dir. could that be the issue? &lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
-bash-4.2$ id&lt;BR /&gt;
uid=9100(splunk) gid=9100(splunk) groups=9100(splunk) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023&lt;BR /&gt;
-bash-4.2$ ls /var/log&lt;BR /&gt;
anaconda  boot.log  btmp-20151201  cloud-init.log         cron           cron-20151214  cron-20151227  dmesg    maillog           maillog-20151214  maillog-20151227  messages-20151206  messages-20151220  newrelic  ppp  samba   secure-20151206  secure-20151220  spooler           spooler-20151214  spooler-20151227  tomcat  wtmp&lt;BR /&gt;
audit     btmp      chrony         cloud-init-output.log  cron-20151206  cron-20151220  cs             lastlog  maillog-20151206  maillog-20151220  messages          messages-20151214  messages-20151227  ntpstats  sa   secure  secure-20151214  secure-20151227  spooler-20151206  spooler-20151220  tallylog          tuned   yum.log&lt;BR /&gt;
-bash-4.2$ ls -ld /var/log&lt;BR /&gt;
drwxr-xr-x. 13 root root 4096 Dec 27 03:41 /var/log&lt;BR /&gt;
&lt;/PRE&gt;&lt;BR /&gt;
i have change the perm in the tomcat dir to be accessable by splunk as well -&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
-bash-4.2$ ls -ld /var/log/tomcat&lt;BR /&gt;
drwxrwxr-x. 2 tomcat root 8192 Dec 28 00:00 /var/log/tomcat&lt;BR /&gt;
&lt;/PRE&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 08:17:14 GMT</pubDate>
    <dc:creator>clearslide_cwon</dc:creator>
    <dc:date>2020-09-29T08:17:14Z</dc:date>
    <item>
      <title>simple wildcard monitoring not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/simple-wildcard-monitoring-not-working/m-p/207506#M40908</link>
      <description>&lt;P&gt;I have a really simple wildcard matching for monitoring, but I can't get it to work. Here is the setup:&lt;/P&gt;

&lt;P&gt;/opt/splunkforwarder/etc/system/local/inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///var/log/tomcat/localhost_access_log.*.txt]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;i restarted splunk, but it doesn't monitor any files in that directory.&lt;/P&gt;

&lt;P&gt;BUT, if I put the following and copy the log (txt) files to &lt;CODE&gt;/tmp&lt;/CODE&gt;, it sees them:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///tmp/localhost_access_log*.txt]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Is there any restriction, or because the wildcard I have? It seems pretty basic to me.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2015 00:31:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/simple-wildcard-monitoring-not-working/m-p/207506#M40908</guid>
      <dc:creator>clearslide_cwon</dc:creator>
      <dc:date>2015-12-23T00:31:41Z</dc:date>
    </item>
    <item>
      <title>Re: simple wildcard monitoring not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/simple-wildcard-monitoring-not-working/m-p/207507#M40909</link>
      <description>&lt;P&gt;Check if your splunk user is able to read /var/log directory. The logs should be complaining about this, if permission is denied.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2015 02:22:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/simple-wildcard-monitoring-not-working/m-p/207507#M40909</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2015-12-23T02:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: simple wildcard monitoring not working</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/simple-wildcard-monitoring-not-working/m-p/207508#M40910</link>
      <description>&lt;P&gt;ya. splunk user is able to read the directory/cd in, BUT it doesnt have access to read every file in that dir. could that be the issue? &lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
-bash-4.2$ id&lt;BR /&gt;
uid=9100(splunk) gid=9100(splunk) groups=9100(splunk) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023&lt;BR /&gt;
-bash-4.2$ ls /var/log&lt;BR /&gt;
anaconda  boot.log  btmp-20151201  cloud-init.log         cron           cron-20151214  cron-20151227  dmesg    maillog           maillog-20151214  maillog-20151227  messages-20151206  messages-20151220  newrelic  ppp  samba   secure-20151206  secure-20151220  spooler           spooler-20151214  spooler-20151227  tomcat  wtmp&lt;BR /&gt;
audit     btmp      chrony         cloud-init-output.log  cron-20151206  cron-20151220  cs             lastlog  maillog-20151206  maillog-20151220  messages          messages-20151214  messages-20151227  ntpstats  sa   secure  secure-20151214  secure-20151227  spooler-20151206  spooler-20151220  tallylog          tuned   yum.log&lt;BR /&gt;
-bash-4.2$ ls -ld /var/log&lt;BR /&gt;
drwxr-xr-x. 13 root root 4096 Dec 27 03:41 /var/log&lt;BR /&gt;
&lt;/PRE&gt;&lt;BR /&gt;
i have change the perm in the tomcat dir to be accessable by splunk as well -&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
-bash-4.2$ ls -ld /var/log/tomcat&lt;BR /&gt;
drwxrwxr-x. 2 tomcat root 8192 Dec 28 00:00 /var/log/tomcat&lt;BR /&gt;
&lt;/PRE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:17:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/simple-wildcard-monitoring-not-working/m-p/207508#M40910</guid>
      <dc:creator>clearslide_cwon</dc:creator>
      <dc:date>2020-09-29T08:17:14Z</dc:date>
    </item>
  </channel>
</rss>

