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.
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.
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.
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.
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