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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...