Reporting

How to override a savedsearch name ?

nibinabr
Communicator

I have a savedsearch defined in my savedsearches.conf like the following

[my_saved_search]
search = "index=........"
earliest = "-30d@d"
.......

Hence the savedsearch view and the mysplunk.com/myapp/reports/ shows this saved search as "my_saved_search".
Is there an attribute that I can set to override the name of the saved search (because I don't want the display to have underscore). As mentioned in the savedsearches.conf I tried setting

displayview = My Saved Search

but doesn't seem to work.

Any help is appreciated.

0 Karma

somesoni2
Revered Legend

The displayview is the name of dashboard in which the result of the saved search will be show, so that wouldn't have worked any ways.

For Saved search, there is no separate property called label or tile. The stanza name is the one which is shown in Reports dashboard and URL. So your option would be have the stanza named the way you want it to be displayed in UI, if acceptable.

0 Karma

EdgarAllenProse
Path Finder

I remember reading about how making changes like that in savedsearches.conf is discouraged, however when I accidentally use a naming convention that doesn't match the rest of my saved searches my work around is to clone the saved search giving it the name you want and deleted the old saved search.

0 Karma

nibinabr
Communicator

The reason why I want to override the name is because I would like to keep the underscores in the stanza name (my OCD) in the savedsearches.conf but don't want that to be shown in the display name in the UI.

0 Karma

EdgarAllenProse
Path Finder

Oh, gotcha, I'm not sure that will work based off of the way splunk references .conf, but if it is possible this doc may be of assistance:

http://docs.splunk.com/Documentation/Splunk/6.5.0/Admin/AboutConfigurationFiles

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...