Hi splunkers,
I am using code provided below for adding the code.js in my splunk dashboard.
|
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.
Click the following button to call the function
Use different text in write method and then try...