Quantcast
Channel: Latest Questions on Splunk Answers
Viewing all articles
Browse latest Browse all 13053

Adding javascript without restarting splunk

$
0
0

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/viewshttp://YOUR_SERVER:8000/en-US/debug/refresh?entity=/data/ui/navhttp://YOUR_SERVER:8000/en-US/debug/refresh

Thanks


Viewing all articles
Browse latest Browse all 13053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>