How to add scroll bar in the dashboard panel?

How to add scroll bar in the dashboard panel?

In a Splunk dashboard panel we can add lots of visualization according to our need, but in case of statistical table there can be numerous row , for that reason dashboard can be really long and which is common problem for all. So is there any solution? Yes we have. By adding a simple vertical scroll bar can neglect this problem very easily. So lets start.

Suppose we have this dashboard where we want to add a scroll bar into the second panel.

1

At first click edit and  go to Source code and put this html code in a dedicated panel.

  <row depends="$dont_show$">

    <panel>

      <html>

         <style>

           #name {

             overflow: auto;

             max-height: 200px;

           }

         </style>

       </html>

    </panel>

  </row>
2

After this save and refresh your page once, now you can see the changes.

3

But the problem is what if, you want to add scroll bar for only second panel?

Then need to assign a panel id, in that particular panel where scroll bar need to added.

4

After this save and refresh your page once, you can see the changes.

5

Now, I hope you have understood how to add scroll bar in the dashboard panel

You can also know about :  How to change width of a dashboard panel?

Happy Splunking !!

Advertisements

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.