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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...