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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...