All Apps and Add-ons

Views from local directory are not loading in sideview utils

strive
Influencer

Hi,

We are using sideview utils in our application. Our application is developed using flex. On clicking a link we load the view xml file from sideview utils.

We did some customization as per our need. We have report.xml and pivot_report.xml in local directory. report.xml is mapped to a link and pivot_report.xml is mapped to another link. Till yesterday both were working perfectly. From today morning we are unable to see the page which uses pivot_report.xml file.

We are getting 404 Not Found error. Splunk cannot find the "pivot_report" view.

The files are in same location and no changes done to the file.

Thanks

Mahesh

1 Solution

sideview
SplunkTrust
SplunkTrust

There's really not enough information here to give any kind of good answer. However I can say that whenever SplunkWeb gives back a 404 for a view that seems to be there, this means there's an XML parse error, or you've omitted a <list> node in some array param, or done something weird and obscure that it doesn't like. I hit them all the time during development and you just have to back out changes. Unfortunately SplunkWeb gives no real useful information into the splunk logs about what went wrong. Post the views and the customizations though and maybe I can spot something. Or email them to me at nick [at] sideviewapps.com

What version of Splunk and what version of Sideview Utils? And what's the app?

If I can help any more I will update my answer.

View solution in original post

0 Karma

sideview
SplunkTrust
SplunkTrust

There's really not enough information here to give any kind of good answer. However I can say that whenever SplunkWeb gives back a 404 for a view that seems to be there, this means there's an XML parse error, or you've omitted a <list> node in some array param, or done something weird and obscure that it doesn't like. I hit them all the time during development and you just have to back out changes. Unfortunately SplunkWeb gives no real useful information into the splunk logs about what went wrong. Post the views and the customizations though and maybe I can spot something. Or email them to me at nick [at] sideviewapps.com

What version of Splunk and what version of Sideview Utils? And what's the app?

If I can help any more I will update my answer.

0 Karma

strive
Influencer

Hi, Thanks for your response. As you mentioned i had done some thing weird. I backed out all my changes and started adding one by one. I hit the error and fixed it.

0 Karma

strive
Influencer

NameError: global name 'lib' is not defined
2013-07-03 15:40:20,435 ERROR [51d3f88c011df63a90] memoizedviews:116 - Error loading view "pivot_report"
2013-07-03 15:40:20,435 ERROR [51d3f88c011df63a90] memoizedviews:117 - global name 'lib' is not defined

We have these errors in web_service.log

0 Karma
Get Updates on the Splunk Community!

Earn a $35 Gift Card for Answering our Splunk Admins & App Developer Survey

Survey for Splunk Admins and App Developers is open now! | Earn a $35 gift card!      Hello there,  Splunk ...

Continuing Innovation & New Integrations Unlock Full Stack Observability For Your ...

You’ve probably heard the latest about AppDynamics joining the Splunk Observability portfolio, deepening our ...

Monitoring Amazon Elastic Kubernetes Service (EKS)

As we’ve seen, integrating Kubernetes environments with Splunk Observability Cloud is a quick and easy way to ...