fluentd icon indicating copy to clipboard operation
fluentd copied to clipboard

How to use Unix domain socket with abstract socket address

Open AtlanCI opened this issue 2 years ago • 1 comments

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

AtlanCI avatar Nov 10 '21 07:11 AtlanCI

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)

fujimotos avatar Nov 18 '21 13:11 fujimotos