﻿---
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://www.elastic.co/elastic/docs-builder/docs/3028/solutions/observability/logs/apm-agent-log-sending
products:
  - Elastic Cloud Serverless
  - Elastic Observability
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# 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/docs-builder/docs/3028/reference/apm/agents/java/logs#log-sending) documentation to get started.