add_field => { "host_device_name" => "%{host} %{fs.device_name}" }
gives me host_device_name:"my-machine %{fs.device_name}"
How/Can I referfence the already parsed values?
add_field => { "host_device_name" => "%{host} %{fs.device_name}" }
gives me host_device_name:"my-machine %{fs.device_name}"
How/Can I referfence the already parsed values?
I don't think you can use dot notation there. Try the following instead:
add_field => { "host_device_name" => "%{host} %{[fs][device_name]}" }
Thanks that worked.
© 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.