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 | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...