Splunk Search

How to format dynamic columns output after transpose?

bj6192
Explorer

Hi All,
We use transpose to display our result like below sample;
item 2017/11/01 2017/11/02 2017....
a 10000.01 20000.1 ....
b 300.05 5000.1 .....

We need show the result like this;
item 2017/11/01 2017/11/02 2017....
a 10,000 20,000 ....
b 300 5,000 .....

And when we format the result before the transpose command, the output after
transpose will return the original output. Does any command or method to meet
our require?
Thank You.

Tags (1)
0 Karma
1 Solution

kamlesh_vaghela
SplunkTrust
SplunkTrust

HI

Can you please try below function to format count.

YOUR_SEARCh | eval YOUR_NUMERIC_VALUE=tostring(YOUR_NUMERIC_VALUE, "commas") | transpose

Thanks

View solution in original post

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

HI

Can you please try below function to format count.

YOUR_SEARCh | eval YOUR_NUMERIC_VALUE=tostring(YOUR_NUMERIC_VALUE, "commas") | transpose

Thanks

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

Hi @bj6192,

Have you found your answer?

0 Karma

bj6192
Explorer

Thank you. It work now.

0 Karma
Get Updates on the Splunk Community!

Cultivate Your Career Growth with Fresh Splunk Training

Growth doesn’t just happen—it’s nurtured. Like tending a garden, developing your Splunk skills takes the right ...

Introducing a Smarter Way to Discover Apps on Splunkbase

We’re excited to announce the launch of a foundational enhancement to Splunkbase: App Tiering.  Because we’ve ...

How to Send Splunk Observability Alerts to Webex teams in Minutes

As a Developer Evangelist at Splunk, my team and I are constantly tinkering with technology to explore its ...