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

**URL:** https://discuss.elastic.co/t/will-filebeat-be-able-read-dev-stdout-and-dev-stderr/88880
**Category:** Beats
**Tags:** filebeat
**Created:** [June 9, 2017, 6:48pm UTC](https://discuss.elastic.co/t/will-filebeat-be-able-read-dev-stdout-and-dev-stderr/88880 "2017-06-09T18:48:02Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![skyrocknroll](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/skyrocknroll/32/18954_2.png) [@skyrocknroll](https://discuss.elastic.co/u/skyrocknroll)
#### Post date: [June 9, 2017, 6:48pm UTC](https://discuss.elastic.co/t/will-filebeat-be-able-read-dev-stdout-and-dev-stderr/88880/1 "2017-06-09T18:48:02Z")

</div>

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 ?

---

<div class="post-metadata">

### Author: ![steffens](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/steffens/32/79630_2.png) [@steffens](https://discuss.elastic.co/u/steffens)
#### Post date: [June 10, 2017, 5:02pm UTC](https://discuss.elastic.co/t/will-filebeat-be-able-read-dev-stdout-and-dev-stderr/88880/2 "2017-06-10T17:02:21Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 8, 2017, 5:02pm UTC](https://discuss.elastic.co/t/will-filebeat-be-able-read-dev-stdout-and-dev-stderr/88880/3 "2017-07-08T17:02:54Z")

</div>

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