Add 1 filed is sum of other field in logstash


(Trương Trang) #1

i have 2 filed is number is upbyte and downbyte, and i want to add 1 filed is bandwith (sum of there) in logstash, how can i do this?


(Ed) #2

Try the aggregation filter
https://www.elastic.co/guide/en/logstash/current/plugins-filters-aggregate.html

Or you can always use the ruby filter if all fails
https://www.elastic.co/guide/en/logstash/current/plugins-filters-ruby.html
Sort of an example


(system) #3

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