Stay organized with collections
Save and categorize content based on your preferences.
Google Cloud Observability provides the following agents for collecting logs from Linux and Windows VM
instances.
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.
If you're new to Google Cloud, create an account to evaluate how
Google Cloud Observability performs in real-world
scenarios. New customers also get $300 in free credits to run, test, and
deploy workloads.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],[],[],[],null,["# Google Cloud Observability agents\n\nGoogle Cloud Observability provides the following agents for collecting logs from Linux and Windows VM instances.\n\n\u003cbr /\u003e\n\nWhich agent should you choose?\n------------------------------\n\n- [**Ops Agent**](/logging/docs/agent/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](/logging/docs/agent/ops-agent/third-party).\n- [**Legacy Logging agent**](/logging/docs/agent/logging): Streams logs from common third-party applications and system software to Cloud Logging. You can configure the agent to stream additional logs.\n\n\u003cbr /\u003e\n\n**Note:** There will be no new feature development or support for new operating systems for the legacy Logging agent. We recommend that you use the [Ops Agent](/logging/docs/agent/ops-agent) for new workloads and eventually transition your existing VMs to use the Ops Agent. \n[### Ops Agent\nView docs](/logging/docs/agent/ops-agent) \n[### Legacy Logging agent\nView docs](/logging/docs/agent/logging)\n\nTry it for yourself\n-------------------\n\n\nIf you're new to Google Cloud, create an account to evaluate how\nGoogle Cloud Observability performs in real-world\nscenarios. New customers also get $300 in free credits to run, test, and\ndeploy workloads.\n[Try Google Cloud Observability free](https://console.cloud.google.com/freetrial)"]]