Dashboards & Visualizations

Can I create multiple rows of the tag title

liviafarris
Explorer

I am trying to separate in two rows my tag title without using an html tag with its linebraker.

TITLE TAG code >>> **<title>** STREAM BY AGE CATEGORY ( Stream: YYYYYYY Aging: YYYYYYY ) </title>

HTML TAG code >>> **<h2>** STREAM BY AGE CATEGORY </h2> **&lt;br/&gt;** <h2> ( Stream: YYYYYYY Aging: YYYYYYY ) </h2>

Can someone suggest me any solution?
Thanks in advance

0 Karma

woodcock
Esteemed Legend

Please explain more.

0 Karma

liviafarris
Explorer

no way to separate the title in 2 rows to produce this outcome?

first row: STREAM BY AGE CATEGORY
second row: ( Stream: YYYYYYY Aging: YYYYYYY )

Without using an html tag instead of the title tag?

@ololdach , @gcusello 🙂

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @liviafarris,
you can add an html box, but you cannot modify splunk tag structure, an example about how to add an html box is the following:

  <row>
    <panel>
      <html>
    <h3>The present web page allows users to check the prerequisites imposed by .......
            <a href="http://www.my_site.it">
              <p>
                 <u>My description</u>
            </p>
          </a>
        </h3> <hr/>
      </html>
    </panel>
  </row>

Yiu can find additionl infos at https://docs.splunk.com/Documentation/Splunk/8.0.0/Viz/BuildandeditdashboardswithSimplifiedXML

Ciao.
Giuseppe

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @liviafarris,
I think that you already verified that in a dashboard it's possible to have two rows for title:

  <label>STREAM BY AGE CATEGORY</label>
  <description> ( Stream: YYYYYYY Aging: YYYYYYY )</description>

Otherwise the only choice is to not use title and and an html box.

Ciao.
Giuseppe

0 Karma

liviafarris
Explorer

Thanks Giuseppe, my goal was to create a special CSS just for h2 tag.
So I wanted to separate my title in 2 rows and leave the css rules applied to it.

Thanks anyway, i will create a special div to apply my CSS, and 2 different htlm rows in addition to it!

0 Karma

gcusello
SplunkTrust
SplunkTrust

Perfect!
Ciao.
Giuseppe

0 Karma
Get Updates on the Splunk Community!

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 ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...