Dashboards & Visualizations

deletion of search button

chandansingh
Explorer

Hi All, can we remove search button from view? beacuse i want to show only static results of report to user.

0 Karma

sideview
SplunkTrust
SplunkTrust

Removing just the SubmitButton wont make the view read-only.

You'll have to remove the SearchBar, the TimeRangePicker and the SubmitButton, as all three of these modules can push new search data downstream, and it's these downstream pushes that cause searches to get kicked off.

Ant1D
Motivator

If your view file is in advanced xml form, then look for the SubmitButton module (e.g. <module name="SubmitButton"></module> ) and remove it from the view.

The view file will be in either $SPLUNK_HOME$/etc/apps/$your_app$/default/data/ui/views/ OR $SPLUNK_HOME$/etc/apps/$your_app$/local/data/ui/views/

jbsplunk
Splunk Employee
Splunk Employee

You'd need to edit the $SPLUNK_HOME/etc/apps//default/data/ui/nav/default.xml. These reside in the TitleBar and Appbar modules.

0 Karma

chandansingh
Explorer

i didnt see titleBar abd Appbar in $SPLUNK_HOME/etc/apps//default/data/ui/nav/default.xml file

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...