Exiting: Error importing Kibana dashboards: Kibana API is not available in Kibana version 2.4.1

Hi Team,

I’m using 2.4.1 opensearch and 7.12.1 filebeat. I worked 10 days fine but after that it got failed.
The error was “Exiting: Error importing Kibana dashboards: Kibana API is not available in Kibana version 2.4.1”.
I already added " ```
compatibility.override_main_response_version: true


Anybody faced this issue?

Thanks

no body faced this issue? I upgraded opensearch to 2.5.0 but same error :S I guess filebeat dashboards are not compatible with opensearch.

Hi @a.emrekaraman,
Can you please share the Log from OpenSearch and from the OpenSearch-Dashboards?
Also, where did you added the " ```?
Was there any update or specific Event that caused the Problems, like Update the OpenSearch Cluster form Version 1.X to 2.X?
Is the OpenSearch Cluster itself available? Like are curl commands against the Search Engine possible so the Problem is the Communication with OpenSearch and OSD or is OpenSearch unavailable?

Hi,

I just installed 2.4.1 version with 3 nodes cluster. Also installed filebeat and configured one apache server. Everyhing was working file for about 13 days. After that, I saw filebeat service failed becuase of incompatible kibana version. I upgraded opensearch and dashbaord to 2.5 version but same issue occur.

I added “compatibility.override_main_response_version: true” to all 3 nodes config at the begging.

Filebeat config for dash board;
setup.dashboards.enabled: true
setup.dashboards.url: “http://172.21.181.179:8080
setup.kibana:
host: http://172.21.181.179:8080

The error from journalctl from filebeat server. no error on opensearch side becuase service is not able to start on filebeat.
Jan 29 22:16:52 tmktstweb01.yposta.net filebeat[20311]: 2023-01-29T22:16:52.480+0300 INFO instance/beat.go:465 filebeat stopped.
Jan 29 22:16:52 tmktstweb01.yposta.net filebeat[20311]: 2023-01-29T22:16:52.480+0300 ERROR instance/beat.go:971 Exiting: Error importing Kibana dashboa
Jan 29 22:16:52 tmktstweb01.yposta.net filebeat[20311]: Exiting: Error importing Kibana dashboards: Kibana API is not available in Kibana version 2.5.0
Jan 29 22:16:52 tmktstweb01.yposta.net systemd[1]: filebeat.service: main process exited, code=exited, status=1/FAILURE

Cluster seems ok;
$ curl -XGET https://127.0.0.1:9200/_cat/nodes?v -u ‘admin:admin’ --insecure
ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role node.roles cluster_manager name
172.21.181.181 50 96 3 0.02 0.07 0.06 dimr cluster_manager,data,ingest,remote_cluster_client - tmbtstweb05
172.21.181.179 52 96 4 0.11 0.14 0.14 dimr cluster_manager,data,ingest,remote_cluster_client - tmbtstweb03
172.21.181.180 37 85 5 0.08 0.10 0.13 dimr cluster_manager,data,ingest,remote_cluster_client * tmbtstweb04
$ curl -XGET https://127.0.0.1:9200/_cluster/health -u ‘admin:admin’ --insecure
{“cluster_name”:“es-1”,“status”:“green”,“timed_out”:false,“number_of_nodes”:3,“number_of_data_nodes”:3,“discovered_master”:true,“discovered_cluster_manager”:true,“active_primary_shards”:26,“active_shards”:56,“relocating_shards”:0,“initializing_shards”:0,“unassigned_shards”:0,“delayed_unassigned_shards”:0,“number_of_pending_tasks”:0,“number_of_in_flight_fetch”:0,“task_max_waiting_in_queue_millis”:0,“active_shards_percent_as_number”:100.0}$

Thnaks,
emre

It seems that this Issue is already known.

I think it is the best to ask in this Thread what is planned with Filebeat and OpenSearch-Dashboards

Hi,
I already asked but no response.
Thanks