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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...