Files
fake-xpack/index.js
Joe Fleming 0b923e8376 initial commit
generated from the plugin template, this does nothing but provide a plugin with the expected name
2017-12-12 10:33:10 -07:00

15 lines
363 B
JavaScript

export default function (kibana) {
return new kibana.Plugin({
require: [],
name: 'xpack_main',
id: 'xpack_main',
configPrefix: 'xpack.xpack_main',
config(Joi) {
return Joi.object({
enabled: Joi.boolean().default(true),
xpack_api_polling_frequency_millis: Joi.number().default(30000),
}).default();
},
});
}