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


The Elastic APM agent for Java.


  • 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.


  • 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