Set up promtail in a GCP VM instance

I have a GCP setup with mostly serverless and so it seems like the option that makes the most sense is to have a Promtail with gcplogs scraping in a VM instance.

I am generally new with Promtail, so may have missed something, but I have in any case uploaded a Promtail Docker image with my configuration and set it as the container image for this VM. However, it does not appear that it actually start, the only logs that appear seems to be lower level management stuff, including some errors on missing services. Is perhaps the main Docker images not suitable in the VM instances?

Are there any guides on how to do this? Or are there better options?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.