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!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...