Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export default function (kibana) {
- return new kibana.Plugin({
- require: ['elasticsearch'],
- name: 'kibana-plugin-sao',
- uiExports: {
- app: {
- title: 'Kibana Plugin Sao',
- description: 'wow-sao',
- main: 'plugins/kibana-plugin-sao/app'
- },
- translations: [
- resolve(__dirname, './translations/es.json')
- ],
- hacks: [
- 'plugins/kibana-plugin-sao/hack'
- ]
- },
- config(Joi) {
- return Joi.object({
- enabled: Joi.boolean().default(true),
- }).default();
- },
- init(server, options) {
- // Add server routes and initialize the plugin here
- exampleRoute(server);
- }
- });
- };
Add Comment
Please, Sign In to add comment