An open API service indexing awesome lists of open source software.

https://github.com/wolanx/filebeat

filebeat output loki via grafana
https://github.com/wolanx/filebeat

logging

Last synced: 5 months ago
JSON representation

filebeat output loki via grafana

Awesome Lists containing this project

README

          

# filebeat output loki

`filebeat` official release not support output `loki` via grafana

## use
```shell
docker pull ghcr.io/wolanx/filebeat
```

## config demo

```yml
# http
filebeat.inputs:
- type: log
enabled: true
paths:
- C:\Users\admin\Desktop\pic\*.log

output.loki:
hosts: [ 'svc-loki:3100' ]
protocol: http
```

```yml
# grpc recommend default
filebeat.inputs:
- type: log
enabled: true
paths:
- C:\Users\admin\Desktop\pic\*.log

output.loki:
hosts: [ 'svc-loki:9095' ]
protocol: grpc
```