On a test machine with Debian 10 with a desktop, filebeat did not startup after a hard VM reset.
I would like to be sure that on Debian systems with a desktop and headless systems this service restart it self upon failure ( restarting manual on the desktop system worked.. )
How to configure that on Debian
I'm a bit more into windows where its easy to set reset options for a service.
So in normal conditions, after you restart your VM Filebbeat would start without a problem. correct?
Do you want to make sure if filebeat service failed for some reason it would automatically restart itself?
Yes your correct normally it should start when the system startup.
But if for some reason it fails, i like it to restart.
As especially those moments are interesting times.
This is more of a Linux problem than a elasticsearch one. I did something like this for my elasticsearch service But I did it in a CentOS machine. Follow this guide. Pay attention to the Restart=on-failure part.
It's not. as I said before it might be on a different directory for your OS. unfortunately I don't have a Debian-based system to check that for you. But you could find it with a little bit of searching.
On the psotive side at least now it has survived several hard resets without config changes.
And if there truely would be something wrong with a real server its console check anyway.
For now i give this issue a bit of rest, got to work on other stuff.
If someone knows update the forum, or incase it gets closed (as i've seen with some other interesting question lacking solutions.. then pm me here.
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.