Thank you!
I have corrected the config as follows:
if [source] == "0:0:0:0:0:0:0:1" {
mutate {
replace => [ "source", "%{syslog_hostname}" ]
}
}
But logs are still coming into elasticsearch with 0:0:0:0:0:0:0:1 value in the source field.
Thank you!
I have corrected the config as follows:
if [source] == "0:0:0:0:0:0:0:1" {
mutate {
replace => [ "source", "%{syslog_hostname}" ]
}
}
But logs are still coming into elasticsearch with 0:0:0:0:0:0:0:1 value in the source field.
© 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.