Dashboards & Visualizations

How to format column individually?

splunkuser320
Path Finder

 

I am trying to configure formatting for each column in the table on dashboard but column formatting is not changing 

      "columnFormat": {
            "ColumnA": {
                "align""> table | pick(alignment)"
            }
        }
 
 
     "alignment": [
            "center"
        }]
 
 
Labels (1)
0 Karma

tscroggins
Motivator

Hi,

This worked for me:

...,
"options": {
"columnFormat": {
"ColumnA": {
"align": "> table | seriesByName('ColumnA') | pick(ColumnAAlignConfig)"
}
}
},
...,
"context": {
"ColumnAAlignConfig": [
"center"
]
}

 

0 Karma
Get Updates on the Splunk Community!

Tech Talk | One Log to Rule Them All

One log to rule them all: how you can centralize your troubleshooting with Splunk logs We know how important ...

Splunk Security Content for Threat Detection & Response, Q1 Roundup

Join Principal Threat Researcher, Michael Haag, as he walks through:An introduction to the Splunk Threat ...

Splunk Life | Happy Pride Month!

Happy Pride Month, Splunk Community! 🌈 In the United States, as well as many countries around the ...