https://github.com/netways/kubernetes-logstash-pipeline
Ready made code to parse logs from Kubernetes
https://github.com/netways/kubernetes-logstash-pipeline
Last synced: 4 months ago
JSON representation
Ready made code to parse logs from Kubernetes
- Host: GitHub
- URL: https://github.com/netways/kubernetes-logstash-pipeline
- Owner: NETWAYS
- License: gpl-2.0
- Created: 2023-07-13T13:17:26.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-02T07:17:09.000Z (over 2 years ago)
- Last Synced: 2025-03-06T04:22:49.878Z (about 1 year ago)
- Size: 12.7 KB
- Stars: 0
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kubernetes-logstash-pipeline
Ready made code to parse logs from Kubernetes
**!!! Currently the Pipeline will works for kubernetes cluster which is runing with containerd as CRI.**
## Input and Output ##
This pipeline does not provide inputs or outputs so you can configure whatever you need. Files named `input.conf` and `output.conf` will not interfere with updates via git, so name your files accordingly.
Here are examples how your files could look if you want to use a local Redis instance.
```
input {
redis {
host => localhost
key => "kubernetes"
data_type => list
}
}
output {
redis {
key => "forwarder"
data_type => list
host => localhost
}
}
```