Kibana Plugins require Elasticsearch version 8.0.0?

I'm trying to writ a kibana plugin.

When i start the kibana , i get the following startup messages.
Why is it asking for elasticsearch version 8.0.0 when we dont even have this version yet?
I'm working with version 7.3.1.

server log [15:25:59.027] [error][status][plugin:xpack_main@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.034] [error][status][plugin:graph@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.038] [error][status][plugin:spaces@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.038] [error][status][plugin:searchprofiler@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.071] [error][status][plugin:ml@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.072] [error][status][plugin:tilemap@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.073] [error][status][plugin:watcher@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.073] [error][status][plugin:grokdebugger@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.073] [error][status][plugin:logstash@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.074] [error][status][plugin:beats_management@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.074] [error][status][plugin:maps@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.075] [error][status][plugin:index_management@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.075] [error][status][plugin:index_lifecycle_management@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.076] [error][status][plugin:rollup@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.076] [error][status][plugin:remote_clusters@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.076] [error][status][plugin:cross_cluster_replication@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.076] [error][status][plugin:file_upload@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.077] [error][status][plugin:snapshot_restore@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)
server log [15:25:59.077] [error][status][plugin:elasticsearch@8.0.0] Status changed from yellow to red - This version of Kibana requires Elasticsearch v8.0.0 on all nodes. I found the following incompatible nodes in your cluster: v7.3.1 @ 127.0.0.1:9200 (127.0.0.1)

It looks like you might be running Kibana from source on the master branch, instead of running Kibana from one of our packaged builds. You can see the packaged builds here: https://www.elastic.co/downloads/past-releases#kibana

How can I develop a plugin without using kibana source code.? Can it be done from a packaged builds?

Peter Gervais
25 Fraser Street , PO Box 21

St Andrews West

K0C 2A0

613-938-6549

The same process as developing directly from source: download the packaged build, add a sibling folder named kibana-extra for your plugin, and it will get picked up by our build system. The kibana build system is currently part of the packaged builds.

Wylie,
In order to generate a plugin template, the documentation states: https://www.elastic.co/guide/en/kibana/current/development-plugin-resources.html

node scripts/generate_plugin my_plugin_name # replace "my_plugin_name" with your

When you download and use a prebuilt build, there is no scripts directory.

Therefore, have no choice but to extract source from github only to get scripts directory .

Why is this folder not included in a prebuilt build?

I haven't developed a custom plugin like this, but you may be right that the instructions here are optimized for working with the source directly.

If that's the case, then you should be working from the source on the correct branch: https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#branching

Wylie

Actually the best way to develop a plugin as I found out is simply copy someone else working plugin as a starting point. Sine the online docs in this area are seriously lacking the best is to get a working example.

Peter Gervais
25 Fraser Street , PO Box 21

St Andrews West

K0C 2A0

613-938-6549

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