Instance logs missing after instance is recreated due to health check failure

We are running instance group with multiple instances. Logging works just fine when the instance is running, we can go back to days. However if for some reason instance health check fails and it has to be recreated, all logs before the "compute.instances.repair.recreateInstance" event are just completely gone so we cannot even debug why the instance health check failed as no logs exist. Am I missing something here?

0 1 200
1 REPLY 1

You can check the Cloud Audit Logs if your VM rebooted and you don't see a comparable technique indicated in the following table. Reboot causes are frequently hard to pinpoint. If your virtual machines restart frequently, consider getting support.

My suggestion would be to contact Google Cloud Support so that they can help you to inspect your project and check your logs. If you are interested in starting to get support, please consider that this is a paid service, but if you already have a support plan, feel free to contact them.

Or you can also create a PIT (Public Issue Tracker).