Google Cloud Logging
Project logs through a Pub/Sub push subscription.
LogsAvailable
What you get
Logs, arriving through Logs Router sink and Pub/Sub push (OIDC).
Set it up
- Create an ingest key in Epok: Settings, then API keys.
- Download gcp.sh from the setup page (or use the Terraform module), read it, and run it for your project.
- It creates a Logs Router sink, a Pub/Sub topic with a dead-letter topic, and a push subscription that signs each delivery with a Google OIDC token.
- Run the data-arrived check from the setup page, then search for the logs in Explore.
The commands and configuration for each step are on the setup guide.
What was tested
- The published setup, run against a local copy of Epok's ingest stack: 1 run.
- End to end with real cloud resources, sending to a local Epok stack rather than the hosted service: 1 run.
- Code tests of the ingest route or the sender: 2 tests.
- No run against the hosted service is recorded yet.
What you see in Epok
- Explore and Live tail: search, patterns and new errors.
Troubleshooting
- Epok answers 403 when the subscription's token audience differs from its push endpoint. Re-run gcp.sh to fix it.
- Nothing reaches the topic when the sink's writer identity lacks the publisher role on it. Re-run gcp.sh; the grants are idempotent.
- A new sink can drop entries for its first minutes.