Dashboards & Visualizations
Highlighted

Horizontal line

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
Highlighted

Re: Horizontal line

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
Highlighted

Re: Horizontal line

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
Highlighted

Re: Horizontal line

Builder

can be done in advanced XML



<![CDATA[


hr br
]]>

View solution in original post

Highlighted

Re: Horizontal line

Communicator

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

<html>
<hr/>
</html>
0 Karma