Dashboards & Visualizations

Add spaces between rows in dashboard

balash1979
Path Finder

I have the following code in my dashboard and I want to see spaces between rows

<dashboard theme="dark">
<row>   <--- 1st row
<panel>
<title>
<search> </search>
</panel> 
</panel>
<title>
<search> </search>
</panel>
</row>
<row> <---- 2nd row starts

Basically, i have 2 rows. Each row has 2 panels. How can I add a space between 2 rows so my dashboard is readable ?

Tags (1)
0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi balash1979,
probably there's an error in your question, at row 7 it's <panel> instead </panel>,otherwise it doesn't run! 😉

Anyway, to add an empty row you can insert an html box in a row:

<row>
     <panel>
          <html>
               <div style="width:100%;height:100%;text-align:center;">
               </div>
          </html>
     </panel>
</row>

On which you can choose the dimension of the box.

Bye.
Giuseppe

View solution in original post

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi balash1979,
probably there's an error in your question, at row 7 it's <panel> instead </panel>,otherwise it doesn't run! 😉

Anyway, to add an empty row you can insert an html box in a row:

<row>
     <panel>
          <html>
               <div style="width:100%;height:100%;text-align:center;">
               </div>
          </html>
     </panel>
</row>

On which you can choose the dimension of the box.

Bye.
Giuseppe

0 Karma

balash1979
Path Finder

You are correct. There is a typo in my original code.

0 Karma

Jordi-Lobo
New Member

For me this worked as a dividing bar between rows:

  <row>
    <panel>
      <html><div style="width:100%;height:1px;text-align:center; border-bottom: 2px solid #AA0000; padding: 0px; margin-left: 0px; margin-right: 0px; margin-bottom: 10px; margin-top: 10px;"><br></br></div></html>
    </panel>
  </row>

 

0 Karma
Get Updates on the Splunk Community!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...