Splunk Search

Insert a heading between rows and customise it.?

navd
New Member

How can I add a heading between two rows , my each row on dashboard has three panels . and can i customize it ?

Tags (1)
0 Karma

DalJeanis
Legend

Adapted from an answer provided on slack by @firebus

<row>
  <html>
    <h2>This is the title for row 1</h2>
  </html>
</row>
<row>
  <panel>
    <title>This is the first panel in row 1 </title>
  </panel>
  <panel>
    <title>This is the second panel in row 1</title>
  </panel>
</row>

ruman_splunk
Splunk Employee
Splunk Employee

Thanks Dal! This allows me to upgoat my own answer XD

0 Karma

somesoni2
Revered Legend

Could you provide more details on your requirement? May be a mock output? I believe you can add an html panel to show any text that you want to show in a row.
https://docs.splunk.com/Documentation/SplunkCloud/7.0.0/Viz/PanelreferenceforSimplifiedXML#html

0 Karma

navd
New Member

yes , I have added html panel to show text , just wondering if there is any ui option for it . Thank you.

0 Karma

somesoni2
Revered Legend

What version of Splunk are you using?

0 Karma

navd
New Member

version 7.0.3

0 Karma

somesoni2
Revered Legend

How does your dashboard look like, in Pseudo code of simple xml element? E.g. Is it like this

<row>
<panel>..<...visualization eg table/chart.>.</panel>
<panel>..<...visualization eg table/chart.>.</panel>
<panel>...<...visualization eg table/chart.>.</panel>
</row>

Based on Splunk documentation on simple xml, a panel has title and each visualization element has title, so if you could add 3 visualization in single panel, the panel title will become your row title, and visualization title will become your panel title.

<row>
<panel>..
<...visualization eg table/chart.>
<...visualization eg table/chart.>
<...visualization eg table/chart.>.
</panel>
</row>
0 Karma

navd
New Member

yes it looks like this

..<...visualization eg table/chart.>.
..<...visualization eg table/chart.>.
...<...visualization eg table/chart.>.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Vibe-coding, AI, and Splunkcraft: Highlights from the .conf26 Builder Bar

If you stopped by the Builder Bar at .conf26, thank you! This year, we brought ...

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...