Google Cloud Platform Telegraf Logger
This component uses telegraf to send logs to GCP InfluxDB. It can be adapted to send logs to other services and to receive logs from application by a variety of methods.
/config/google-telegraf.conf/secrets/default-credentials.json{
"services": [{
"image": "index.docker.io/oaklabs/app-example:release-1.0.1",
"environment": {
"TZ": "America/Phoenix"
}
},
{
"image": "index.docker.io/oaklabs/component-telegraf:demo",
"environment": {
"INFLUXDB_HOST": "{{influxdbHost}}"
}
}
]
}
{{influxdbHost}} URL must include the port: http://influxdb.example.com:8086See the Telegraf docs for instructions on Telegraf.
https://logz.io/ for free account
Content type
Image
Digest
Size
89.9 MB
Last updated
about 7 years ago
docker pull oaklabs/component-telegraf