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 6.8.0 #57

Open gilmau opened 5 years ago

gilmau commented 5 years ago

Hi I was trying to install the latest version of the plugin on Kibana 6.8.0. This is the error I get the second I login to Kibana (with and without the security enable) and than the Kibana crushed:

C:\Users\gilm\Desktop\ek 6.8.0\kibana-6.8.0-windows-x86_64\plugins\kibana_api\server\routes.js:27 reply(obj); ^ TypeError: reply is not a function at C:/Users/gilm/Desktop/ek 6.8.0/kibana-6.8.0-windows-x86_64/plugins/kibana_api/server/routes.js:34:17 at C:\Users\gilm\Desktop\ek 6.8.0\kibana-6.8.0-windows-x86_64\plugins\kibana_api\node_modules\jsonfile\index.js:46:5 at C:\Users\gilm\Desktop\ek 6.8.0\kibana-6.8.0-windows-x86_64\plugins\kibana_api\node_modules\graceful-fs\graceful-fs.js:78:16 at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)

There's something to do about it? Thanks!

ytzlax commented 5 years ago

Hi, the plugin still don't support 6.8.0 version

ytzlax commented 5 years ago

Hi, please consider use kibana REST API

https://www.elastic.co/guide/en/kibana/master/api.html

Does meets your needs?

gilmau commented 5 years ago

We are using the Kibana-api to change the refresh time and the time filter to update Kibana I-frame that is hosted in our web page. We couldn't find this functionally in the Kibana REST-API documentation

We consider to upgrade to 6.8.0 because security element is open in the basic license.

scottsmith8 commented 5 years ago

Would be great to get 6.7 support as well. I installed the 7.0 fork. Clearing a filter works, however adding one crashes Kibana. Any plans to support these versions?

ytzlax commented 5 years ago

@SterlingSC86 In which feature do you intend to use in kibana API?

scottsmith8 commented 5 years ago

Just the filtering, however I had a look at the code and I don't think it will do what I need. I don't understand how you can filter without setting the field to filter on (possibly a topic for another thread)?

ytzlax commented 5 years ago

I edited the next file, now it's more clear. https://github.com/Webiks/kibana-API/wiki/Filter-functions#addsearchchip

scottsmith8 commented 5 years ago

Thanks for the update however adding a filter is still crashing Kibana and the filter is not applying. Clearing a filter still works