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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...