I am looking to implement an HTTP listener to ingest JSON over a specific port on an AWS EC2 instance. Currently I have Elasticsearch, Logstash, and Kibana running on the same cluster and I have validated that they're all working in conjunction with one-another. When I attempt to open a port (5602) for the logstash-http-input plugin, I am unable to hit it whatsoever. This is my .conf file (located in /etc/logstash/conf.d)
input {
http {
port => 5602
host => "0.0.0.0"
}
}
output {
elasticsearch {
hosts => ["http://localhost:9200"]
index => "%{[@metadata][http]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
}
}
I'm unfamiliar with the ELK stack in general, so anything would help!