Skip to content

Commit

Permalink
[release-2.9.x] Fix docs for fluentd client (#10968)
Browse files Browse the repository at this point in the history
Backport 94ab314 from #10639

---

Fluentd client configuration has changed recently. The default config
already
[reflects](https://github.com/grafana/loki/blob/main/clients/cmd/fluentd/docker/conf/loki.conf#L5-L8)
the new syntax. However, the examples on the page haven't been updated
yet.

Co-authored-by: Šimon Lukašík <isimluk@fedoraproject.org>
  • Loading branch information
grafanabot and isimluk committed Oct 19, 2023
1 parent dc12afb commit 172035e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/sources/send-data/fluentd/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,10 @@ In your Fluentd configuration, add `@type loki`. Additional configuration is opt
username "#{ENV['LOKI_USERNAME']}"
password "#{ENV['LOKI_PASSWORD']}"
extra_labels {"env":"dev"}
flush_interval 10s
flush_at_shutdown true
<buffer>
flush_interval 10s
flush_at_shutdown true
</buffer>
buffer_chunk_limit 1m
</match>
```
Expand Down

0 comments on commit 172035e

Please sign in to comment.