HI, I want to add a code which contains if else conditions which helps me to add values to a new field according to conditions on another field.
for example;
Blockquote
if [Duration] >= 360 {
mutate {
add_field => { "Price" => "50$" }
}
else if
duration between two values add to the same field " Price" another value like 25$ ....
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.