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.
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>![]()
After this save and refresh your page once, now you can see the changes.
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.
After this save and refresh your page once, you can see the changes.
Now, I hope you have understood how to add scroll bar in the dashboard panel
Happy Splunking !!