Start, stop, and monitor the status of the Filebeat service using
systemd.
Procedure
-
Start the service using the following command:
sudo systemctl start talend-filebeat
-
Stop the service using the following command:
sudo systemctl stop talend-filebeat
-
Check the status of the service using the following command:
sudo systemctl status talend-filebeat
-
Check logging information using the journalctl
command.
For example:
- To list service journal
entries:
sudo journalctl --unit talend-filebeat
- To list service journal entries after a specific
date:
sudo journalctl --unit talend-filebeat --since "2018-08-17 13:15:17"