Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

[QUESTION] How to receive Syslog using socket_server? #2131

Closed
webfrank opened this issue Sep 22, 2023 · 1 comment
Closed

[QUESTION] How to receive Syslog using socket_server? #2131

webfrank opened this issue Sep 22, 2023 · 1 comment
Labels

Comments

@webfrank
Copy link

Hi,
I was trying to use Benthos to receive and process syslog messages. I stopped on the codec of the socker_server input. If I use all-bytes no message is received (probably buffered in memory). Lines or delimiter it is not usable as messages are sent without any delimiter.
I think a "datagram" codec could be of help, sending out each received datagram.

Any suggestion?

@mihaitodor
Copy link
Collaborator

mihaitodor commented Sep 22, 2023

Hey @webfrank 👋

If I use all-bytes no message is received (probably buffered in memory). Lines or delimiter it is not usable as messages are sent without any delimiter.

It's a bit unclear what defines a message in this case. Would the chunker codec help? If the datagrams have fixed size, then you should be able to use that to receive each datagram. However, it sounds like the kind of use case where I'd consider writing a custom input plugin.

LE: Converting this issue to a discussion as mentioned in #2026.

@redpanda-data redpanda-data locked and limited conversation to collaborators Sep 22, 2023
@mihaitodor mihaitodor converted this issue into discussion #2132 Sep 22, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Projects
None yet
Development

No branches or pull requests

2 participants