[Q&A] Problem in using default value for the parameter #4713
Unanswered
Sumit-Negi-github
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@Sumit-Negi-github log.info("conf['dummy_param']=#{@dummy_param}") example: https://docs.fluentd.org/plugin-development/api-config-types#data-types |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What is a problem?
Objective: To use default value of param if param is not provided in config.
I am writing it like this -
If i dont provide the param in the config, this is not printing dummy_value in the logs. It seems it is not getting picked up.
This code is in custom output plugin where i have inherited
Fluent::Plugin::Output
Any help on where i am going wrong?
TIA.
Describe the configuration of Fluentd
Not needed.
Describe the logs of Fluentd
No response
Environment
Beta Was this translation helpful? Give feedback.
All reactions