How can I get Logstash host name in filbeat for ELK docker container

I have created a docker container for ELK stack (mean ELK components are running on same container) and another docker container for filebeat and both containers are running on different physical machines. My question is what should I use for host in filebeat configuration file as in real time, I might not be knowing the ip address of logstash server.
Any help ?
Thanks
Rai

Use a DNS name and not an IP address?

thanks.

This topic was automatically closed after 21 days. New replies are no longer allowed.