The feedback message is
{ "message":"xxx",
"host":"da30faafb1s4e2d2"
}
the host is a hashed value
Is there any way that I can get the ip address or domain name in the host field?
How can I configure it?
The feedback message is
{ "message":"xxx",
"host":"da30faafb1s4e2d2"
}
the host is a hashed value
Is there any way that I can get the ip address or domain name in the host field?
How can I configure it?
Please tell us more about your setup. Are you by any chance running Logstash in a Docker container?
Yes. I am running logstash in a docker container. And I've found the way to add a customized hostname.
FYI, just run the container with docker run --hostname=yourhostname logstash
Thanks
© 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.