Splunk Search

stats right justify numbers

wang
Path Finder

I have stats output some numbers like min, max, avg. The numbers are left justifed and make it really hard to read. Is there a simple way to make the numbers right justified without using CSS? Less desirable would be pad with leading zeros. Is that possible?

Tags (1)

victorrosberg
Explorer

Is this really true anymore? Could it be so that a legacy version like 5.x worked like this? If I understand your question correct, you want the result of something like this:
| stats min(Value), max(Value), avg(Value)
...to end up in three columns under the Statistics tab, justified to the right of each column. That's exactly whats happens to me running Splunk version 6.2.

If it's something else you need or have an example where the above doesn't work like that, please expand on the question and add an example of when it doesn't work.

0 Karma

dc5553
Explorer

over 2 years and still no answer? Seems like this should be a pretty easy thing to do. I would like the answer as well.

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...