# Plugin optimization error Kibana 6.0.0

**URL:** <https://discuss.elastic.co/t/plugin-optimization-error-kibana-6-0-0/118625>\
**Category:** Kibana\
**Created:** [February 6, 2018, 11:19am UTC](https://discuss.elastic.co/t/plugin-optimization-error-kibana-6-0-0/118625 "2018-02-06T11:19:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![anzijenny](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@anzijenny](https://discuss.elastic.co/u/anzijenny)\
**Post date:** [February 6, 2018, 11:19am UTC](https://discuss.elastic.co/t/plugin-optimization-error-kibana-6-0-0/118625/1 "2018-02-06T11:19:52Z")

</div>

Hi,  
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!

jenny

---

<div class="post-metadata">

**Author:** ![dsnider](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dsnider/32/44068_2.png) [@dsnider](https://discuss.elastic.co/u/dsnider)\
**Post date:** [February 6, 2018, 8:57pm UTC](https://discuss.elastic.co/t/plugin-optimization-error-kibana-6-0-0/118625/2 "2018-02-06T20:57:25Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [February 6, 2018, 10:11pm UTC](https://discuss.elastic.co/t/plugin-optimization-error-kibana-6-0-0/118625/3 "2018-02-06T22:11:04Z")

</div>

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:  
[https://www.elastic.co/guide/en/kibana/master/development-create-visualization.html](https://www.elastic.co/guide/en/kibana/master/development-create-visualization.html)

this blog post and video might also be helpful:

- [https://www.elastic.co/blog/developing-new-kibana-visualizations](https://www.elastic.co/blog/developing-new-kibana-visualizations)
- [https://www.elastic.co/webinars/creating-custom-kibana-visualizations](https://www.elastic.co/webinars/creating-custom-kibana-visualizations)

---

<div class="post-metadata">

**Author:** ![anzijenny](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@anzijenny](https://discuss.elastic.co/u/anzijenny)\
**Post date:** [February 8, 2018, 8:58am UTC](https://discuss.elastic.co/t/plugin-optimization-error-kibana-6-0-0/118625/4 "2018-02-08T08:58:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![anzijenny](https://avatars.discourse-cdn.com/v4/letter/a/4af34b/32.png) [@anzijenny](https://discuss.elastic.co/u/anzijenny)\
**Post date:** [February 28, 2018, 11:27am UTC](https://discuss.elastic.co/t/plugin-optimization-error-kibana-6-0-0/118625/5 "2018-02-28T11:27:35Z")

</div>

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 🙂

thanks,

jenny

 ![](https://us1.discourse-cdn.com/elastic/original/3X/d/0/d0c75120b4e71436c25fd6f9e198090d7ced3e41.png)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 28, 2018, 11:27am UTC](https://discuss.elastic.co/t/plugin-optimization-error-kibana-6-0-0/118625/6 "2018-03-28T11:27:42Z")

</div>

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