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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...