Skip to content

Commit

Permalink
Update README.md (#1276)
Browse files Browse the repository at this point in the history
  • Loading branch information
roidelapluie authored and cyriltovena committed Nov 26, 2019
1 parent 492a17d commit 4a2dc5e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions cmd/fluent-bit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ To configure the Loki output plugin add this section to fluent-bit.conf
Name loki
Match *
Url http://localhost:3100/loki/api/v1/push
BatchWait 1 # (1sec)
BatchSize 30720 # (30KiB)
BatchWait 1
# (1sec)
BatchSize 30720
# (30KiB)
Labels {test="fluent-bit-go", lang="Golang"}
RemoveKeys key1,key2
LabelKeys key3,key4
Expand Down Expand Up @@ -109,6 +111,13 @@ If you have Fluent Bit installed in your `$PATH` you can run the plugin using:
fluent-bit -e /path/to/built/out_loki.so -c fluent-bit.conf
```

You can also adapt your plugins.conf, removing the need to change the command line options:

```
[PLUGINS]
Path /path/to/built/out_loki.so
```

## Docker

You can run a Fluent Bit container with Loki output plugin pre-installed using our [docker hub](https://cloud.docker.com/u/grafana/repository/docker/grafana/fluent-bit-plugin-loki) image:
Expand Down

0 comments on commit 4a2dc5e

Please sign in to comment.