Splunk Search
Highlighted

stats right justify numbers

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)
Highlighted

Re: stats right justify numbers

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
Highlighted

Re: stats right justify numbers

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