-ELK is running on localhost & successfully getting logs.
-Both VM's are on same server.
-OS on both VM'S is Ubuntu 18-04 LTS.
-ELK is running on localhost & successfully getting logs.
-Both VM's are on same server.
-OS on both VM'S is Ubuntu 18-04 LTS.
I have a testing environment for my ELK stack build in Vagrant. I avoid the service-discovery problem by using static IP addresses for the VMs and configuring those as part of the Logstash/Filebeat config. If you are doing:
Filebeat --> [network] --> Logstash (beats {} input) --> Elasticsearch
Make sure the beats {}
input is listening on something other than localhost.
If you are doing:
Filebeat --> [network] --> Elasticsearch
You will need to set up elasticsearch.yml to listen on the VM's interface rather than localhost.