<?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: Will Splunk re-index if inputs.conf changes and a file is rotated? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Will-Splunk-re-index-if-inputs-conf-changes-and-a-file-is/m-p/95928#M19979</link>
    <description>&lt;P&gt;Kristian,&lt;/P&gt;

&lt;P&gt;Thank you for the helpful reply. Yes, I understand they would be sharing a common sourcetype, and I am fine with that. I was more concerned with duplicate entries, which from you describe shouldn't be an issue. &lt;BR /&gt;
  Thanks again!&lt;/P&gt;</description>
    <pubDate>Tue, 16 Apr 2013 15:57:08 GMT</pubDate>
    <dc:creator>Branden</dc:creator>
    <dc:date>2013-04-16T15:57:08Z</dc:date>
    <item>
      <title>Will Splunk re-index if inputs.conf changes and a file is rotated?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Will-Splunk-re-index-if-inputs-conf-changes-and-a-file-is/m-p/95926#M19977</link>
      <description>&lt;P&gt;I have a large number of Universal Forwarders that forward Apache access logs. On my systems, the apache access logs are named &lt;HOSTNAME&gt;-access.log and/or &lt;HOSTNAME&gt;-ssl-access.log. On a regular basis, those files are rotated to &lt;HOSTNAME&gt;-access.log.1 and/or &lt;HOSTNAME&gt;-ssl-access.log.1. The .1 becomes a .2 after the next rotation, etc... &lt;/HOSTNAME&gt;&lt;/HOSTNAME&gt;&lt;/HOSTNAME&gt;&lt;/HOSTNAME&gt;&lt;/P&gt;

&lt;P&gt;To simplify our environment a bit, I want to change our apache app to index "&lt;EM&gt;-access.log" or maybe even "*access&lt;/EM&gt;". If I do the latter ("&lt;EM&gt;access&lt;/EM&gt;") and restart the forwarder, will Splunk re-index all of the access log files? I do not want it to.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:44:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Will-Splunk-re-index-if-inputs-conf-changes-and-a-file-is/m-p/95926#M19977</guid>
      <dc:creator>Branden</dc:creator>
      <dc:date>2020-09-28T13:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Will Splunk re-index if inputs.conf changes and a file is rotated?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Will-Splunk-re-index-if-inputs-conf-changes-and-a-file-is/m-p/95927#M19978</link>
      <description>&lt;P&gt;The fishbucket will keep track of what files have been indexed, and I don't think that it will care too much regarding the exact &lt;CODE&gt;[monitor]&lt;/CODE&gt; stanza wording. Determining if a file has been read or not is more of an issue about checksums of the actual file(s) being monitored.  &lt;/P&gt;

&lt;P&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;One thing, though. If you create a common &lt;CODE&gt;[monitor]&lt;/CODE&gt; for &lt;CODE&gt;&amp;lt;hostname&amp;gt;-access.log&lt;/CODE&gt; and &lt;CODE&gt;&amp;lt;hostname&amp;gt;-ssl-access.log&lt;/CODE&gt;, they would have to share the same sourcetype, which can be fine, if the contents (read: columns) of the file are the same. Have a read here as well;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.2/Data/Whysourcetypesmatter"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.2/Data/Whysourcetypesmatter&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;/Kristian&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2013 14:24:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Will-Splunk-re-index-if-inputs-conf-changes-and-a-file-is/m-p/95927#M19978</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-04-16T14:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Will Splunk re-index if inputs.conf changes and a file is rotated?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Will-Splunk-re-index-if-inputs-conf-changes-and-a-file-is/m-p/95928#M19979</link>
      <description>&lt;P&gt;Kristian,&lt;/P&gt;

&lt;P&gt;Thank you for the helpful reply. Yes, I understand they would be sharing a common sourcetype, and I am fine with that. I was more concerned with duplicate entries, which from you describe shouldn't be an issue. &lt;BR /&gt;
  Thanks again!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Apr 2013 15:57:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Will-Splunk-re-index-if-inputs-conf-changes-and-a-file-is/m-p/95928#M19979</guid>
      <dc:creator>Branden</dc:creator>
      <dc:date>2013-04-16T15:57:08Z</dc:date>
    </item>
  </channel>
</rss>

