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
Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...