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!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...