Which agent should you choose?
- Ops Agent: The primary and preferred agent for collecting telemetry from your Compute Engine instances. This agent combines logging and metrics into a single agent, providing YAML-based configurations for collecting your logs and metrics, and features high-throughput logging. You can configure the Ops Agent to collect logs from supported third-party applications.
- Legacy Logging agent: Streams logs from common third-party applications and system software to Cloud Logging. You can configure the agent to stream additional logs.