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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...