APM agent log sending
Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability This functionality is generally available and ready for production usage. Serverless interfaces and procedures might differ from classic Elastic Stack deployments. The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Serverless
Generally available
Stack
Generally available
Elastic APM agents can automatically capture and send logs directly to managed inputs — 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 managed inputs.
See the Java agent documentation to get started.