Hi,
I wonder if it's possible to get the ip source of a sender when using tcp input in logstash.
Is there a way to get this ip even if I don't use http requests ?
Best regards,
Thomas R.
Hi,
I wonder if it's possible to get the ip source of a sender when using tcp input in logstash.
Is there a way to get this ip even if I don't use http requests ?
Best regards,
Thomas R.
Hello Thomas,
Have a look here. By default, the tcp input tries to resolve IPs to hostnames but this can be disabled by setting dns_reverse_lookup_enabled
to false
. This way you can access the IP using @metadata
.
Best regards
Wolfram
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 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.