I am new to both elk and docker
Wanted to know how could I run the config file of logstash and link it to elasticsearch for further analysis.
I have all the images pulled on the server and elasticsearch and kibana are running fine.
I used this command
docker run -h logstash --name logstash --link elasticsearch:elasticsearch -it --rm -v "$PWD":/config-dir logstash -f /config-dir/filename.conf
For this it is creating an endpoint API well and fine but there is an error with respect to connection refused from elasticsearch.