How to format number in logstash?

Suppose I want to sum field its sum range 1 to 10000 then shows like 10k,
sum range from 10000 to million it shows in million
and sum range more than millions then it shows in billions.
Is it possible to perform such a filter to get above results.

You could re-purpose some of the Ruby on Rails code for number_to_human.

Sir Thanks for your response but I am not getting this, any plugin in Logstash to fulfilled above requirement without using RUBY?

No, there is not.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.