How get es object in a service module dependency in kibana?

I'm doing a plugin migration from 6.1.x to 6.4.x
All plugin works well in 6.1.x
I can get es module in service dependencies priviously, but it is missing in 6.4.x version(which means it is undefined)

$http $q and configService(which is a custom service I defined) have corresponding values

so what should I do to make es show in the service module?
Is there a way to inject it ?

The es service still exists in 6.4 so it should be getting a value.

What does your plugin registration look like? Does your plugin require elasticsearch?

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