Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to send a log to logstash #985

Closed
martinGM05 opened this issue May 16, 2024 · 1 comment
Closed

How to send a log to logstash #985

martinGM05 opened this issue May 16, 2024 · 1 comment
Labels
logstash Issues pertaining to the Logstash component question

Comments

@martinGM05
Copy link

martinGM05 commented May 16, 2024

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
image

I have this configuration
image

When I go into the port which Docker say is the logstashs I can see this.
image

@antoineco
Copy link
Collaborator

I'm not familiar with winston, but the UDP input isn't enabled by default:

tcp {
port => 50000
}

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

@antoineco antoineco added question logstash Issues pertaining to the Logstash component labels May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
logstash Issues pertaining to the Logstash component question
Projects
None yet
Development

No branches or pull requests

2 participants