Refine your search:

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?

asked 12 Jul '10, 16:34

muebel's gravatar image

muebel ♦
1.0k1117
accept rate: 40%

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

(12 Jul '10, 16:45) muebel ♦

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

(12 Jul '10, 16:53) muebel ♦

One Answer:

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

link

answered 12 Jul '10, 16:48

Genti's gravatar image

Genti ♦
3.5k122
accept rate: 36%

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

(12 Jul '10, 16:56) muebel ♦

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

(12 Jul '10, 19:55) gkanapathy ♦
Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×1,089
×311
×200
×71

Asked: 12 Jul '10, 16:34

Seen: 834 times

Last updated: 12 Jul '10, 16:48

Copyright © 2005-2012 Splunk, Inc. All rights reserved.