Skip to content

Commit

Permalink
Merge pull request #65 from grafana/intro-to-logging-fluent
Browse files Browse the repository at this point in the history
fixed naming
  • Loading branch information
Jayclifford345 authored Jul 11, 2024
2 parents 4fc4f49 + bb6cc2c commit 214d049
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions docs/examples/intro-to-logging-fluentd-fluent-bit.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ docker restart loki-fundamentals-fluentd-1

<!-- INTERACTIVE page step3.md START -->

## Step 3: Configure fluent Bit to send logs to Loki
## Step 3: Configure Fluent Bit to send logs to Loki

In this step, we will configure Fluent Bit to send logs to Loki.

Expand Down Expand Up @@ -191,9 +191,9 @@ Lets quickly talk about LabelMapPath and logmap.json. The `LabelMapPath` is a pa
```
The `logmap.json` file maps the `service` field in the log to the `service_name` label in Loki and the `instance_id` field in the log to the `instance_id` label in Loki.

## Restart the Fluentd Container
## Restart the Fluent Bit Container

After configuring Fluentd, we need to restart the Fluentd container to apply the changes. To restart the Fluentd container, run the following command:
After configuring Fluent Bit, we need to restart the Fluent Bit container to apply the changes. To restart the Fluent Bit container, run the following command:

<!-- INTERACTIVE exec START -->
```bash
Expand Down
6 changes: 3 additions & 3 deletions loki/intro-to-logging-fluentd-fluentbit/step3.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Step 3: Configure fluent Bit to send logs to Loki
# Step 3: Configure Fluent Bit to send logs to Loki

In this step, we will configure Fluent Bit to send logs to Loki.

Expand Down Expand Up @@ -53,9 +53,9 @@ Lets quickly talk about LabelMapPath and logmap.json. The `LabelMapPath`{{copy}}
The `logmap.json`{{copy}} file maps the `service`{{copy}} field in the log to the `service_name`{{copy}} label in Loki and the `instance_id`{{copy}} field in the log to the `instance_id`{{copy}} label in Loki.
# Restart the Fluentd Container
# Restart the Fluent Bit Container
After configuring Fluentd, we need to restart the Fluentd container to apply the changes. To restart the Fluentd container, run the following command:
After configuring Fluent Bit, we need to restart the Fluent Bit container to apply the changes. To restart the Fluent Bit container, run the following command:
```bash
docker restart loki-fundamentals_fluent-bit_1
Expand Down

0 comments on commit 214d049

Please sign in to comment.