Dashboards & Visualizations

Insert custom comments and link in Dashboard XML

pinzer
Path Finder

Hi all,

we'd like to insert a custom comment in a dashboard before or after a report?

How can we do? We have to change XML code, but in which mode?

Thank you regards

0 Karma
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

Dan
Splunk Employee
Splunk Employee

Btw, the equivalent in advanced xml is StaticContentSample. In the "text" param, you just need to escape the special xml characters:

<
&
>
"
'

An example is:

<module name="StaticContentSample" layoutPanel="panel_row1_col1">
    <param name="text">&lt;a name="NowYouCanLinkToThisSpot"&gt;&lt;/a&gt;</param>
</module>
0 Karma

gkanapathy
Splunk Employee
Splunk Employee

Perhaps the HTML module is what you're looking for: http://www.splunk.com/base/Documentation/latest/Developer/AddHTML

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...