Splunk Search

how can i format the number field?

rakesh_498115
Motivator

Hi,

Is it possible to format the output of the count field ??

sourcety="x" | stats count as REQ

REQ
11000
100
13
344234

I need to formats these numbers as

REQ
11,000
100
13
3,44,234

Can we do it ??

Tags (2)
0 Karma
1 Solution

anwarmian
Communicator

Try the following:

sourcety="x" | stats count as REQ| fieldformat count=tostring(count,"commas")

View solution in original post

anwarmian
Communicator

Try the following:

sourcety="x" | stats count as REQ| fieldformat count=tostring(count,"commas")

yannK
Splunk Employee
Splunk Employee
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...