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!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...