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 ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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