Skip to content

Instantly share code, notes, and snippets.

@Rand0mB0t
Last active October 27, 2020 13:10
Show Gist options
  • Save Rand0mB0t/3fb15a814aaabeb2a73dfe8145b299bd to your computer and use it in GitHub Desktop.
Save Rand0mB0t/3fb15a814aaabeb2a73dfe8145b299bd to your computer and use it in GitHub Desktop.
Stackdriver logging
- log-based metric
- Enabling Vpc flow logs, cloud audit logs
- exporting logs to may be bigquery, gcs( project levl/ org level )
- logs from compute engine, GKE
- third party logs
- application logs to stackdriver api directly
- basic and advance logging filters
- logging exclusion
- IAM
- restrict access to audit logs
- restrict export configuration
Stackdriver Monitoring
- metrics from compute engine, GKE
- metric explorer ( have an overview of how to do ad hoc metric analysis)
- Dashboard creation, sharing, filtering
- Alerting (third party)
- Based on SLI
- Automating creation using deployment manager/terraform
- SLO monitoring
- exporting to bigquery, gcs
- writing custom metric
- see ACL for doing this
Links
Go through all of the concepts - https://cloud.google.com/logging/docs/concepts
It is the best way to learn about any service, just go through the concepts and you will have a high level understanding of what it is.
And you can pretty much understand easily how it is used.And also you'll understand any how-to-guides easily.
vpc flow logs - https://cloud.google.com/vpc/docs/using-flow-logs
Explore the logging and monitoring documentation focusing on the bullet points mentined above.
There is qwiklab links I have added at the last milestone that would cover most of logging hands-on . I highly recommend that .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment