I cant figure on the simple XML to have a second line in the description of a dashboard.
Here's what I have:
Label
Description1. Description2.
Here's what I want:
Label
Description1.
Description2.
Any help is appreciated.
A workaround can be to place <html>
inside <fieldset>
even if you do not plan to add <input>
. (If you have no <input>
, make sure to make submitButton="false".)
You can always add a blank <row>
with only <html>
in it. This is not exactly a workaround because <html>
work the same way as in any other <row>
. It also has the side effect of showing in a different background colour from .
Technically you can add a line break in your description by adding one whitespace after your first line, adding an entire line of non-whitespace characters (enough to force a newline), adding one whitespace after that, and then adding your next line.
<description>First line ____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ Second line</description>
This gives me:
First line
-------------------------------------------------------------------------------------------------------------
Second line
(Looks better in Splunk)
It's not elegant, and is going to give you resizing/browser problems, but Splunk's SimpleXML was designed by a 5 year old, so
"5 year old" sounds about right!
I used to do great things with Advanced XML, now I am struggling just to make radio buttons work correctly and prevent table queries from running immediately upon loading a dashboard.
A workaround can be to place <html>
inside <fieldset>
even if you do not plan to add <input>
. (If you have no <input>
, make sure to make submitButton="false".)
You can always add a blank <row>
with only <html>
in it. This is not exactly a workaround because <html>
work the same way as in any other <row>
. It also has the side effect of showing in a different background colour from .
Thanks! I didn't know I could add html in there.
I have never found a way to do this. In the Panels, you can comment out the title
tag and use your own html
and then use <br>
but Splunk will not allow html
in the dashboard
node.