ELK on AWS


(sonal singh) #1

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.


(Mark Walkom) #2

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


(sonal singh) #3

Its a node running on AWS EC2 instance


(Mark Walkom) #4

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


(sonal singh) #5

Sorry i did not understand. Can you please elaborate


(Mark Walkom) #6

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


(sonal singh) #7

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.


(Wayne Taylor) #8

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


(sonal singh) #9

So what should be done so that it works ..


(system) #10

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