AntonShuvaev / elasticsearch4idea

Elasticsearch Plugin for JetBrains IDEs
https://plugins.jetbrains.com/plugin/14512-elasticsearch
59 stars 8 forks source link

Kibana connector #69

Closed cakarlen closed 2 years ago

cakarlen commented 2 years ago

Quick question:

Is the Kibana connection object supposed to be able to authenticate to Kibana in order to run only Kibana REST APIs instead of Elasticsearch? Right now, it seems as if the Kibana connector will talk to Elasticsearch instead of talking to Kibana.

AntonShuvaev commented 2 years ago

Sometimes only Kibana exposed to the internet but not Elasticsearch. In this case it is possible to connect to Kibana and use it as proxy to Elasticsearch through /api/console/proxy API. The behavior is the same as connecting to Elasticsearch.

cakarlen commented 2 years ago

Ah I see now. Thanks for that clarification.

Is it then possible to call upon Kibana specific API endpoints as an enhancement to the plugin?

AntonShuvaev commented 2 years ago

This doesn't seem difficult since the Kibana API is prefixed with "api", unlike the Elasticsearch API. I will support this in a future update.

AntonShuvaev commented 2 years ago

Kibana REST API with autocompletion added in 2022.1.6.