Dashboards & Visualizations

Adding javascript without restarting splunk

adylent
Path Finder

I'm looking at changing a javascript file on a Splunk6 instance which I can not bounce. I noticed that if I copy the original file to a new one, then reference the new file, it doesn't run.

Is there a way to force splunk to pickup this change?

<dashboard script="custom_viz.js">
  <row>
           <html>
            <h2>Zone</h2>
            <div id="custom"></div>
        </html>
    </row>
</dashboard>

If I

cp custom_viz.js test.js

and change the reference to test.js, nothing renders.

These aren't helping any

http://YOUR_SERVER:8000/en-US/debug/refresh?entity=/data/ui/views
http://YOUR_SERVER:8000/en-US/debug/refresh?entity=/data/ui/nav
http://YOUR_SERVER:8000/en-US/debug/refresh

Thanks

Get Updates on the Splunk Community!

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 ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...