Dashboards & Visualizations

How can I identify dashboards in advanced xml

RobertRi
Communicator

Hi!

I would like to upgrade my Splunk environment to V8 and one prereq is, to have all dashboards with advanced xml converted or made new in simple xml.

How can I find dashboards with advanced xml? .. because there are a lot of them and maybe there is a special structure on which i can search in file system or maybe there is an option to search in splunk search?

Thanks
Rob

Labels (1)
Tags (1)
0 Karma
1 Solution

ololdach
Builder

Hi RobertRi,
unfortunately there is no easy answer that I am aware of. Depending on where you come from, there have been many changes and extensions to both, the query language and the XML tags. Also, if your apps include python, you might want to make the move from 2.7->3.7
What I did last time is that I started a v8 docker image/VM, added it as another search head to my indexer cluster, copied all apps from the main search head to the new search head and tested every single dashboard for functionality and speed. It worked like a charm and has become my standard procedure to test new releases before deploying them.
Hope it helps
Oliver

View solution in original post

0 Karma

ololdach
Builder

Hi RobertRi,
unfortunately there is no easy answer that I am aware of. Depending on where you come from, there have been many changes and extensions to both, the query language and the XML tags. Also, if your apps include python, you might want to make the move from 2.7->3.7
What I did last time is that I started a v8 docker image/VM, added it as another search head to my indexer cluster, copied all apps from the main search head to the new search head and tested every single dashboard for functionality and speed. It worked like a charm and has become my standard procedure to test new releases before deploying them.
Hope it helps
Oliver

0 Karma

RobertRi
Communicator

Hi Oliver!

As I know we haven't any views with python embedded, so there is no need to care about that.

I think that I can search for xml files with the "module name" tag in the ui/views folders,
or could it be that simple xml have that tag too?

Thank you
Robert

0 Karma

ololdach
Builder

Hi RobertRi,
from experience I see that the problem you are trying to solve is just a subset of the troubles that you face. Again, depending on where you come from, a lot of things have changed and IMHO there is only one efficient way to find out if your dashboards still work or not. Aside from that, looking for the tag is a way to identify your views that use the deprecated xml.
Oliver

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...