From e983e9d6fb179ac282cc163fa7c52b8684001040 Mon Sep 17 00:00:00 2001 From: madhu vuchuru Date: Tue, 25 Jun 2024 18:19:30 +0530 Subject: [PATCH] docs: Update configuration.md (#13309) Co-authored-by: J Stickler (cherry picked from commit 0a7e9133590ffb361b9c4eb6c4b8a5b772d83676) --- docs/sources/send-data/docker-driver/configuration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/send-data/docker-driver/configuration.md b/docs/sources/send-data/docker-driver/configuration.md index 15ef12323242..b777760b19c6 100644 --- a/docs/sources/send-data/docker-driver/configuration.md +++ b/docs/sources/send-data/docker-driver/configuration.md @@ -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: @@ -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: