Closed ducho closed 4 years ago
This module is about sending logs directly to ES and not through Logstash so you are asking in the wrong place. The only thing I can tell that looks suspicious is that you provide this node: node: 'http://172.23.0.2:9200'
and about your ES instance I'm not sure whether that IP and Port are exposed. Usually you don't specify the host as IP address in docker but with a host name.
Hi! First, I need to log all HTTP requests/responses, but this is problem with gelf/logstash because "\n" and my res/req body is exploded to several rows and its problem to read data in Kibana. I decided to try winston but I don't know if I need a morgan too.
I have a problem with logging messages to different container maybe because node IP address specified in ClientOps. Currently I'm using ELK stack in my app with gelf driver for logstash. All messages to STDERR and STDOUT (console.log) are logged throught logstash to ES.
My docker configuration:
Is it possible to combine winston-es with standard ELK configuration. Thanks for your possible advice! Regards. Dusan.