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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...