<?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 do you reload a file? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177972#M35683</link>
    <description>&lt;P&gt;If your using bash on a *nix based system make sure your in the $SPLUNK_HOME/bin directory before you run that command. Or add /opt/splunk/bin/splunk cmd [etc] to your command.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Mar 2015 22:42:35 GMT</pubDate>
    <dc:creator>glennpierce</dc:creator>
    <dc:date>2015-03-17T22:42:35Z</dc:date>
    <item>
      <title>How do you reload a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177964#M35675</link>
      <description>&lt;P&gt;The permissions were incorrect for files being monitored.  The files appeared to be indexed but they are not in Splunk.  I went in and altered the file to trick the CRC Check Sum thinking it would trick the system into re-indexing the items.  I get the following messages when I saved the revised files (real-time) in the _internal index:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Will begin reading at offset=0 for file=
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;And&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;group=per_source_thruput, series="/opt/splunk/*.txt", kbps=###, eps=###, kb=###, ev=###, avg_age=###, max_age=###
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I am not seeing denied/failed messages.  The information is still not indexing.&lt;/P&gt;

&lt;P&gt;Please let me know if you have any suggestions.&lt;/P&gt;

&lt;P&gt;Thanks, Jenn&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2015 21:37:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177964#M35675</guid>
      <dc:creator>jldebell</dc:creator>
      <dc:date>2015-03-16T21:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do you reload a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177965#M35676</link>
      <description>&lt;P&gt;Quickest way is to delete a specific file from the fishbucket (state monitoring.)&lt;/P&gt;

&lt;P&gt;./splunk cmd btprobe -d /path/to/splunk/var/lib/splunk/fishbucket/splunk_private_db --file /full/path/to/filename.txt --reset&lt;/P&gt;

&lt;P&gt;That will reset Splunk's internal monitor for files, and force it to reread the specific file. If you have only a hand full of files, this works easily. If you're dealing with thousands of files, then you'd want to script this as wildcards do not work.&lt;/P&gt;

&lt;P&gt;Here is a good answers article on various methods : &lt;A href="http://answers.splunk.com/answers/72562/how-to-reindex-data-from-a-forwarder.html" target="_blank"&gt;http://answers.splunk.com/answers/72562/how-to-reindex-data-from-a-forwarder.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:14:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177965#M35676</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2020-09-28T19:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do you reload a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177966#M35677</link>
      <description>&lt;P&gt;Hi Jenn,&lt;/P&gt;

&lt;P&gt;I think this Splunk Answer may be what you're after:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/72562/how-to-reindex-data-from-a-forwarder.html"&gt;http://answers.splunk.com/answers/72562/how-to-reindex-data-from-a-forwarder.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2015 22:01:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177966#M35677</guid>
      <dc:creator>glennpierce</dc:creator>
      <dc:date>2015-03-16T22:01:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do you reload a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177967#M35678</link>
      <description>&lt;P&gt;What is your data input configuration (inputs.conf ) from the forwarder? When updating the content to trick the CRC, what portion of the file you updated, from start of file or end of file?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2015 22:02:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177967#M35678</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-03-16T22:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: How do you reload a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177968#M35679</link>
      <description>&lt;P&gt;I altered the start of the file.  I added a space initially, but it didn't work.  It would not let me save it stating there were no changes.  I then added | (pipes).  The file updated, but did not index.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2015 22:49:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177968#M35679</guid>
      <dc:creator>jldebell</dc:creator>
      <dc:date>2015-03-16T22:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: How do you reload a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177969#M35680</link>
      <description>&lt;P&gt;If I understand correctly, this will clean out the file so then I can re-index it.  It won't impact other files since I am specifying which to look for.  I will try this.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2015 22:50:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177969#M35680</guid>
      <dc:creator>jldebell</dc:creator>
      <dc:date>2015-03-16T22:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: How do you reload a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177970#M35681</link>
      <description>&lt;P&gt;Thanks for the reference.  i was reading about the one shot and fish bucket clean up.  I will see if this will work.  Thanks!  &lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2015 22:52:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177970#M35681</guid>
      <dc:creator>jldebell</dc:creator>
      <dc:date>2015-03-16T22:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do you reload a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177971#M35682</link>
      <description>&lt;P&gt;I tried the string, but I am getting a file path not recognized.  I am in the server, drilled down to the splunk_private_db and then added the string.  The first path was the splunk_private_bd  and the second was the path to the file.  I was able to tab and have it pull the information (auto-fill function in Unix).  Which I would expect that if I tab and it auto-fills that the path exists.  I am guessing it is a user error and I played around based on documentation, but I am not catching it.&lt;/P&gt;

&lt;P&gt;In the server:&lt;BR /&gt;
logged in as Splunk.&lt;/P&gt;

&lt;P&gt;navigate to the &lt;STRONG&gt;/opt/splunk/var/lib/splunk/fishbucket/splunk_private_db/&lt;/STRONG&gt; folder&lt;/P&gt;

&lt;P&gt;add the following details:&lt;/P&gt;

&lt;P&gt;./splunk cmd btprobe -d /opt/splunk/var/lib/splunk/fishbucket/splunk_private_db/ --file /opt/splunk/F1/F2/text_file.TXT --reset&lt;/P&gt;

&lt;P&gt;Error message:&lt;/P&gt;

&lt;P&gt;-bash: ./splunk: No such file or directory&lt;/P&gt;

&lt;P&gt;I am going to search on error messages related to the command and see if i can find anything.  Please keep me posted if you see anything I missed.&lt;/P&gt;

&lt;P&gt;Thanks, Jenn&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:10:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177971#M35682</guid>
      <dc:creator>jldebell</dc:creator>
      <dc:date>2020-09-28T19:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do you reload a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177972#M35683</link>
      <description>&lt;P&gt;If your using bash on a *nix based system make sure your in the $SPLUNK_HOME/bin directory before you run that command. Or add /opt/splunk/bin/splunk cmd [etc] to your command.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Mar 2015 22:42:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177972#M35683</guid>
      <dc:creator>glennpierce</dc:creator>
      <dc:date>2015-03-17T22:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: How do you reload a file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177973#M35684</link>
      <description>&lt;P&gt;The files were not able to reload because there was a TIME_FORMAT error associated.  I was able to get the formatting corrected and reload the files.  The error message was over a week old, but it was the root cause.  I have included the link to the other question associated in case others encounter something similar.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/224111/how-do-i-properly-describe-non-standard-datetime-f.html#answer-224256"&gt;http://answers.splunk.com/answers/224111/how-do-i-properly-describe-non-standard-datetime-f.html#answer-224256&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thanks again for everyone's assistance.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 21:14:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-you-reload-a-file/m-p/177973#M35684</guid>
      <dc:creator>jldebell</dc:creator>
      <dc:date>2015-04-08T21:14:00Z</dc:date>
    </item>
  </channel>
</rss>

