Dashboards & Visualizations

How to modify the Master.html file?

edoardo_vicendo
Contributor

Hello,

We are trying to modify the Master.html file but our modifications do not reflect as expected.

Inspecting the page with Chrome DevTools Overview (F12 button) we realized that the highest element in the page (The black Splunk bar where "Messages", "Settings" menu appears) is located here:

 views/shared/splunkbar/Master

So then we found in our local machine that the file is at the following path:

 C:\Program Files\Splunk\share\splunk\search_mrsparkle\exposed\js\views\shared\splunkbar\Master.html

After that we tried to modify the Master.html adding a script tag to display a message in the console:

 <script type="text/javascript">
     console.log("[1] Test");
 </script>

Cleaned the browser cache and restarted the Splunk Server but nothing appears...
Do you know if we are doing something wrong?

Thanks a lot,
Edoardo

Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...