Splunk Search

Is it possible to change font style in Splunk 7.2.1?

nagar57
Communicator

Recently Splunk in my organization got upgraded from Splunk 6.6.4 to Splunk 7.2.1 and the font style for table data got changed. I want to keep the previous font style. How can I get it back? Can someone suggest what CSS changes needs to be done to keep the font style of splunk 6.6.4 version ?
TIA

0 Karma

masonwhite
Explorer

If the table is on a dashboard most standard CSS will work. just drop this "row" at the top of your dashboard XML and will change all table fonts on the Dashboard.

  <row depends="$alwaysHideCSSPanel$">
     <panel>
       <html>
         <style>
           table tbody tr td{
             font-size:150% !important;
            font-family: "Times New Roman", Times, serif;
            font-style: italic;
            font-weight: bold;
            font-variant: small-caps;
           }

         </style>
       </html>
       </panel>
       </row>
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Thanks for the Memories! Splunk University, .conf25, and our Community

Thank you to everyone in the Splunk Community who joined us for .conf25, which kicked off with our iconic ...