Refine your search:

Hello everyone,

I'm working with Splunk and Nagios integrated (at Zappos), and we just changed our approach to monitor an application. We have set up almost 70 scheduled searches but we need to disable, and then erase, all of them, but we don't need to lose those. So, I'm wondering if there's any chance that Scheduled Searches, and Saved Searches, could be exported from their .conf or wherever they are stored in order to add them back to Splunk in a near (or not that near) future.

I'll appreciate any input on this.
Thank you for you time. Cheers.


Gonzalo Foligna
Level 1 Operations Support - www.edrans.com
London: +44 20 3318 1571 | Buenos Aires: +54 11 5368 5839 - Ext. 8014

asked 08 Aug '11, 15:41

gfoligna0's gravatar image

gfoligna0
33
accept rate: 0%


One Answer:

All saved searches including their scheduling (if any), name, search parameters etc reside in savedsearches.conf. Create backups of these files and you will have effectively created backups of the saved searches themselves.

NOTE that, as you may know, like pretty much any Splunk configuration file savedsearches.conf can reside in multiple locations, so make sure you look in all the right places (for instance $SPLUNK_HOME/etc/apps/<yourApp>/local/savedsearches.conf would be likely if the saved searches reside inside a specific app).

link

answered 08 Aug '11, 22:06

Ayn's gravatar image

Ayn
9.6k1315
accept rate: 38%

Thanks! I'll check that and get back to you.

(09 Aug '11, 15:35) gfoligna0

It works perfectly!

Thank you!

(11 Aug '11, 10:33) gfoligna0
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,088
×311
×70
×62
×16

Asked: 08 Aug '11, 15:41

Seen: 501 times

Last updated: 11 Aug '11, 10:33

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