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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...