ELK on AWS

I have setup Elasticsearch kibana and logstash on different aws ec2 instances (All instances are on linux ). Both my elasticserach and kiaban instance are in green state. Also i am able to send logs from logstash into elasticsearch and i am able to see my index created on ec2 elasticsearch console by running the curl command there. But when i am trying to access the aws elasticsearch url on local browser with (public_Ip_address:port) I am not getting any response.
Same with the kibana url as well.
What is the issue could not resolve it.
Please help asap.

Is this the AWS Elasticsearch service, or just a node running on an AWS EC2 instance?

Its a node running on AWS EC2 instance

Did you chat the network values for each so they will listen on a non-loopback address?

Sorry i did not understand. Can you please elaborate

Check out https://www.elastic.co/guide/en/elasticsearch/reference/6.2/network.host.html and server.host here https://www.elastic.co/guide/en/kibana/current/settings.html

what should i give in network.host and server.host
because when i gave the public ip adress of my elasticserch instance in network.host and kibana instance public ip adress in server.host in kibana.yml
Its not working still the kibana and alsticserach url are not getting loaded.

If you do a netstat -an | grep 9200 or 5601 (es or kibana) or they locally bound or bound to 0.0.0.0

If locally it wont work

So what should be done so that it works ..

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.