added logentries driver
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com> Upstream-commit: 2764d67c3a85cf638e211a1cfb0808e9eba7edb9 Component: engine
This commit is contained in:
42
components/engine/docs/admin/logging/logentries.md
Normal file
42
components/engine/docs/admin/logging/logentries.md
Normal file
@ -0,0 +1,42 @@
|
||||
<!--[metadata]>
|
||||
+++
|
||||
aliases = ["/engine/reference/logging/logentries/"]
|
||||
title = "Logentries logging driver"
|
||||
description = "Describes how to use the Logentries logging driver."
|
||||
keywords = ["logentries, docker, logging, driver"]
|
||||
[menu.main]
|
||||
parent = "smn_logging"
|
||||
weight = 2
|
||||
+++
|
||||
<![end-metadata]-->
|
||||
|
||||
# Logentries logging driver
|
||||
|
||||
The `logentries` logging driver sends container logs to the Logentries server.
|
||||
|
||||
## Usage
|
||||
|
||||
You can configure the default logging driver by passing the `--log-driver`
|
||||
option to the Docker daemon:
|
||||
|
||||
docker daemon --log-driver=logentries
|
||||
|
||||
You can set the logging driver for a specific container by using the
|
||||
`--log-driver` option to `docker run`:
|
||||
|
||||
docker run --log-driver=logentries ...
|
||||
|
||||
## Logentries options
|
||||
|
||||
You can use the `--log-opt NAME=VALUE` flag to specify these additional
|
||||
Logentries logging driver options:
|
||||
|
||||
| Option | Required | Description |
|
||||
|-----------------------------|----------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `logentries-token` | required | Logentries token. |
|
||||
|
||||
An example usage would be somethig like:
|
||||
|
||||
docker run --log-driver=logentries \
|
||||
--log-opt logentries-token=176FCEBF-4CF5-4EDF-91BC-703796522D20 \
|
||||
your/application
|
||||
Reference in New Issue
Block a user