Created
June 1, 2016 15:24
-
-
Save itayw/18a37a5025d523dfbbba31a4e444f09b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = function(kibana) { | |
return new kibana.Plugin({ | |
require: ['kibana', 'elasticsearch'], | |
uiExports: { | |
/* | |
app: { | |
title: '**********', | |
description: '***************', | |
icon: 'plugins/*********/icon.svg', | |
main: 'plugins/echo-ui-plugin-contextify/app', | |
uses: [ | |
'visTypes', | |
'spyModes', | |
'fieldFormats', | |
'navbarExtensions', | |
'settingsSections', | |
'docViews' | |
], | |
injectVars: function(server, options) { | |
var config = server.config(); | |
return { | |
kbnIndex: config.get('kibana.index'), | |
esShardTimeout: config.get('elasticsearch.shardTimeout'), | |
esApiVersion: config.get('elasticsearch.apiVersion') | |
}; | |
} | |
},*/ | |
settingsSections: [ | |
], | |
docViews: [ | |
'plugins/*************/doc_views/doc_views' | |
], | |
modules: { | |
}, | |
noParse: [ | |
] | |
}, | |
init: function(server) { | |
var config = server.config(); | |
} | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment