Dashboards & Visualizations

How to fix Dashboard Comments moving?

lennys26
Communicator

When editing a dashboard in source code, I add comments using <!-- -->,  but after saving the comments move location. It is not consistent -- they generally bunch together near the top, but sometimes others are left in place.

This has been an issue for some time and is referenced here - https://community.splunk.com/t5/Dashboards-Visualizations/Commented-code-moves-in-splunk-Dashboard/m...

I have tried moving the comments within different stanzas (<row>, <panel>, etc), and also played with the tab levels in case that was involved, however have not had luck.

It drives me batty.

Has this been figured out?

My Edits:

 

 

...
<!-- Some Comment -->
<row>
 <!-- Another Comment -->
 <panel>
   ...
   ...
 </panel>
</row>
...

 

 

 

Becomes:

 

 

...
...
<!-- Some Comment -->
<!-- Another Comment -->
<row>
 <panel>
   ...
   ...
 </panel>
</row>
...

 

 

 

 

 

Tags (2)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Sounds like a bug to me.  If you have a support agreement open a Support Request.  Otherwise, report it at https://ideas.splunk.com

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Sounds like a bug to me.  If you have a support agreement open a Support Request.  Otherwise, report it at https://ideas.splunk.com

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...