首页 > 解决方案 > Gridlines splunk 统计表

问题描述

我有 splunk 统计表仪表板,我需要该表的网格线,这在 splunk 中不可用,如在 excel 中

标签: dashboardsplunkgridlines

解决方案


假设这是在仪表板上,您可以更改元素的 CSS 以执行您想要的操作。

在仪表板的隐藏面板中,添加一些 CSS 样式 - 然后将元素连接到它们各自的样式。

例如,

<panel>
    <html depends="$hideCSS$">
        #chooser .table th{
            font-size: 0ps !important;
            visibility: hidden !important;
        }
        #chooser .table td, .table a{
            text-align: center !important;
            border: 1px solid blue !important;
        }
    </html>
    <table id="chooser">
    ...
    </table>
</panel>


推荐阅读