clamarque / kibana_health_metric_vis

Plugin for kibana Version 4.x, 5.x, 6.x and 7.x to change color of metric depending to the planned state of health
Apache License 2.0
47 stars 21 forks source link

Support for Kibana 6.1.x #24

Closed bwaang closed 6 years ago

bwaang commented 6 years ago

Hi,

Was looking for support for Kibana 6.1.x, already started some of the transitioning work for you:

https://github.com/clamarque/kibana_health_metric_vis/pull/22

However couldn't figure out why esResponse.hits.total was not returning anything when it was using the tabifyAggsResponse even though the code in 5.6 & 6.1 looked the same.

bwaang commented 6 years ago

This may be helpful, in 5.6 (which works) the esResponse looks like:

working-esreponse-5 6

However in 6.1 the esResponse isn't loading total and the structure looks completely different: failing-esresponse-6 1

clamarque commented 6 years ago

@bwaang Hi! Thank you :+1: ! sorry for the late. I will start working on it ;). I'll be back soon with some news.

ghost commented 6 years ago

Hi , I just installed this plugin in kibana5 but it is not reflecting in visualization. after done some changes as below still facing issues. Error:Module not found: Error: Cannot resolve 'file' or 'directory' C:\project_elkStack\software\kibana-6.0.1-windows-x86_64\src\ui\public/template_vis_type in C:\project_elkStack\software\kibana-6.0.1-windows-x86_64\plugins\kibana_health_metric_vis-master\public

, "authors": [ "" ], "license": "Apache-2.0", "repository": { "type": "git", "url": "" }, "scripts": { "lint": "eslint", "start": "plugin-helpers start", "test:server": "plugin-helpers test:server", "test:browser": "plugin-helpers test:browser", "build": "plugin-helpers build", "postinstall": "plugin-helpers postinstall" }, "devDependencies": { "@elastic/eslint-config-kibana": "0.0.2", "@elastic/plugin-helpers": "^6.0.0", "babel-eslint": "4.1.8", "chai": "^3.5.0", "eslint": "1.10.3", "eslint-plugin-mocha": "1.1.0" }

can you pleas help me on this

ghost commented 6 years ago

is this plugin available for version 6.1.1 for kibana? or please suggest what modification we do required fro that..

bwaang commented 6 years ago

@clamarque thanks for the response :) my guess is I need to populate an aggConfig object somewhere that gets eventually gets proccessed to the esResponse but just haven't had time to look into it.

Thanks for building such an awesome plugin :)

Stono commented 6 years ago

Hey, We're reallllllllllly like 6.1.2 support, please! Any updates clamarque? :)

clamarque commented 6 years ago

Hello ! I come back with some news. @bwaang the problem is that now they use React to generate their plugins. Indeed, the structures are the same but not the components. I need more time to understand and work on my plugin. thank you for your patience.

clamarque commented 6 years ago

@bwaang just look here , example on metric vis of kibana 6

bwaang commented 6 years ago

@clamarque thanks for the information, really appreciate your work on this!

clamarque commented 6 years ago

capture du 2018-02-28 13-40-23 It's working ! I coming back with a new release for kibana 6.2.2 very soon (need test before).

clamarque commented 6 years ago

The version 6.x is out ! you can now download the new version here ! I advice to update kibana and elasticsearch at latest version (best manage of visualizations). Create a another issue if you find a bug. Thanks you :)