You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the following example configuration for fluentd, how could I enable or disable the configuration for Elasticsearch based on an environment variable ENABLE_ELASTICSEARCH?
fluentd will be started in a Docker container, so maybe a custom script could help? Or are there any mechanisms built into fluentd which I could use? The documentation mentions "Embedding Ruby Code" but this seems to work only for configuration values?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What is a problem?
Given the following example configuration for fluentd, how could I enable or disable the configuration for Elasticsearch based on an environment variable
ENABLE_ELASTICSEARCH
?fluentd will be started in a Docker container, so maybe a custom script could help? Or are there any mechanisms built into fluentd which I could use? The documentation mentions "Embedding Ruby Code" but this seems to work only for configuration values?
Describe the configuration of Fluentd
No response
Describe the logs of Fluentd
No response
Environment
No response
Beta Was this translation helpful? Give feedback.
All reactions