logspout

command
v0.0.0-...-ea8c51e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 16, 2025 License: Apache-2.0, MIT Imports: 4 Imported by: 0

README

Logspout extension

Logspout collects all Docker logs using the Docker logs API, and forwards them to Logstash without any additional configuration.

Usage

If you want to include the Logspout extension, run Docker Compose from the root of the repository with an additional command line argument referencing the logspout-compose.yml file:

$ docker-compose -f docker-compose.yml -f extensions/logspout/logspout-compose.yml up

In your Logstash pipeline configuration, enable the udp input and set the input codec to json:

input {
  udp {
    port  => 50000
    codec => json
  }
}

Documentation

https://github.com/looplab/logspout-logstash

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL