<?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 Changing inputs.conf to include previously scanned files in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Changing-inputs-conf-to-include-previously-scanned-files/m-p/130613#M26859</link>
    <description>&lt;P&gt;When initially set up my splunk install is set to capture only the most recent version of a log:&lt;/P&gt;

&lt;P&gt;/path/to/log/dir/logfile.&lt;/P&gt;

&lt;P&gt;Well, sometimes, due to maintenance, etc., Splunk is shut off and when restarted I have to go through the process of reloading (via oneshot) the data from logfile.1 logfile.2 logfile.3 . . . to get caught up.&lt;/P&gt;

&lt;P&gt;On systems I've set up, I just have inputs.conf configured for /path/to/log/dir with a whitelist on logfile*$&lt;/P&gt;

&lt;P&gt;What will happen if I change the previous configuration?  Will it re-index all the previous logfile.\d+$ files or is it self-aware enough to not do that? &lt;/P&gt;</description>
    <pubDate>Wed, 06 Nov 2013 13:49:49 GMT</pubDate>
    <dc:creator>tyronetv</dc:creator>
    <dc:date>2013-11-06T13:49:49Z</dc:date>
    <item>
      <title>Changing inputs.conf to include previously scanned files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Changing-inputs-conf-to-include-previously-scanned-files/m-p/130613#M26859</link>
      <description>&lt;P&gt;When initially set up my splunk install is set to capture only the most recent version of a log:&lt;/P&gt;

&lt;P&gt;/path/to/log/dir/logfile.&lt;/P&gt;

&lt;P&gt;Well, sometimes, due to maintenance, etc., Splunk is shut off and when restarted I have to go through the process of reloading (via oneshot) the data from logfile.1 logfile.2 logfile.3 . . . to get caught up.&lt;/P&gt;

&lt;P&gt;On systems I've set up, I just have inputs.conf configured for /path/to/log/dir with a whitelist on logfile*$&lt;/P&gt;

&lt;P&gt;What will happen if I change the previous configuration?  Will it re-index all the previous logfile.\d+$ files or is it self-aware enough to not do that? &lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2013 13:49:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Changing-inputs-conf-to-include-previously-scanned-files/m-p/130613#M26859</guid>
      <dc:creator>tyronetv</dc:creator>
      <dc:date>2013-11-06T13:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Changing inputs.conf to include previously scanned files</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Changing-inputs-conf-to-include-previously-scanned-files/m-p/130614#M26860</link>
      <description>&lt;P&gt;Normally splunk will not re-index a file it has already seen (as it keeps track of what has already been indexed in a special index called the &lt;CODE&gt;fishbucket&lt;/CODE&gt;).&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/Data/MonitorFilesAndDirectories#How_monitor_works_in_Splunk"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/Data/MonitorFilesAndDirectories#How_monitor_works_in_Splunk&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/Data/HowLogFileRotationIsHandled"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/Data/HowLogFileRotationIsHandled&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://wiki.splunk.com/Community:HowSplunkReadsInputFiles"&gt;http://wiki.splunk.com/Community:HowSplunkReadsInputFiles&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://blogs.splunk.com/2008/08/14/what-is-this-fishbucket-thing/"&gt;http://blogs.splunk.com/2008/08/14/what-is-this-fishbucket-thing/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;/K&lt;/P&gt;</description>
      <pubDate>Wed, 06 Nov 2013 15:38:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Changing-inputs-conf-to-include-previously-scanned-files/m-p/130614#M26860</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-11-06T15:38:16Z</dc:date>
    </item>
  </channel>
</rss>

