Deployment Architecture

Will Splunk reindex the data files after server restart?

n4247558
New Member

I know that Splunk uses CRC to determine whether the data file has been modified and will index the new inserted data.

I want to know:
1. Where does Splunk store these information? Can we move these information data as files if we deploy Splunk to another server machine?
2. What if we restart Splunk? The whole data files will be reindexed or CRC still applies so that only new inserted data will be indexed?

Thanks!

0 Karma
1 Solution

satishsdange
Builder

Hi -

  1. All raw data is stored in $SPLUNK_HOME/var/lib/splunk directories. Before moving data to another Splunk server, its recommended to take backup. Please refer this link http://docs.splunk.com/Documentation/Splunk/6.2.1/Indexer/Backupindexeddata
  2. Splunk does not reindex raw data after restart unless you clean existing index data.

Hope this helps.

View solution in original post

jrc_seville_it
New Member

Hi,

I had some problems with reindexing after server restart... it seems the problem was caused by the DB Inputs (using DB Connect), that refresh data after restart (even if the refresh interval was set to 10 years).
The solution was to DISABLE the static DB Inputs after indexing the tables for first time.

Regards,

0 Karma

82padarthi
Explorer

Hi

splunk store the information under the fishbucket. this index will have all the details

Regards
Vinod Padarthi

0 Karma

satishsdange
Builder

Hi -

  1. All raw data is stored in $SPLUNK_HOME/var/lib/splunk directories. Before moving data to another Splunk server, its recommended to take backup. Please refer this link http://docs.splunk.com/Documentation/Splunk/6.2.1/Indexer/Backupindexeddata
  2. Splunk does not reindex raw data after restart unless you clean existing index data.

Hope this helps.

Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...