Dashboards & Visualizations

The place of comment() in xml move to anywhere in the xml according to certain conditions.

Shuhei052492
Path Finder

Hello Splunker,

I am in trouble to happen the issue to move the place of comment as like "" automatically.

To use the root element of in dashboard, the comment () automatically moves.
There are two triggers below.

1.Add input panel with GUI.
2.Delete input panel in GUI.
3.Change to dark mode with GUI.

This issue will be happened without saving the above actions.
Also I have confirmed with the following version and found the patterns.
-version
v7.1.2, v7.3.1

-The pattern to move comment.

1. A comment outside the <row> element moves up one line in the  <fieldset> element .
2. Within the  <panel> element, the comment between </ panel> and </ table> moves to the line below .
3. The comment written one line below the  <table> element of  moves to the line one line of </ search>.

alt text

Finally, I have understood the comments did not move between </ search> and </ table>, which are the place to put .
Is it in the specifications? OR workaround?
I have already the answers.

https://answers.splunk.com/answers/371225/how-to-add-an-xml-comment-to-the-beginning-of-our.html

I appreciate any advice and tips.
Regards,

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...