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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...