mutate {
add_field => {
"new_field" => "%{oldfield1} %{oldfield2}"
}
remove_field => ["oldfield1", "oldfield"]
}
This assumes that add_field is evaluated before remove_field but I'm pretty sure that's the case.
mutate {
add_field => {
"new_field" => "%{oldfield1} %{oldfield2}"
}
remove_field => ["oldfield1", "oldfield"]
}
This assumes that add_field is evaluated before remove_field but I'm pretty sure that's the case.
© 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.