---
title: APM agent log sending
description: Elastic APM agents can automatically capture and send logs directly to the managed intake service — enabling you to easily ingest log events without needing...
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4236/solutions/observability/logs/apm-agent-log-sending
products:
  - Elastic Cloud Serverless
  - Elastic Observability
---

# APM agent log sending
Elastic APM agents can automatically capture and send logs directly to the managed intake service — enabling you to easily ingest log events without needing a separate log shipper like Filebeat or Elastic Agent.
**Supported APM agents/languages**
- Java

**Requirements**
The Elastic APM agent for Java.
**Pros**
- Simple to set up as it only relies on the APM agent.
- No modification of the application required.
- No need to deploy Filebeat.
- No need to store log files in the file system.

**Cons**
- Experimental feature.
- Limited APM agent support.
- Not resilient to outages. Log messages can be dropped when buffered in the agent or in the managed intake service.


## Get started

See the [Java agent](https://docs-v3-preview.elastic.dev/elastic/apm-agent-java/tree/main/reference/logs#log-sending) documentation to get started.