Logstash on one EC2 instance and ES & Kibana on another - how to provide creds in LS output?


(LogSpree) #1

I've split the Elastic Stack into 2 EC2 instances:
instance1 : 2Gig, 1CPU : Logstash
instance2 : 8Gig, 2CPUs : ElasticSearch & Kibana

I will be providing the public IP of instance2 in the logstash elasticsearch output plugin. Do I need to provide AWS key in there?
Also, do I need the key in Kibana? Or just providing the public IP will do?


(LogSpree) #2

I've set network.host to 0.0.0.0 in elasticsearch (instance1), and set logstash output to public IP of instance1. But it says HostUnreachableError.