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!

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...

Cloud Platform & Enterprise: Classic Dashboard Export Feature Deprecation

As of Splunk Cloud Platform 9.3.2408 and Splunk Enterprise 9.4, classic dashboard export features are now ...