<?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: How to troubleshoot why monitored files in a directory are no longer getting indexed in Splunk? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-monitored-files-in-a-directory-are-no/m-p/215364#M42403</link>
    <description>&lt;P&gt;I thought of another thing to check... &lt;/P&gt;

&lt;P&gt;If the user running splunk is not root... what permissions does the user have?&lt;/P&gt;

&lt;P&gt;I ran into a scenario where I deployed my forwarders as root, but, my SH, IDX, and HF's as splunk.... so, while all of the other boxes were reporting their/var/log/*...  my splunk infrastructure was not sending logs due to permissions and not just inputs.conf sequencing.&lt;/P&gt;

&lt;P&gt;Sorry to muddy the waters... but, it's a variable.&lt;/P&gt;</description>
    <pubDate>Tue, 25 Sep 2018 01:19:31 GMT</pubDate>
    <dc:creator>markakirkland</dc:creator>
    <dc:date>2018-09-25T01:19:31Z</dc:date>
    <item>
      <title>How to troubleshoot why monitored files in a directory are no longer getting indexed in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-monitored-files-in-a-directory-are-no/m-p/215360#M42399</link>
      <description>&lt;P&gt;I am monitoring files in a directory which Splunk pulls into an index when new files show up in the directory. We ran the script which updated the files in the directory, but the index only has old data - no new data is being pulled into the index. This has been working for weeks, but quit working when our /opt directory filled up. We shutdown Splunk, resolved the space issue with /opt, and restarted Splunk. Since the restart, no new data.&lt;/P&gt;

&lt;P&gt;How can I troubleshoot this issue to determine why the new data is not being pulled into the index?&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 18:21:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-monitored-files-in-a-directory-are-no/m-p/215360#M42399</guid>
      <dc:creator>dpurtell</dc:creator>
      <dc:date>2016-08-08T18:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why monitored files in a directory are no longer getting indexed in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-monitored-files-in-a-directory-are-no/m-p/215361#M42400</link>
      <description>&lt;P&gt;On the Splunk instance that is monitoring the files, navigate to the $SPLUNK_HOME/etc directory and edit the file:&lt;BR /&gt;
log.cfg&lt;/P&gt;

&lt;P&gt;modify the following settings and change INFO to DEBUG&lt;/P&gt;

&lt;P&gt;category.TailingProcessor=INFO&lt;BR /&gt;
category.WatchedFile=INFO&lt;BR /&gt;
category.ArchiveProcessor=INFO&lt;BR /&gt;
category.TailReader=INFO&lt;/P&gt;

&lt;P&gt;save the file.&lt;/P&gt;

&lt;P&gt;Restart the Splunk instance.&lt;/P&gt;

&lt;P&gt;Take a look at the log:  $SPLUNK_HOME/var/log/splunk/splunkd.log&lt;/P&gt;

&lt;P&gt;Look for the names of the files you were monitoring, the debug information should tell you why they were skipped.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 18:55:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-monitored-files-in-a-directory-are-no/m-p/215361#M42400</guid>
      <dc:creator>sjohnson_splunk</dc:creator>
      <dc:date>2016-08-08T18:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why monitored files in a directory are no longer getting indexed in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-monitored-files-in-a-directory-are-no/m-p/215362#M42401</link>
      <description>&lt;P&gt;Set the values back to INFO after you figure out your problem.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2016 18:56:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-monitored-files-in-a-directory-are-no/m-p/215362#M42401</guid>
      <dc:creator>sjohnson_splunk</dc:creator>
      <dc:date>2016-08-08T18:56:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why monitored files in a directory are no longer getting indexed in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-monitored-files-in-a-directory-are-no/m-p/215363#M42402</link>
      <description>&lt;P&gt;In addition to the above suggestion, I would recommend using the btool to re-evaluate inputs.conf.  &lt;/P&gt;

&lt;P&gt;The order of inputs stanzas matter.&lt;/P&gt;

&lt;P&gt;In my case, I uploaded an add-on for Unix and Linux, and due to the way Splunk aggregates the inputs, it didn't reach the stanzas I put in because it was hitting an earlier stanza and putting the data into another index.&lt;/P&gt;

&lt;P&gt;In the end, just make sure your aggregated stanza order, for inputs.conf, is not interfering with your intentions, if you can't find your data or you find it in the wrong index.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Sep 2018 12:14:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-monitored-files-in-a-directory-are-no/m-p/215363#M42402</guid>
      <dc:creator>markakirkland</dc:creator>
      <dc:date>2018-09-24T12:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to troubleshoot why monitored files in a directory are no longer getting indexed in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-monitored-files-in-a-directory-are-no/m-p/215364#M42403</link>
      <description>&lt;P&gt;I thought of another thing to check... &lt;/P&gt;

&lt;P&gt;If the user running splunk is not root... what permissions does the user have?&lt;/P&gt;

&lt;P&gt;I ran into a scenario where I deployed my forwarders as root, but, my SH, IDX, and HF's as splunk.... so, while all of the other boxes were reporting their/var/log/*...  my splunk infrastructure was not sending logs due to permissions and not just inputs.conf sequencing.&lt;/P&gt;

&lt;P&gt;Sorry to muddy the waters... but, it's a variable.&lt;/P&gt;</description>
      <pubDate>Tue, 25 Sep 2018 01:19:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-troubleshoot-why-monitored-files-in-a-directory-are-no/m-p/215364#M42403</guid>
      <dc:creator>markakirkland</dc:creator>
      <dc:date>2018-09-25T01:19:31Z</dc:date>
    </item>
  </channel>
</rss>

