Metricbeat 401 error after enabling TLS

I've setup ElasticSearch, Kibana and Metricbeat on http and it's working.
Now I want to enable API keys, so I have to enable TLS (although I don't understand why).
So I got ES and Kibana working together, but Metricbeat cannot connect:

Error fetching data for metricset kibana.stats: HTTP error 401 in : 401 Unauthorized

I've tried to use the "elastic" user and to create a specific user, no success...

What should I do to connect Metricbeat to Kibana?

Thanks in advance



hi @Greg_R , how does the metricbeat configuration looks like now after enabling TLS? Have you followed the steps here Secure communication with Elasticsearch | Metricbeat Reference [7.14] | Elastic?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.