AggConfig object not found

Getting this error after upgrading ELK stack from 6.3.2 to 6.5.0.

My custom Kibana plugin has stopped rendering. Are there some necessary changes need to be made as part of the upgrade?

Can u please provide more details ? What are the errors on ES and Kibana logs?

cc @tylersmalley

THanks
Rashmi

I'm trying to upgrade some custom plugins and I've the same issue.
It's seems to be caused by the new courier request handler.

In my case, the console print the following error :

TypeError: Cannot read property 'aggConfig' of undefined
at collectBucket (tabify.js:62)
at tabify.js:78
at _buckets.js:67
at Array.forEach ()
at TabifyBuckets.forEach (_buckets.js:66)
at collectBucket (tabify.js:70)
at tabify.js:78
at _buckets.js:67
at Array.forEach ()
at TabifyBuckets.forEach (_buckets.js:66)
at collectBucket (tabify.js:70)
at tabify.js:78
at _buckets.js:67
at Array.forEach ()
at TabifyBuckets.forEach (_buckets.js:66)
at collectBucket (tabify.js:70)

The courier retrieve all needed data from elasticsearch.

@pchakour Were you able to solve it?

Not yet. I'm currently looking for a way to fix it.
It's possible to create a custom request handler to avoid the problem but I want to use the standard courier.

@rashmi, do you have any ideas about our issue ?

I've more informations about my issue. It's happen when my custom plugin has only one bucket define in the schema. I patch the kibana code to handle this case.

It's a bug of kibana or it's something expected ?

Can you pls share the patch details ?

This is a link with the git diff http://www.rapidshare.com.cn/B52ntSD

I don't think usefull for you because you have metrics and buckets in your visualization.

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