Dashboards & Visualizations

Splunk Cloud v 9 - Splunk Dashboard Studio table column align to the left

Sishad
Engager

Hi Splunk Enthusiasts,

I have created a table using Splunk Dashboard Studio. In that a column contains results like 0 and some other number. 0 is displayed on left where as all other values displays is aligned right.

Can you please help me to make it all align left. TIA !!

PFB screenshot for your reference.

Splunk.jpg

Labels (2)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Numeric values are right-aligned, string values are left-aligned. It looks like some of your zeros may include white-spaces making them strings and therefore left-aligned.

Sishad
Engager

Thanks @ITWhisperer  It worked.

I used

|eval NewField=trim(OldField)

to remove the whitespaces.

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...