Dashboards & Visualizations

Why is my "hello, world!" program not running after following instructions on http://dev.splunk.com/view/SP-CAAAERB (create custom splunk view)?

chethan_kumar01
Explorer

I have literally followed instructions provided in http://dev.splunk.com/view/SP-CAAAERA and http://dev.splunk.com/view/SP-CAAAERB, to create an app and a custom splunk view. And, I have maintained same file name and folder structure. However, I'm not able to see 'Hello World' printed on the custom view or on console.

Splunk version: 6.2.5
Folder structure of .JS files: C:\Program Files\Splunk\etc\apps\customviewtutorial\appserver\static

Tags (2)
0 Karma
1 Solution

chethan_kumar01
Explorer

Cache was the culprit here. After clearing the cache, issue got resolved!

View solution in original post

0 Karma

chethan_kumar01
Explorer

Cache was the culprit here. After clearing the cache, issue got resolved!

0 Karma

kbarker302
Communicator

I just ran through the tutorial - did you restart Splunk?

0 Karma

chethan_kumar01
Explorer

It might be that the referenced javascript file (customview.js) could not be located by Splunk, even though it's located in C:\Program Files\Splunk\etc\apps\customviewtutorial\appserver\static.

I faced similar problem when I tried creating a dashboard as per instructions provided in "http://dev.splunk.com/view/SP-CAAAE4M\"

0 Karma

chethan_kumar01
Explorer

Yes, I did restart Splunk. Also, I ran a '.../debug/refresh' URL to refresh Splunk Web to load the changes to the JavaScript files. However, it didn't help either.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...