fluent / fluentd

Fluentd: Unified Logging Layer (project under CNCF)
https://www.fluentd.org
Apache License 2.0
12.91k stars 1.34k forks source link

How to use Unix domain socket with abstract socket address #3557

Open AtlanCI opened 3 years ago

AtlanCI commented 3 years ago

Is your feature request related to a problem? Please describe.

The Unix domain socket on Linux has a special type Abstract socket. How can I use it in fluentd?

Describe the solution you'd like

The Unix domain socket on Linux has a special type Abstract socket. How can I use it in fluentd?

Describe alternatives you've considered

The Unix domain socket on Linux has a special type Abstract socket. How can I use it in fluentd?

Additional context

No response

fujimotos commented 3 years ago

AFAIK Fluentd does not have support for abstract sockets.

Note: An abstract socket is a Linux-only socket type that does not have a file system path. Instead, It's bound to a special string that starts with a null byte '\0'.

abstract: an abstract socket address is distinguished (from a path‐ name socket) by the fact that sun_path[0] is a null byte ('\0'). (...) The name has no connection with filesystem pathnames.

Manual page unix(7)