Plugin optimization error Kibana 6.0.0

(jenny) #1

I'm having some trouble getting the c3_charts plugin (supported by Kibana 5+) to work in Kibana 6.0.0. The log file states that Kibana is not finding the template_vis_type. I did some snooping around but it appears as if the template_vis_type folder is missing in my Kibana installation. Googling I saw that others seem to have similar issues, but i haven't seen any suggestions on how to fix it. Did template_vis_type change location or was it renamed in the new Kibana release?

Thanks for your help!


(David Snider (Kibana Design)) #2

I believe there was some housekeeping and cleanup in the transition to 6.0 visualizations. @thomasneirynck might be able to steer you in the right direction.

(Thomas Neirynck) #3

hi @anzijenny,

yes, that's correct, the template_vis_type module is no longer there.

You can check the documentation, that will give you most of the info you'll need to migrate:

this blog post and video might also be helpful:

(jenny) #4

Thanks a lot, I'll give it a try!

(jenny) #5

Hi Thomas,

I've been doing good progress in creating a new visualization type, the new
vis symbol showed up under the visualization list, the options side bar
look ok and I manage to render a svg with fake data in kibana, but now I'm
stuck on the retrieval of log data from elastic search. in older plugin
codes I see that this data is called by the vis_controller like this more
or less:

        $scope.$watch('esResponse', function (resp) {
            if (resp) {
                ...." do this or that"...

the data i'm interested in being contained in the "resp" variable.

i tried simply importing this piece of code (along with the module
controller) in my vis_controller.js but that did't work (kibana complained
over $scope in the browser).

any suggestions on how to proceed? it's possible/likely that I've made some
stupid mistake, or could the problem be that i'm doing a visualization type
and not an app? i took a look at your webinar_app code but there was no
controller file that I seem to need in any case to visualize my data.

please help :slight_smile:



(system) #6

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.