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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...