Shiva Prasad
Shiva Prasad

Reputation: 33

Filebeat is unable to connect to elasticsearch

Filebeat is unable to connect to the elk. The filebeat log file shows the below error.

pipeline/output.go:154 Failed to connect to backoff(elasticsearch(http://X.X.X.X:9200)): 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_uuid":"na","index":"_license"}],"type":"invalid_index_name_exception","reason":"Invalid index name [license], must not start with ''.","index_uuid":"na","index":"_license"},"status":400}

filebeat version 7.13.2 elk version 7.5.1

Can somebody please help. Thanks.

Upvotes: 1

Views: 5587

Answers (1)

aag6z
aag6z

Reputation: 81

If your version of ELK is open source then 7.13 Beats will not work with it due to a breaking change. From 7.13, Beats will only work with the Elastic distribution.

Upvotes: 4

Related Questions