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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...