Capture kernel logs in example fluentd.conf

I find it useful to have the kernel logs available for searching, for example that's the only place you can see processes killed when they hit memory limits.
This commit is contained in:
Dobes Vandermeer
2018-04-05 23:10:14 -07:00
committed by GitHub
parent 07d1a8cb0c
commit c73cb05a7e

View File

@@ -367,6 +367,22 @@ data:
read_from_head true
tag node-problem-detector
</source>
<source>
@id kernel
@type systemd
filters [{ "_TRANSPORT": "kernel" }]
<storage>
@type local
persistent true
</storage>
<entry>
fields_strip_underscores true
fields_lowercase true
</entry>
read_from_head true
tag kernel
</source>
forward.input.conf: |-
# Takes the messages sent over TCP