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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...