Dashboards & Visualizations

Horizontal line

smolcj
Builder

hi all
<hr> tag in html helps o draw a horizontal line in a form , but it doesn't have a closing tag, may be because of this i can't use this tag in my simple xml code, can anybody please help to draw a horizontal line in my splunk form.
thank you

Labels (2)
Tags (1)
0 Karma
1 Solution

smolcj
Builder

can be done in advanced XML



<![CDATA[


hr br
]]>

View solution in original post

astatrial
Contributor

To anyone who will come across this, you can use html and hr tag inside splunk dashboards, as follow:

<html>
<hr/>
</html>

smolcj
Builder

can be done in advanced XML



<![CDATA[


hr br
]]>

lguinn2
Legend

Splunk XML is not the same as HTML. You cannot use HTML tags in Splunk XML (not in simple XML and not in advanced XML.)

You can have an HTML panel in a dashboard - and within the HTML panel you can use HTML tags.

See here for more info about HTML panels.

0 Karma

smolcj
Builder

thanks lguinn, but can u help me draw this line. how can i embedd this <hr> tag in html, i can do all other tags like <P> <h1> etc, do i have any alternative to draw a line . please help

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

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 ...