Splunk Search

adding descriptive text to a chart on a dashboard

mcbradford
Contributor

Can I add descriptive text to a chart on a dashboard. If yes - how. The only way I can get this work is by adding a new row. I really want the text to be with the chart.

Tags (2)

Glenn
Builder

Try using the <html> tag in your xml above your chart (works in basic xml), and add your text to it. The html tag is just a way to imbed html into the dashboard, which is fine for adding instructions or descriptions.

eg.

<row>
<html><p><strong>Your bold text here.</strong> Your normal text here.</p><html>
</row>

AndySplunks
Communicator

Your second html tag is missing a / to end the htlm code.

richnavis
Contributor

Did not shift for me.. This was a fine solution in my opinion..

0 Karma

Glenn
Builder

Yes, you are correct. Sorry!

0 Karma

mcbradford
Contributor

This will add a new panel with the text. The chart shifts to right.

0 Karma

BobM
Builder

Yes you can but you need to move to advanced xml views. I recommend you download the "UI Examples" app and look at advanced_intro4 for examples of this in use.

bmunson_splunk
Splunk Employee
Splunk Employee

Advanced xml is now depreciated. HTML is now possible in simple xml as stated above

Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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