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
- Host: GitHub
- URL: https://github.com/wolanx/filebeat
- Owner: wolanx
- License: apache-2.0
- Created: 2022-01-11T13:16:45.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-17T13:18:46.000Z (over 4 years ago)
- Last Synced: 2024-06-20T00:32:08.630Z (about 2 years ago)
- Topics: logging
- Language: Go
- Homepage:
- Size: 95.7 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```