sunsin1985
sunsin1985

Reputation: 2607

How can I configure logtash to use "stdout" as input?

I have following setup:

  1. 4 Docker containers which are configured to send logs to "stdout".
  2. 1 Docker container running logstash.

Now I want to configure logstash to use the "stdout" from the 4 docker containers as input. I am not planning to use logstash-forwarder now since I am just trying to setup a very basic configuration. I might switch to forwarder at a later stage.

Any suggestions would be greatly appreciated. Thanks!

Upvotes: 4

Views: 1006

Answers (1)

Oleksandr Mosur
Oleksandr Mosur

Reputation: 1228

I found this article. This guy use logspout lib for listen stdout from all of your containers and put it to logstash. If you have another solution, please send me feedback, because i am in search too.

Upvotes: 3

Related Questions