-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Add UDP transport option to Promtail's syslog target #5790
Conversation
I still need to investigate some issues I discovered when benchmarking UDP transport, so I put the PR back to draft. |
This is really great! We are running promtail on hundreds of servers and recently activated syslog assuming UDP was supported. This will be a fantastic feature and saves running rsyslog (or similar software) just to forward UDP syslogs. |
4955a03
to
4c0b3f3
Compare
bab67a8
to
9974849
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Let's resolve conflict for the changelog.
Until now, the syslog target in Promtail did only support TCP. This PR adds support for sending syslog messages to Promtail (via ng-syslog or rsyslog) via UDP. UPD for syslogs can be used if you prefer speed over guaranteed delivery. Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
9974849
to
9e65982
Compare
What this PR does / why we need it:
Until now, the syslog target in Promtail did only support TCP. This PR adds support for sending syslog messages to Promtail (via ng-syslog or rsyslog) via UDP.
UPD for syslogs can be used if you prefer speed over guaranteed delivery.
Which issue(s) this PR fixes:
Fixes #5370
Special notes for your reviewer:
Checklist
CHANGELOG.md
about the changes.