Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

FEATURE REQUEST: Add variable for INCLUDE_PATH #64

Closed
andrews32 opened this issue May 21, 2018 · 2 comments
Closed

FEATURE REQUEST: Add variable for INCLUDE_PATH #64

andrews32 opened this issue May 21, 2018 · 2 comments

Comments

@andrews32
Copy link

Similar to EXCLUDE_PATH, would like the reverse ability to set the INCLUDE_PATH.

Problem is the in_tail plugin can only read one log at a time. When there are multiple logs on the same host, we need to run multiple copies of the fluentd-kubernetes-sumologic container. Each one is dedicated to a certain log. Be nice to just pass a parameter to specify each log.

I believe it currently is set as "path /mnt/log/containers/*.log" in https://github.com/SumoLogic/fluentd-kubernetes-sumologic/blob/master/conf.d/file/source.containers.conf.

@frankreno
Copy link
Contributor

added in v1.5/latest. See environment variables in readme for configuration.

@andrews32
Copy link
Author

Thanks, CONTAINER_LOGS_PATH is working great!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants