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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...