Hello,
I have a data taken from the filter elasticsearch query.
elasticsearch {
hosts => ["localhost:9200"]
index => "elasticinput"
query => '_id=%{fingerprint}'
fields => { "request_ip_count" => "new_request_ip_count" }
fields => { "request_counter_attempts" => "new_request_counter_attempts" }
fields => { "request_domain_root" => "new_request_domain_root" }
}
The fields contains a number:
"request_ip_count":"3"
How can I increment this field by 1?
I want it to be: "request_ip_count":"4"
Is there a way?