Yes, if you want to move [host][name] to [host] you will have to use a temporary field to store the value.
Note that you have the option of moving it the other way
if ! [host][name] { mutate { rename => { "[host]" => "[host][name]" } } }
Yes, if you want to move [host][name] to [host] you will have to use a temporary field to store the value.
Note that you have the option of moving it the other way
if ! [host][name] { mutate { rename => { "[host]" => "[host][name]" } } }
© 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.