gcloud
command-line interface. Google Cloud APIs must be enabled through the Services and APIs page in the console before they can be used with gcloud
. To perform the steps in this tutorial, enable the following APIs:gcp-customer-1.
Replace it with a valid project name from the target account.pubsub.subscriber
role.logstash
to pull logs from the Pub/Sub logging sink and send them to ElasticSearch:gcloud
./etc/logstash/conf.d/logstash.conf
with these contents, modifying values as needed:namespace
and cluster_id
in the Logstash configuration based on your needs.