Hello,
Environment:
-
singlenode sandbox running 7.16.2
-
Security enabled (TLS inter node comms) No Https
Issue:
- Installed metricbeat and enabled Elasticsearch however node still reporting as self monitored
- Getting status of metricbeat service is throwing the following errors
Jan 19 13:13:43 ip-172-31-70-54 metricbeat[27603]: 2022-01-19T13:13:43.610Z ERROR module/wrapper.go:259 Error fetching data for metricset elasticsearch.ccr: error determining if connected Elasticsearch node is master: HTTP error 401 in : 401 Unauthorized
Jan 19 13:13:53 ip-172-31-70-54 metricbeat[27603]: 2022-01-19T13:13:53.647Z ERROR module/wrapper.go:259 Error fetching data for metricset elasticsearch.ml_job: error determining if connected Elasticsearch node is master: HTTP error 401 in : 401 Unauthorized
Jan 19 13:13:53 ip-172-31-70-54 metricbeat[27603]: 2022-01-19T13:13:53.647Z ERROR module/wrapper.go:259 Error fetching data for metricset elasticsearch.node_stats: HTTP error 401 in : 401 Unauthorized
Jan 19 13:13:53 ip-172-31-70-54 metricbeat[27603]: 2022-01-19T13:13:53.648Z ERROR module/wrapper.go:259 Error fetching data for metricset elasticsearch.shard: error determining if connected Elasticsearch node is master: HTTP error 401 in : 401 Unauthorized
Jan 19 13:13:53 ip-172-31-70-54 metricbeat[27603]: 2022-01-19T13:13:53.648Z ERROR module/wrapper.go:259 Error fetching data for metricset elasticsearch.enrich: error determining if connected Elasticsearch node is master: HTTP error 401 in : 401 Unauthorized
Jan 19 13:13:53 ip-172-31-70-54 metricbeat[27603]: 2022-01-19T13:13:53.648Z ERROR module/wrapper.go:259 Error fetching data for metricset elasticsearch.index_recovery: error determining if connected Elasticsearch node is master: HTTP error 401 in : 401 Unauthorized
Jan 19 13:13:53 ip-172-31-70-54 metricbeat[27603]: 2022-01-19T13:13:53.649Z ERROR module/wrapper.go:259 Error fetching data for metricset elasticsearch.ccr: error determining if connected Elasticsearch node is master: HTTP error 401 in : 401 Unauthorized
Jan 19 13:13:53 ip-172-31-70-54 metricbeat[27603]: 2022-01-19T13:13:53.649Z ERROR module/wrapper.go:259 Error fetching data for metricset elasticsearch.cluster_stats: error determining if connected Elasticsearch node is master: HTTP error 401 in : 401 Unauthorized
Jan 19 13:13:53 ip-172-31-70-54 metricbeat[27603]: 2022-01-19T13:13:53.649Z ERROR module/wrapper.go:259 Error fetching data for metricset elasticsearch.index_summary: error determining if connected Elasticsearch node is master: HTTP error 401 in : 401 Unauthorized
Jan 19 13:13:53 ip-172-31-70-54 metricbeat[27603]: 2022-01-19T13:13:53.650Z ERROR module/wrapper.go:259 Error fetching data for metricset elasticsearch.index: error determining if connected Elasticsearch node is master: HTTP error 401 in : 401 Unauthorized
Credentials have been configured in each service as well as the metricbeat Elasticsearch module.