Loading

Custom Google Pub/Sub Integration

<div class="condensed-table">
| | |
| --- | --- |
| Version | 2.1.1 (View all) |
| Compatible Kibana version(s) | 8.13.0 or higher |
| Supported Serverless project types
What’s this? | Security
Observability |
| Subscription level
What’s this? | Basic |
| Level of support
What’s this? | Elastic |

</div>
The custom Google Pub/Sub input package is used to ingest data from a Google Pub/Sub topic subscription that is not covered by our GCP Integration.

This integration could, for example, be used to receive Stackdriver logs that have been exported to a Google Pub/Sub topic.

Multiple Elastic Agent instances can be configured to read from the same subscription to achieve high availability or increased throughput.

  1. Create a user-managed service account (you can skip this if Elastic Agent is running in a VM with a service account attached). See: Service Accounts
  2. Create a Pub/Sub topic and subscription. See:https://cloud.google.com/pubsub/docs/admin[Topics and Subscriptions]
  3. Configure this integration to read from the Pub/Sub subscription using the service account credentials.
  4. Write logs into the Pub/Sub topic yourself or configure a log sink to export GCP logs to the topic. See: Managing Sinks