<?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 configure Splunk for input active files? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-for-input-active-files/m-p/242315#M46984</link>
    <description>&lt;P&gt;HI&lt;/P&gt;

&lt;P&gt;Sorry for taking so much time to respond. At least for second example which is a configuration file the data is being reindexed but I ended up having two files with the same name and same directory. This is not what I want. This is just a configuration file, not a log file, so if this file is modified Splunk should reindexed and replace it for the old one.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...| eval indextime=strftime(_indextime,"%Y-%m-%d %H:%M:%S")| stats count by source, indextime
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This command showed that the file is simply reindexed and I ended with two files.  I still need to check if this behavior is the same for the first example which is a log file.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Oct 2015 22:13:42 GMT</pubDate>
    <dc:creator>edrivera3</dc:creator>
    <dc:date>2015-10-29T22:13:42Z</dc:date>
    <item>
      <title>How to configure Splunk for input active files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-for-input-active-files/m-p/242313#M46982</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm already monitoring new files in a directory, but I would like to monitor the changes in the files too. Here is my inputs.conf file. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\Users\edlaptop\Documents\logs\*.log]
index = cars
sourcetype = models
crcSalt = &amp;lt;SOURCE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The format in the above data is just events with timestamp, so I want to upload any new event/log added to the end of file.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor://C:\Users\edlaptop\Documents\conf\*.conf]
index = cars_conf
sourcetype = conf
crcSalt = &amp;lt;SOURCE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The format of these files is a small list of configuration that sometimes changes. Is there a way to make Splunk update the data? or make Splunk delete the data and automatically upload it again with the new configuration? &lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2015 21:19:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-for-input-active-files/m-p/242313#M46982</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2015-09-24T21:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk for input active files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-for-input-active-files/m-p/242314#M46983</link>
      <description>&lt;P&gt;Not sure I understand your question... &lt;BR /&gt;
[monitor://....] will monitor the specified path/file and continue to do so as data is appended to files. That is the purpose of a monitor input. Do you see a different behavior?&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2015 20:57:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-for-input-active-files/m-p/242314#M46983</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2015-09-25T20:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk for input active files?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-for-input-active-files/m-p/242315#M46984</link>
      <description>&lt;P&gt;HI&lt;/P&gt;

&lt;P&gt;Sorry for taking so much time to respond. At least for second example which is a configuration file the data is being reindexed but I ended up having two files with the same name and same directory. This is not what I want. This is just a configuration file, not a log file, so if this file is modified Splunk should reindexed and replace it for the old one.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...| eval indextime=strftime(_indextime,"%Y-%m-%d %H:%M:%S")| stats count by source, indextime
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This command showed that the file is simply reindexed and I ended with two files.  I still need to check if this behavior is the same for the first example which is a log file.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2015 22:13:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-for-input-active-files/m-p/242315#M46984</guid>
      <dc:creator>edrivera3</dc:creator>
      <dc:date>2015-10-29T22:13:42Z</dc:date>
    </item>
  </channel>
</rss>

