Dashboards & Visualizations

Edit Form/Dashboard XML manually , Splunk does not refresh unless XML edited through GUI

DanMurad
Explorer

It seems I can't edit dashboard and form XML's using my own editor. Upon saving, Splunk does not refresh (probably because it reads from DB cache instead of file?), how can I force it to read the file every time it changes because I'd like to use my own IDE instead of the splunk xml editor.

Thanks,

Tags (3)

stevewillson
New Member

Restarting with 

 

 

http://debug/refresh

 

 

 worked when editing files outside of Splunk Enterprise 8.0.6.

 

If I edit the file directly in (\default\data\ui\views\) and then click on the App in the upper left corner of the screen under 'Apps', the display content for the modified file is not updated.

Confirming what @DanMurad posted.

 

0 Karma

devicenul1
Path Finder

Yes, I tried both the reload all objects and just views ... the views one doesn't work, the all objects one will sometimes work.

0 Karma

nfilippi_splunk
Splunk Employee
Splunk Employee

Did you try the reload endpoint as listed below? After doing this reload, we need to refresh the dashboard page.

http://:/debug/refresh

0 Karma

devicenul1
Path Finder

I'm having this exact same problem with Version 6.1.1 ... Any other ideas here, I've tried everything listed but it will not refresh custom dashboards. Doing a ?showsource=1 shows the out of date code.

0 Karma

nfilippi_splunk
Splunk Employee
Splunk Employee

You can reload these from disk using the following endpoint(s).

To reload all objects:
http://:/debug/refresh

To reload views only:
http://:/debug/refresh?entity=%2Fdata%2Fui%2Fnav&entity=%2Fdata%2Fui%2Fviews

Ayn
Legend

All views in the app are refreshed when you access the app's start URL ( .../apps/yourapp ). You can just click the app logo at the top left corner in your app in splunkweb to achieve the same thing.

Ayn
Legend

That is exactly what I mean. The methods I describe work perfectly for refreshing on the Dplunk instances I've used.

0 Karma

DanMurad
Explorer

This is incorrect. It does not refresh. I hope you understand when I say edit the xml I mean editing the file /opt/splunk/etc/apps//local/data/ui/views/.xml

0 Karma

DanMurad
Explorer

It would have been tolerable if Save button didn't exit everytime making you find and click the view name again to edit it.

0 Karma
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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...