Splunk Search

Relationship between Splunkweb Manager config and .conf files?

muebel
SplunkTrust
SplunkTrust

I have a saved search that I modified in the Splunkweb Manager. I look at the same search in the savedsearch.conf file, and the changes are not registered there. I have performed a splunk restart from the web, and the change still hasn't shown up in the .conf file.

If I run

| savedsearch "<searchname>"

it pulls up and runs the search as saved in the .conf file. However, the search is run on a schedule, and the scheduled search is following the Splunkweb configuration.

What causes the Splunkweb saved search configuration to sync up with the .conf files, and what could be stopping it from happening in this case?

1 Solution

Genti
Splunk Employee
Splunk Employee

here's what i feel is happening:
First note that you might have more then just one savedsearches.conf file. The one that you are looking at is probably not the one that has the changes you submitted through splunkweb.

Check under these folders for the savedsearches.conf that reflects the changes you did:

/users/admin/search/local/savedsearches.conf or perhaps instead of admin use the user you usually login to splunk. /apps/search/local/savedsearches.conf

if youre running splunk on a unix machine you could also try running (from the splunk/etc folder) : find . -name savedsearches.conf

Usually, the changes should be instantaneous and you do not have to restart your server.
Let me know if this helped.
.gz

View solution in original post

muebel
SplunkTrust
SplunkTrust

Performed another restart after changing the Splunkweb Config for the search and it is now synced up.

0 Karma

Genti
Splunk Employee
Splunk Employee

here's what i feel is happening:
First note that you might have more then just one savedsearches.conf file. The one that you are looking at is probably not the one that has the changes you submitted through splunkweb.

Check under these folders for the savedsearches.conf that reflects the changes you did:

/users/admin/search/local/savedsearches.conf or perhaps instead of admin use the user you usually login to splunk. /apps/search/local/savedsearches.conf

if youre running splunk on a unix machine you could also try running (from the splunk/etc folder) : find . -name savedsearches.conf

Usually, the changes should be instantaneous and you do not have to restart your server.
Let me know if this helped.
.gz

gkanapathy
Splunk Employee
Splunk Employee

Don't forget the savedsearches.conf that might be under the etc/users/ directory too.

0 Karma

muebel
SplunkTrust
SplunkTrust

The savedsearch is stored in the search app context. The changes didn't seem to be instantaneous this time, for this search.

0 Karma

muebel
SplunkTrust
SplunkTrust

I performed another restart and the Splunkweb Config reverted to what is in the .conf file. Changing Splunkweb config again...

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...