Dashboards & Visualizations

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

Sishad
Explorer

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
Explorer

Thanks @ITWhisperer  It worked.

I used

|eval NewField=trim(OldField)

to remove the whitespaces.

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...