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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...