Webiks / kibana-API

Kibana-API is an extension to Kibana that lets you tap in to the dashboard management board from your app and change the visualizations dynamically
Apache License 2.0
124 stars 31 forks source link

kibana 7.0 support #55

Open chenchuangc opened 5 years ago

chenchuangc commented 5 years ago

can it support kibana 7.0?

edmiester777 commented 5 years ago

Tried building and installing for 7.0.1, and it appears that the kibana libraries have changed. The code gave the following exception:

Error: handler method did not return a value, a promise, or throw an error
          at module.exports.internals.Manager.execute (/usr/share/kibana/node_modules/hapi/lib/toolkit.js:52:29)
          at process._tickCallback (internal/process/next_tick.js:68:7)

The 7.x support will probably take a little time, but I am working on supporting it. PR will be posted when I make progress.

EDIT: The root problem refers to a change in the HApi framework documented here: https://www.elastic.co/blog/kibana-plugin-api-changes-in-6-6.

edmiester777 commented 5 years ago

I have submitted a PR for an updated version to work with 7.0.x, and I have published a release binary that you can install on my fork. Let me know if there are issues with the port.

ych861031 commented 5 years ago

I used the updated version submitted by @edmiester777 on 7.0.1, but I got an empty view.

螢幕快照 2019-08-30 下午1 34 24

Does anyone know what I miss?