23141
November 22, 2018, 7:42pm
1
Hey,
My plugin is going to need some config. I put it into the config/kibana.yaml file like so:
my-kibana-plugin.zuser: "user"
my-kibana-plugin.zpass: "pass"
but I get the following error:
FATAL ValidationError: child "my-kibana-plugin" fails because ["zuser" is not allowed, "zpass" is not allowed]
How can I get this error to stop happening? and read the values in?
bhavyarm
(Bhavya R M)
November 23, 2018, 1:06pm
2
Hello,
You need to add validation for your config file to plugins registration:
You can check out the kibana plugin for example: https://github.com/elastic/kibana/blob/master/src/core_plugins/kibana/index.js#L49:L54
Thanks,
Bhavya
system
(system)
Closed
December 21, 2018, 1:06pm
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.