TLDR Florian sought help forwarding Google Cloud logging to their cloud service. Prabhat suggested exporting logs via pub-sub to OpenObserve, with authentication needing improvement. After considering alternatives, they agreed to use a URL with a shared key.
the recommended mechanism on GCP for exporting logs is via pub sub
logs -> log router -> pub-sub-> OpenObserve
there one missing item on authentication at OpenObserve for google cloud
pub-sub sends a JWT that needs to be validated by OpenObserve to amke sure that the request is coming from the expected source
We will need to build this on OpenObserve cloud as well as open source.
We have done something similar for AWS using kinesis firehose.
I am trying to find the keys that can be used for validating the JWT from GCP docs
No worries I am not in a hurry.
Looking at DD they worked around this by using a URL located API key
Ah, neat trick. a shared key.
that could work too
I would rather prefer the JWT as its more secure than the shared secret but let's figure out the complexity
Yeah, the google way is rather complex but also more secure :smile:
I checked. We will take the easy path
give a URL with the shared key
Perfect, I will happily try it :smile:
Florian
Fri, 16 Jun 2023 12:21:51 UTCHi, do you have an idea how to forward google cloud logging to your cloud service? (I think the same process would work with OSS as well)