README.md in fluent-plugin-systemd-1.0.1 vs README.md in fluent-plugin-systemd-1.0.2
- old
+ new
@@ -40,27 +40,31 @@
## Input Plugin Configuration
<source>
@type systemd
- tag kube-proxy
+ tag kubelet
path /var/log/journal
- matches [{ "_SYSTEMD_UNIT": "kube-proxy.service" }]
+ matches [{ "_SYSTEMD_UNIT": "kubelet.service" }]
read_from_head true
- <storage>
+
+ <storage kubelet-pos>
@type local
- persistent false
- path kube-proxy.pos
</storage>
+
<entry>
fields_strip_underscores true
fields_lowercase true
</entry>
</source>
- <match kube-proxy>
+ <match kubelet>
@type stdout
</match>
+
+ <system>
+ root_dir /var/log/fluentd
+ </system>
**`path`**
Path to the systemd journal, defaults to `/var/log/journal`