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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...