Dashboards & Visualizations

how to debug applications

robgreen
Path Finder

I am having a heck of a time trying to debug advanced xml so i am wondering if maybe i am just missing something. Basically i have a view with advanced xml in it, i have to do this

  1. modify the xml
  2. bin/splunk restart (not just restart splunkweb)
  3. reload ui and re login
  4. browse to my app and load the view
  5. if it doesn't work goto step 1

is there an easier way for modifying the xml is the first question, and the second question are there logs i can look at that tells me why my view isn't working? usually my panel is blank with no reason as to why. even things like search query being bad doesn't display in the messages panel. I am using an xml editor so the xml is well-formed.

rob

Tags (1)
0 Karma

Drainy
Champion

Welcome!
I assume you are editing the XML outside of Splunk? This can be problematic and Splunk can do the validation for you but if you are using an editor you should be ok.

Just because there are no errors being displayed doesn't mean that there are no problems however, it could be that Splunk has merely interpreted your xml in a way that results in.. nothing.
The quickest way to troubleshoot would be if you could paste an example on here so we can check it out.

Also to save time, when you save your externally modified XML just run the following URL to reload the internal cache on the fly;
http://SPLUNKSERVER:PORT/en-US/debug/refresh?entity=/admin/views

This will force splunk to do a reload, no restart required!

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Kick the Tires Before You Commit: A Hands-On Tour of the Splunk Observability Cloud ...

Evaluating an enterprise observability platform usually goes like this: fill out a form, get a free trial with ...

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...