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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...