<?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: Load File At Same Time Everyday Regardless Of Changes in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Load-File-At-Same-Time-Everyday-Regardless-Of-Changes/m-p/172772#M34765</link>
    <description>&lt;P&gt;To answer the why it's a list that is maintained, however we need the ability to go back in time and view the state of the list on any particular date. I was thinking that as well but was hoping there was a better way using inputs.conf or similar setting.&lt;/P&gt;</description>
    <pubDate>Tue, 20 May 2014 20:44:49 GMT</pubDate>
    <dc:creator>andrewkenth</dc:creator>
    <dc:date>2014-05-20T20:44:49Z</dc:date>
    <item>
      <title>Load File At Same Time Everyday Regardless Of Changes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Load-File-At-Same-Time-Everyday-Regardless-Of-Changes/m-p/172770#M34763</link>
      <description>&lt;P&gt;Just as it states. Is there way to monitor a file and reload it everyday even if it has not changed? Only once per day however.&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2014 20:29:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Load-File-At-Same-Time-Everyday-Regardless-Of-Changes/m-p/172770#M34763</guid>
      <dc:creator>andrewkenth</dc:creator>
      <dc:date>2014-05-20T20:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Load File At Same Time Everyday Regardless Of Changes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Load-File-At-Same-Time-Everyday-Regardless-Of-Changes/m-p/172771#M34764</link>
      <description>&lt;P&gt;My first though is "why?"... after that, I'd say define a small scripted input to run every 86400 seconds that writes the file content to stdout, something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;cat /path/to/file
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 May 2014 20:42:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Load-File-At-Same-Time-Everyday-Regardless-Of-Changes/m-p/172771#M34764</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-05-20T20:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: Load File At Same Time Everyday Regardless Of Changes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Load-File-At-Same-Time-Everyday-Regardless-Of-Changes/m-p/172772#M34765</link>
      <description>&lt;P&gt;To answer the why it's a list that is maintained, however we need the ability to go back in time and view the state of the list on any particular date. I was thinking that as well but was hoping there was a better way using inputs.conf or similar setting.&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2014 20:44:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Load-File-At-Same-Time-Everyday-Regardless-Of-Changes/m-p/172772#M34765</guid>
      <dc:creator>andrewkenth</dc:creator>
      <dc:date>2014-05-20T20:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: Load File At Same Time Everyday Regardless Of Changes</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Load-File-At-Same-Time-Everyday-Regardless-Of-Changes/m-p/172773#M34766</link>
      <description>&lt;P&gt;I ended up automating a cp cmd and adding the date on the end of the file. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;cp &amp;lt;origfilepath&amp;gt; &amp;lt;newfilepath&amp;gt;_`date +"%Y%m%d"`.csv
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The easiest way to do this is via chrontab but we use other means (autosys). &lt;/P&gt;

&lt;P&gt;I also need to use the sourcefile name in the crcSalt as well in inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;crcSalt = &amp;lt;SOURCE&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 May 2014 18:06:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Load-File-At-Same-Time-Everyday-Regardless-Of-Changes/m-p/172773#M34766</guid>
      <dc:creator>andrewkenth</dc:creator>
      <dc:date>2014-05-21T18:06:27Z</dc:date>
    </item>
  </channel>
</rss>

