You are viewing docs on Elastic's new documentation system, currently in technical preview. For all other Elastic docs, visit elastic.co/guide.

APM agent log sending

Use the Java APM agent to capture and send logs.

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 documentation to get started.

On this page