How to send a log to logstash
Hello everyone, I have a question about the logstash, I don't know what configuration I need set in my client to send logs to get it in logstash.
I have this Server in Express
I have this configuration
When I go into the port which Docker say is the logstashs I can see this.
I'm not familiar with winston, but the UDP input isn't enabled by default:
https://github.com/deviantony/docker-elk/blob/4df8c50ba8a1891c2cb4cd502ffc11868aec8cf1/logstash/pipeline/logstash.conf#L6-L8
In case your client doesn't support TCP, your can enable the UDP input inside the pipeline configuration: https://www.elastic.co/guide/en/logstash-versioned-plugins/current/v3.5.0-plugins-inputs-udp.html