Dashboards & Visualizations
Highlighted

Following the "Create a custom Splunk view" tutorial, but I receive "Failed to load resource: the server responded with a status of 404" error. How to fix?

Communicator

I'm evaluating the Splunk Enterprise product.
I'm following the tutorial: Create a custom Splunk view - http://dev.splunk.com/view/SP-CAAAEQ8
but I have the following error:

[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (customview.js, line 0) http://192.168.56.101:8000/en-US/static/@59c8927def0f/app/customviewtutorial/customview.js

the content of /opt/splunk/etc/apps/customviewtutorial is this:

drwxr-xr-x  3 splunk splunk 4096 Nov 21 18:44 appserver
drwxr-xr-x  2 splunk splunk 4096 Nov 21 18:41 bin
drwxr-xr-x  3 splunk splunk 4096 Nov 21 18:41 default
drwxr-xr-x  3 splunk splunk 4096 Nov 21 18:42 local
drwxr-xr-x  2 splunk splunk 4096 Nov 21 18:43 metadata

and the content of /opt/splunk/etc/apps/customviewtutorial/appserver/static is this:

-rwxr-xr-x 1 splunk splunk  287 Nov 21 18:45 customview.js
-rwxr-xr-x 1 splunk splunk  670 Nov 21 18:45 demoview.js

What am I doing wrong?

Highlighted

Re: Following the "Create a custom Splunk view" tutorial, but I receive "Failed to load resource: the server responded with a status of 404" error. How to fix?

Communicator

I've updated the version of Splunk enterprise form 6.5.0 to 6.5.1 and now it's working fine

0 Karma
Highlighted

Re: Following the "Create a custom Splunk view" tutorial, but I receive "Failed to load resource: the server responded with a status of 404" error. How to fix?

New Member

still having the issue on 6.5.1

0 Karma
Highlighted

Re: Following the "Create a custom Splunk view" tutorial, but I receive "Failed to load resource: the server responded with a status of 404" error. How to fix?

Engager

I'm also seeing this issue on 6.5.1 (build f740366626f0c).
GET http://10.2.8.230:8000/en-US/static/@f74036626f0c/app/customviewtutorial/customview.js 404 (Not Found)

What is confusing is that the HTTP get request is for en-US/static/@f74036626f0c/app/customviewtutorial/customview.js, and yet the file is located at /opt/splunk/etc/apps/customviewtutorial/appserver/static/customview.js. In my case the customview.js is owned by root, rather than splunk. Not sure if that is the problem.

0 Karma
Highlighted

Re: Following the "Create a custom Splunk view" tutorial, but I receive "Failed to load resource: the server responded with a status of 404" error. How to fix?

Engager

Had similar issue on 6.5.1. In my case, the problem happened when using Chrome Version 43.0.2357.81 (64-bit). There was no problem with Firefox or Safari.

Highlighted

Re: Following the "Create a custom Splunk view" tutorial, but I receive "Failed to load resource: the server responded with a status of 404" error. How to fix?

Path Finder

Same here, working in Firefox but not in Chrome. Path is confusing would be helpful if this were mentioned/explained in the doc.

0 Karma
Highlighted

Re: Following the "Create a custom Splunk view" tutorial, but I receive "Failed to load resource: the server responded with a status of 404" error. How to fix?

New Member

Im using splunk7.x and have same error.
So, i change the URL x.x.x.x/ja-JP to x.x.x.x/en-US and this error was resolved

0 Karma
Highlighted

Re: Following the "Create a custom Splunk view" tutorial, but I receive "Failed to load resource: the server responded with a status of 404" error. How to fix?

New Member
0 Karma