Your error means that one of IP address that yo uset in the host option does not exist in the logstash instance.
Also, why are you using two beats input in the same logstash? You can use just one beats input.
You do not need to set host option of the beats input, remove it and Logstash will listen to the specified port in all available IPs of the instance. If you want to set it, you need to use an available IP in the instance.
Actually, I'm getting the logs from those 2 file beats to logstash but all logs are stored in one index but I want to create two different index names for logs coming from those 2 machines. How can I do that?
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.