Manipulating your dashboard layout

Our new dashboard is looking good, but there is a lot of wasted space that we can use a lot better. By now, you will have noticed the row elements that we have been using, and as you can well assume, each time we open the row element it also creates a new row for us. In our example, we can bunch our two single-value elements together in one row by removing the closing and opening elements in line 18 and 19 of our code. Or, instead of removing the code, we can use the comment feature of XML to comment out the two lines that we are talking about:

  1. We should by now know where our dashboard is on our development environment, so open the cell_counts.xml file.
  2. Change lines 18 and 19 to the following lines of code:
     18 ...

Get Learning Splunk Web Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.