Hi,
I have my Splunk Dashboard created in Dashboard studio. The dashboard has 3 tables and all the values in this tables are either Left or Right aligned but I want them to be Center aligned.
I tried finding solutions, but all the solutions mentioned in other posts are for the Classic dashboards which are written in XML.
How can we do this in JSON written Dashboard.
Thanks,
Viral
Hi @Viral_G,
Try adding "align": "center" in the columnFormat tag of your tables, e.g.
"columnFormat": {
"identity": {
"data": "> table | seriesByName(\"identity\") | formatByType(identityColumnFormatEditorConfig)",
"align": "center"
},
"usernames": {
"data": "> table | seriesByName(\"usernames\") | formatByType(usernamesColumnFormatEditorConfig)",
"align": "center"
}
}
Hi @KendallW,
I tried as you suggested but still it doesn't seem to work.
Below is a part of my Dashboard code: