Unverified Commit c73cb05a authored by Dobes Vandermeer's avatar Dobes Vandermeer Committed by GitHub

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.
parent 07d1a8cb
...@@ -368,6 +368,22 @@ data: ...@@ -368,6 +368,22 @@ data:
tag node-problem-detector tag node-problem-detector
</source> </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: |- forward.input.conf: |-
# Takes the messages sent over TCP # Takes the messages sent over TCP
<source> <source>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment