GCP Cloud Logging
Create a service account
gcloud iam service-accounts create logstash --display-name="Logstash to Apica Ascent"gcloud projects add-iam-policy-binding gcp-customer-1 \
--member serviceAccount:[email protected] \
--role roles/pubsub.subscriber
//Replace the customer name 'gcp-customer-1' with a valid oneCreate a Pub/Sub topic and subscription
Create a log sink
Create a GCP PubSub App extension
Create the Logstash VM (Deprecated)
Configure Logstash (self managed GKE)
GKE Autopilot cluster (Deprecated)
Running logstash outside of GCE
Last updated
Was this helpful?