Load custom plugin as default

hello guys,
i need some advice, how can i make own plugin load as default plugin in kibana?

1 Like

Hi

You can probably read through this link to get more idea on creating custom plugins:
https://www.elastic.co/guide/en/kibana/current/development-plugin-resources.html

also I would suggest : https://www.timroes.de/2016/02/21/writing-kibana-plugins-custom-applications/

You can set a default app in your config/kibana.yml. Just uncomment this option and change it to your app name: https://github.com/elastic/kibana/blob/master/config/kibana.yml#L25-L26

Thanks
Rashmi

Hello,
i try do it, but after kibana start ,first page link to http://localhost:5601/app/kibana#/esblogger?_g=(), but nothing load,
because in index.js i set url as /app/esblogger/, i try to change my url to /app/kibana#/esblogger, but it didn't help

is it some recommendations how to name own plugin?
should i use in name of own plugin "kibana/" prefix and in package.json file?

name: 'esblogger',
require: ['kibana', 'elasticsearch'],
uiExports: {
app: {
id: 'esblogger',
title: 'Esb Logger',
description: 'Плагин для просмотра логов ESB, экспорта данных',
main: 'plugins/esblogger/app/',
url: '/app/esblogger/',
config: function config(Joi) {
return Joi.object({
enabled: Joi.boolean().default(true),
}).default();
},

i found a case like my, but there didn't exist any workarounds.

I think the server.defaultRoute setting is what you’re looking for. It’s listed on https://www.elastic.co/guide/en/kibana/current/settings.html Do look at this and let us know if it helps.

Thanks
Rashmi

Great Thanks!! it help :blush: ) :sunny:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.