Skip to content

Commit

Permalink
docs: Update configuration.md (#13309)
Browse files Browse the repository at this point in the history
Co-authored-by: J Stickler <[email protected]>
(cherry picked from commit 0a7e913)
  • Loading branch information
madhureddy143 authored and grafana-delivery-bot[bot] committed Jun 25, 2024
1 parent 7fdcea1 commit e983e9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sources/send-data/docker-driver/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ Once deployed, the Grafana service will send its logs to Loki.
## Labels

Loki can received a set of labels along with log line. These labels are used to index log entries and query back logs using [LogQL stream selector]({{< relref "../../query/log_queries#log-stream-selector" >}}).
Loki can receive a set of labels along with log line. These labels are used to index log entries and query back logs using [LogQL stream selector]({{< relref "../../query/log_queries#log-stream-selector" >}}).

By default, the Docker driver will add the following labels to each log line:

Expand All @@ -126,7 +126,7 @@ next section for all supported options.
## Pipeline stages

While you can provide `loki-pipeline-stage-file` it can be hard to mount the configuration file to the driver root filesystem.
This is why another option `loki-pipeline-stages` is available allowing your to pass a list of stages inlined. Pipeline stages are run at last on every lines.
This is why another option `loki-pipeline-stages` is available allowing you to pass a list of stages inlined. Pipeline stages are run at last on every lines.

The example [docker-compose](https://github.com/grafana/loki/blob/main/clients/cmd/docker-driver/docker-compose.yaml) below configures 2 stages, one to extract level values and one to set it as a label:

Expand Down

0 comments on commit e983e9d

Please sign in to comment.