initial commit
generated from the plugin template, this does nothing but provide a plugin with the expected name
This commit is contained in:
14
index.js
Normal file
14
index.js
Normal file
@@ -0,0 +1,14 @@
|
||||
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();
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user