logging icon indicating copy to clipboard operation
logging copied to clipboard

RELP vs TCP/UDP differences

Open sopos opened this issue 4 years ago • 2 comments

I noticed that there's a different approach to configure RELP vs TCP/UDP even though it is quite similar. E.g. different port(s) definition, different keys definition. Theoretically, there should be just a different type needed.

Actually I like the way RELP is done.

@nhosoi, I'm just curious why the difference? Is there a technical reason not to keep the same sematic?

sopos avatar Feb 03 '21 09:02 sopos

@nhosoi, I'm just curious why the difference? Is there a technical reason not to keep the same sematic?

@sopos, I do not think there is. But since we already released TCP/UDP in that old(?) style, it'd be harder to change the api. So, I'd like to keep it that way. As you mentioned, REPL is more popular than TCP/UDP. We hope it'd encourage the new customers to go straight to the protocol or the TCP/UDP customers to switch to RELP.

nhosoi avatar Feb 03 '21 17:02 nhosoi

@sopos, the corresponding TCP/UDP output is forwards ouput that uses omfwd and the corresponding TCP/UDP input is remote input which uses imtcp or imudp - [0]. Could you please tell me some more details about "E.g. different port(s) definition, different keys definition" to understand your requests?

[0] https://www.rsyslog.com/doc/v8-stable/configuration/modules/omfwd.html https://www.rsyslog.com/doc/v8-stable/configuration/modules/imtcp.html https://www.rsyslog.com/doc/v8-stable/configuration/modules/imudp.html

nhosoi avatar Feb 07 '21 18:02 nhosoi