Splunk Search

How to use command "splunk resurrect".

melonman
Motivator

Hi,

question about restoration of indexed data. I know how to restore(or search old) indexes data by putting necessary files in a thaweddb.

I would like to know how to use command "splunk resurrect", to restore the index specified period of time by the "splunk resurrect" command.

http://www.splunk.com/base/Documentation/4.1.2/Admin/CLIadmincommands

I am referring to the page above, but I can't get successful result. I would appreciate if you could explain how to use "splunk resurrect" with some example case.

Thank you!

Tags (1)
1 Solution

rroberts
Splunk Employee
Splunk Employee

From the CLI type... splunk help resurrect. Are you running the command like so....

splunk resurrect /tmp/myarchive/location myindex 01/01/2000:00:00:00 01/01/2001:00:00:00

/tmp/myarchive/location = path to archive file myindex = name of index to resurrect to.

View solution in original post

rroberts
Splunk Employee
Splunk Employee

From the CLI type... splunk help resurrect. Are you running the command like so....

splunk resurrect /tmp/myarchive/location myindex 01/01/2000:00:00:00 01/01/2001:00:00:00

/tmp/myarchive/location = path to archive file myindex = name of index to resurrect to.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...