Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 725 Bytes

cluster-logging-collector-envvar.adoc

File metadata and controls

30 lines (20 loc) · 725 Bytes

Configuring the logging collector using environment variables

You can use environment variables to modify the configuration of the Fluentd log collector.

See the Fluentd README in Github for lists of the available environment variables.

Prerequisite

Set cluster logging to the unmanaged state.

Procedure

Set any of the Fluentd environment variables as needed:

oc set env ds/fluentd <env-var>=<value>

For example:

oc set env ds/fluentd LOGGING_FILE_AGE=30