Will filebeat be able read /dev/stdout and /dev/stderr?

RUN ln -sf /dev/stdout /var/log/nginx/access.log
&& ln -sf /dev/stderr /var/log/nginx/error.log
I am using the above config to redirect nginx logs to stdout and stderr.
In prospectors if i point to /dev/stdout & /dev/stderr will it work ?

filebeat currently does not support non-standard files. That is, no FIFOs, unix sockets, named pipes, devices files and others. I guess in most distributions /dev/stdout is actual a symbolic link to /proc/self/fd/1 with /proc/self dynamically representing the current process accessing that directory . That is, trying to pipe content via /dev/stdout only might not exactly give you the result you'd expect.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.