UNPKG

kibana-123

Version:

Kibana is an open source (Apache Licensed), browser based analytics and search dashboard for Elasticsearch. Kibana is a snap to setup and start using. Kibana strives to be easy to get started with, while also being flexible and powerful, just like Elastic

16 lines (13 loc) 430 B
import { fromNode } from 'bluebird'; import evenBetter from 'even-better'; import loggingConfiguration from './configuration'; export default function (kbnServer, server, config) { // prevent relying on kbnServer so this can be used with other hapi servers kbnServer = null; return fromNode(function (cb) { server.register({ register: evenBetter, options: loggingConfiguration(config) }, cb); }); };