Skip to main content
S3NS
Documentation Technology areas
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
Cross-product tools
  • Access and resources management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
/
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Português – Brasil
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어
Sign in
  • Google Cloud Observability
Guides Reference Resources
S3NS
  • Documentation
    • Guides
    • Reference
    • Resources
  • Technology areas
    • More
  • Cross-product tools
    • More
  • Discover
  • Cloud Logging overview
  • Trusted Cloud differences
  • Try it!
    • Quickstart: Write and query logs with the gcloud CLI
  • Learn fundamentals
  • Log entry data model
  • Store log entries
  • Route log entries
  • Query and view log entries
  • Set org and folder defaults
  • Configure default resource settings
  • Configure CMEK for Logging
  • Collect and write logs
  • Structured logging
  • Collect Kubernetes Engine logs
  • Write application logs
    • Logging libraries overview
  • Control access
  • Configure a log scope
  • Access control with IAM
  • Query, analyze, and view logs
  • Logs Explorer: Query and view logs
    • Logs Explorer overview
    • Build queries using the Logging query language
    • Logging query language
    • Sample queries and examples
      • Sample queries
  • View logs in supported destinations
    • View logs routed to Logging buckets
    • View logs routed to Pub/Sub
  • Store logs in log buckets
  • Configure log buckets
  • Configure CMEK for log buckets
  • Configure log views on a log bucket
  • Route logs to destinations
  • Configure log sinks
    • Route logs to supported destinations
    • Configure log sinks with user-managed service accounts
    • Route logs to third-party destinations
  • Configure sinks for folders and organizations
    • Aggregated sinks overview
    • Collate and route organization-level logs to supported destinations
    • Tutorial: Aggregate and store your organization's logs
  • Regionalize your logs
  • Cloud Audit Logs
  • Cloud Audit Logs overview
  • Services with audit logs
  • Enable Data Access audit logs
  • Audit logs in depth
    • Understand audit logs
    • Split log entries
    • Best practices
  • Cloud Logging audit logs
  • Audit logs datatypes
    • AuditLog
      • Types
      • AuditLog
      • PolicyType
    • BigQuery AuditData
      • Types
      • AuditData
      • LogType
    • IAM AuditData
      • Types
      • AuditData
  • Troubleshoot
  • Troubleshoot routing and storage
  • Troubleshoot CMEK and default settings
  • Troubleshoot querying and viewing logs
    • Troubleshoot Logs Explorer
    • Troubleshoot Logging query language
  • Other Google Cloud Observability documentation
  • Cloud Monitoring
  • Application development
  • Application hosting
  • Compute
  • Data analytics and pipelines
  • Databases
  • Networking
  • Observability and monitoring
  • Security
  • Storage
  • Access and resources management
  • Google Cloud SDK, languages, frameworks, and tools
  • Infrastructure as code
Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
  • Home
  • Google Cloud Observability
  • Logging
  • Documentation
  • Guides

Route logs to third-party destinations

To view your logs in Splunk or on another third-party platform, route your logs to a Pub/Sub topic. For information about how to create a Pub/Sub topic, see Create a topic.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-02 UTC.

  • Terms
  • Privacy
  • Manage cookies
  • English
  • Deutsch
  • Español – América Latina
  • Français
  • Indonesia
  • Italiano
  • Português – Brasil
  • 中文 – 简体
  • 中文 – 繁體
  • 日本語
  • 한국어