I don't think there are any general filters for performing field arithmetics, but you can always use a ruby filter.
filter {
ruby {
code => "event['sum'] = event['number_field_1'] + event['number_field_2']"
}
}
I don't think there are any general filters for performing field arithmetics, but you can always use a ruby filter.
filter {
ruby {
code => "event['sum'] = event['number_field_1'] + event['number_field_2']"
}
}
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.