Reporting

Is it possible to import saved searches from 3.x splunk into 4.x splunk

ebailey
Communicator

We have a large number of 3.x splunk saved searches that I need to import into our new splunk 4.x distributed search server. I see that the format of the saved searches are very different. Is this at all possible? I would like to avoid having to manually enter each saved search.

Thanks

Ed

Tags (1)

gkanapathy
Splunk Employee
Splunk Employee

Actually, in most cases you can just copy the entire savedsearches.conf file. While 4.x changes settings names, the old ones are still recognized. A slightly more reliable way is to install 4.x over the 3.x instance and start it up, which will run the auto-migration that will update the files.

gkanapathy
Splunk Employee
Splunk Employee

There are in some places some syntax changes in some more obscure search commands, but those are rare.

0 Karma

Jaci
Splunk Employee
Splunk Employee

I found this other posting that might help answer your question. Unfortunately, there will be a little manual work involved.

http://answers.splunk.com/questions/1249/migrating-saved-search-from-3-x-to-4-x

There are also several pages of documentation that describes migrating saved searches on Splunk.com

http://www.splunk.com/base/Documentation/4.0.11/Installation/Whattoexpectwhenupgradingto4.0#What_you...

I hope that helps.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...