I'm really new to the ELK stack and honestly extremely shaky when it comes to understanding concepts like ports, port forwarding and how they relate to Docker and the ELK stack.
I'm currently trying to use HTTP Poller, as specified in this post: https://www.elastic.co/blog/introducing-logstash-http-poller
to query a website. Following the post, I opened up a port using ruby and sinatra on my local host, and I'm trying to test http poller on it.
The port is definitely open when I do telnet localhost 8000.
However, on the kibana dashboards all I see are connection refused errors.
like so: http_request_failure.error: Connection refused (Connection refused).
I suspect it has something to do with publishing ports in Docker(I'm using elk-docker).
I'd like to understand how http poller works with Logstash in the elk-docker container and if I need to specify a specific port or anything like that - it didn't seem to be an option when I read the docs.