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
Get Updates on the Splunk Community!

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

&#x1f5e3; You Spoke, We Listened Audit Trail v2 wasn’t written in isolation—it was shaped by your voices. In ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

 Prepare to elevate your security operations with the powerful upgrade to Splunk Enterprise Security 8.x! This ...

Get Early Access to AI Playbook Authoring: Apply for the Alpha Private Preview ...

Passionate about security automation? Apply now to our AI Playbook Authoring Alpha private preview ...