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
Influencer

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!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...