Can you share metricbeat configuration and metricbeat logs. Just having the systemd logs gives you no details why it actually failed to startup.
Please format logs, configs and terminal input/output using the </>-Button or markdown code fences. This forum uses Markdown to format posts. Without proper formatting, it can be very hard to read your posts.
Jan 19 15:01:05 wp-p3s-1c.ebi.ac.uk metricbeat[1999]: Exiting: Error importing Kibana dashboards: fail to
Jan 19 15:01:05 wp-p3s-1c.ebi.ac.uk systemd[1]: metricbeat.service: main process exited, code=exited, sta
Jan 19 15:01:05 wp-p3s-1c.ebi.ac.uk systemd[1]: Unit metricbeat.service entered failed state.
Jan 19 15:01:05 wp-p3s-1c.ebi.ac.uk systemd[1]: metricbeat.service failed.
Jan 19 15:01:06 wp-p3s-1c.ebi.ac.uk systemd[1]: metricbeat.service holdoff time over, scheduling restart.
Jan 19 15:01:06 wp-p3s-1c.ebi.ac.uk systemd[1]: start request repeated too quickly for metricbeat.service
Jan 19 15:01:06 wp-p3s-1c.ebi.ac.uk systemd[1]: Failed to start metricbeat.
Jan 19 15:01:06 wp-p3s-1c.ebi.ac.uk systemd[1]: Unit metricbeat.service entered failed state.
Jan 19 15:01:06 wp-p3s-1c.ebi.ac.uk systemd[1]: metricbeat.service failed
i think it fails to import kibana dashboards , and hence fails to start? but why it then succeeds when i manually do:
systemctl restart metricbeat.
I just want it to start at system reboot without any manual steps.
Check your startup order. Is metricbeat started before or after the network is up?
As you run metricbeat as a service, consider to disable automatic kibana/elasticsearch configuration. You can setup kibana manually (or automated via Ansible and co.) by running metricbeat setup ....
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.