Yes, you can collect the logs from a local path in your Kubernetes cluster. Here is the section that you need to change in the values.yaml file:
rawConfig: |-
@INCLUDE fluent-bit-service.conf
[INPUT]
Name tail
Path /var/log/containers/*.log
Multiline On
Parser_Firstline multi_line
Tag containers.*
Refresh_Interval 1
Rotate_Wait 60
Mem_Buf_Limit 5MB
Skip_Long_Lines On
DB /tail-db/tail-containers-state.db
DB.Sync Normal
The "path" parameter above needs to be changed to that of your local file path.
Note: If you want to continue collecting the /var/log/containers/*.log logs, then a new [INPUT] section, like the one above, needs to be created for your local file path.
Comments
0 comments
Please sign in to leave a comment.