Deploying filebeat error

Hi Team,

when we are trying to deploying filebeat in one of the server ,getting below error . may someone help me on this

ERROR [publisher_pipeline_output] Failed to connect to backoff(elasticsearch(
Connection marked as failed because the onConnect callback failed: could not connect to a compatible version of
Elasticsearch: 400 Bad Request: {“error”:{“root_cause”:[{“type”:“invalid_index_name_exception”,“reason”:
“Invalid index name [license], must not start with ''.”,“index”:“_license”,“index_uuid”:“na”}],“type”:“invalid_index_name_exception”,
“reason”:“Invalid index name [license], must not start with ''.”,“index”:“_license”,“index_uuid”:“na”},“status”:400}

INFO [publisher_pipeline_output] Attempting to reconnect to backoff(elasticsearch( with 22 reconnect attempt(s)

Note: We install opensearch version 1.2.3 and opensearch dashboard version 1.2.0 through helm. able to open the dashboard. when we are trying using filebeat getting above error.

i want to know what is the elasticsearch version and kibana version used this opensearch version.?