Splunk Search

can i edit "Searches and reports" throgh file?

perlish
Communicator

i want edit "Searches and reports" to add some search, but through web ui to add is very slowly,
wheather i can add it through add some file? like "dashboard and views", i can edit it through edit xml file.

Tags (1)
0 Karma

MHibbin
Influencer

Yes, is the answer basically, searches can be edited/added via the "savedsearches.conf" file located in the $SPLUNK_HOME/etc/apps/<yourApp>/local directory (or $SPLUNK_HOME/etc/system/local or $SPLUNK_HOME/etc/users/<userName>/<appName>/local directories)

Remember to back files edited vai the CLI just in case something goes wrong 🙂 (best practice #1 IMHO)

Regards,

MHibbin

Mahieu
Communicator

Yes you can.
Dpending on the application you want to create the dashboard in, go to :

/opt/splunk/etc/apps//local/data/ui/views

Then create or edit a .xml file.

Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...