Skip to content

Instantly share code, notes, and snippets.

@adnanrahic
Created June 2, 2020 21:22
Show Gist options
  • Save adnanrahic/da51852e0dbecdfa4217a01246295b83 to your computer and use it in GitHub Desktop.
Save adnanrahic/da51852e0dbecdfa4217a01246295b83 to your computer and use it in GitHub Desktop.
options:
debug: true
input:
# stdin: true
files:
- '/var/log/containers/*.log'
inputFilter:
# parse containerd log format, add pod info to log context
- module: input-filter-k8s-containerd
output:
elasticsearch:
module: elasticsearch
url: https://logs-token-receiver.apps.test.sematext.com
index: logs-token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment