Can someone help me with the below error?
#filebeat test output -c /etc/filebeat/filebeat.yml
talk to server... ERROR Connection marked as failed because the onConnect callback failed: could not connect to a compatible version of Elasticsearch: unauthorized access, could not connect to the xpack endpoint, verify your credentials
OS version:
Distributor ID: Ubuntu Description: Ubuntu 18.04.5 LTS Release: 18.04 Codename: bionic
Elasticsearch version:
7.4
FileBeat version:
filebeat version 7.13.1 (amd64), libbeat 7.13.1 [2d80f6e99f41b65a270d61706fa98d13cfbda18d built 2021-05-28 16:38:20 +0000 UTC]
I am using Elasticsearch Service from AWS and using OSS version of filebeat. It was working fine with filebeat version 7.12.1. When the version got upgraded we are facing this issue.