- Fluent bit get file log and push to loki
[INPUT]
Name tail
Path C:\Website\abc\logs\server.log_*
[OUTPUT]
Name loki
Match *
Host x.x.x.x
Port 3100
Uri /loki/api/v1/push
Labels job=backend-A, hostname=backend-A
- Window
Restart-Service fluent-bit
get-Service fluent-bit | format-list