Hi team,
i am trying for several weeks to install metricbeat on kubernetes cluster (azure) and i following these instructions:
Run Metricbeat on Kubernetes | Metricbeat Reference [8.6] | Elastic
i edited the metricbeat-kubernetes.yml file following
But the dashboard on kibana is showing nothing ......
- module: kubernetes
metricsets:
- apiserver
hosts: ["https://monitoringk8s-dns-8fba3240.hcp.northeurope.azmk8s.io:80"]
output.elasticsearch:
#hosts: ['${ELASTICSEARCH_HOST:elasticsearch}:${ELASTICSEARCH_PORT:9200}']
#username: ${ELASTICSEARCH_USERNAME}
#password: ${ELASTICSEARCH_PASSWORD}
hosts: [ "http://elasticsearch.imc-hosting.com:80"]
username: "xxxxxxxxx"
password: "xxxxxxxxxxxxxx"
@warkolm
i installed on VM :
curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-8.5.1-x86_64.rpm
Edit the configuration -> Modify /etc/metricbeat/metricbeat.yml
Enable and configure the kubernetes module
4 .Start Metricbeat
Module status
Check that data is received from the Metricbeat kubernetes module
Check data
Data successfully received from this module
After this i went on the Dashboard and under Metricbeat Kubernetes Overwiev i can't see anything...
And i am getting this error:
Error encountered while loading saved dashboard: Could not locate that dashboard (id: AV4RGUqo5NkDleZmzKuZ-ecs)
Do i missed any configuration ?
warkolm
(Mark Walkom)
January 18, 2023, 10:14pm
3
In future please don't ping people that aren't already part of your topic.
Did you run the setup command? If not then that's the likely cause.
i am sorry okai .
yes i run the setup command.
xeraa
(xeraa)
January 20, 2023, 2:34pm
5
Anything in the logs of Metricbeat? Also, not having any credentials when querying the Kubernetes API on a public interface sounds weird to me.
@xeraa
its working now.. the problem was the version of metricbeat. Using now 7.17. The latest one did not worked.
I just hide the credentials
system
(system)
Closed
February 17, 2023, 3:30pm
7
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.