I have installed Metricbeats on my ECS Docker Instance and I am monitoring logs of Docker from ECS to Elastic Search Kabana Dashboard. There is an issue with the Kabana that whenever I do any release by updating docker images the metricbeat stop giving logs on Kabana. I am unable to figure out what causes the issue.
I guess your metricbeat service is not able to restart back again after the update is done.
Is there anything the metricbeat is giving in logs, when it is stopping?
I am Unable to find the Logs of metricbeat on Amazon Linux Ec2 Instance. I have installed the metric beat using the following commands:
curl -L -O https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-7.11.2-linux-x86_64.tar.gz
tar xzvf metricbeat-7.11.2-linux-x86_64.tar.gz
cd metricbeat-7.11.2-linux-x86_64
./metricbeat modules enable docker
metricbeat setup -e
/metricbeat -e
Please let me know if there is any issue in the Installation.
have you enabled logging for your metricbeat?
if not, please add these to your metricbeat.yml and restart the service.
change the path to your respective folder you require logs in... and give necessary permissions to it.
logging.level: info
logging.to_files: true
logging.files:
path: /var/log/metricbeat
name: metricbeat
keepfiles: 7
permissions: 0640
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.