Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

adding JS in splunk dahsboard

$
0
0
Hi splunkers, I am using code provided below for adding the code.js in my splunk dashboard.

Click the following button to call the function

Use different text in write method and then try...

And i have placed the code.js in /opt/splunk/etc/apps/manish_testing/appserver/static after that restarted splunk but still i am not getting the result code.js: splunk@manish121:~/etc/apps/manish_testing/appserver/static $ cat code.js function sayHello() { document.write ("Hello there!"); } Please help : Let me know if i am doing wrong or there is another way to do it.

Viewing all articles
Browse latest Browse all 47296

Trending Articles



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