Splunk Enterprise Security

How to restore default ES correlation searches?

echojacques
Builder

Hello everyone,

I modified some of the correlation searches (CS) in Enterprise Security to better match my environment. However, I made the mistake of directly modifying the default CS instead of creating a new CS to modify from a copy of the default CS. This would have allowed me to easily restore the default CS if needed. So now, I don't have the original correlation search configuration anymore. Lesson learned.

So... is there a way to restore the default config for a correlation search? Specifically, the default schedule and search (since I modified both of these). Or, is there a document somewhere that contains the default CS configurations?

Thanks.

0 Karma
1 Solution

alacercogitatus
SplunkTrust
SplunkTrust

Be very careful when doing this, but in $SPLUNK_HOME/etc/apps/SplunkEnterpriseSecurityInstaller/default/src/etc/apps, you will see all the apps used to install ES. Simply find the ones you have changed, and see if their defaults are located within this folder.

View solution in original post

alacercogitatus
SplunkTrust
SplunkTrust

Be very careful when doing this, but in $SPLUNK_HOME/etc/apps/SplunkEnterpriseSecurityInstaller/default/src/etc/apps, you will see all the apps used to install ES. Simply find the ones you have changed, and see if their defaults are located within this folder.

echojacques
Builder

I found the default correlation searches (including the original search strings and the default schedules) in the in the "savedsearches.conf" file in the directory you specified. Thank you!!

0 Karma

BenjaminWyatt
Communicator

I believe that if you have modified the .conf files in the "default" directories, there is no way to restore the original searches without reinstalling ES, which you probably don't want to do, depending on the level of customization you have done.

If you have a dev instance, the best workaround is probably to install Enterprise Security in the dev environment. You don't have to run any of the correlation searches, but you can get their default values there are copy them into prod...hope that helps!

echojacques
Builder

Version 2.4.0 (I believe this is the latest version).

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

What version of ES?

0 Karma
Get Updates on the Splunk Community!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...