Dashboards & Visualizations

How/where to edit a prebuilt panel?

New Member

I have a couple of "documentation" panels in one of my dashboards - each contains a single html tag bracketing the formatted text contents (no searches, etc., just nested bulleted and/or numbered lists). One provides condensed debug information = token values. The other provides release notes and lists known issues for the current version of the dashboard. I collect both in panels so that I can hide them (keeping the dashboard tidy) unless they are called up by yes/no "Show Debug" and "Show Notes" inputs.
I currently update these panels by editing the entire dashboard in the Simple XML editor - but I'd rather be able to edit these in isolation, without opening up (and risking accidental damage to) the entire dashboard - so I tried converting them to pre-built panels.
The questions:
1. Is there somewhere that I can edit a pre-built panel? I don't see the names I assigned them in the Dashboards or Reports lists.
(Is editing them not permitted/provided, because they're "pre-built"?)
2. Does someone have an alternate approach to embedding documentation in (or linking it to) a dashboard?
Thanks!

0 Karma
1 Solution

Esteemed Legend

You go to Settings -> User interface -> Prebuilt panels.

Not everything shows up under Settings -> All configurations !

View solution in original post

Legend

Pre-built panels should be constructed more in a way so that they are re-usable contents across all your dashboards. Since their code is not exposed within Simple XML you can change them only from Prebuilt panels menu.

Based on the needs that you have described you can also try embedding an HTML page directly in your Dashboard. Refer to HTML examples in Splunk 6.x Dashboard Examples App.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

New Member

Thanks niketnilay! You are correct, this is not the intended use of pre-built panels - I'm only doing it to separate these documentation panels (which are not reusable, being specific to one version of the containing dashboard) from the dashboard XML proper, which is quite large. I'll look into your embedded HTML page suggestion.
Thanks again!

0 Karma

Esteemed Legend

You go to Settings -> User interface -> Prebuilt panels.

Not everything shows up under Settings -> All configurations !

View solution in original post

New Member

Concise and accurate - thanks woodcock!

0 Karma

SplunkTrust
SplunkTrust

Howdy!

Pre-built panels are just another type of knowledge object. They reside in $APP_HOME/[default|local]/data/ui/panels. You can edit there, and <splunk>/en-US/debug/refresh?entity=admin/panels to reload the contents. You can refer to them in any dashboard you want, as long as permissions are correct.

Edit: Here's the link http://docs.splunk.com/Documentation/Splunk/6.6.1/Viz/AddPanels#Create_and_add_a_panel_by_reference

New Member

Thanks alacercogitatus for this more expansive answer - the link is helpful, covers the whole subject of adding panels, as well as editing pre-built ones.

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!