You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The AWS lambda extension is already forwarding metrics and trace signals to the APM Server. Now the extension is adding support for collecting logs (elastic/apm-aws-lambda#256). The APM server should be extended to also support proxying these logs to Elasticsearch.
This issue can be used as meta issue and be further split up, if necessary.
The POC should include:
Extend the http server to support receiving logs events (provide a logs endpoint or add logs event support to existing event intake API).
Add JSON spec for the logs format
Parse & process log events
Add a dedicated data stream, including mappings, ILM policy and ingest pipeline to the apmpackage.
Ship logs into one common logs-apm.* ES data stream for this POC.
Expected outcome
have a working prototype
identify further work items and potential bottlenecks or issues.
Out of Scope
Define final data stream strategy.
Full end-to-end test coverage
The text was updated successfully, but these errors were encountered:
I think we can keep the JSON spec very simple or maybe not even have a JSON spec. That's because there shouldn't be any required structure for logs and any top-level fields may be added.
The only field we may want to require is @timestamp, but in the context of LX, we're also thinking of ways to automatically set it to the ingest time if it's absent. For ECS JSON logs, which APM Agents will send we can, however, assume that there's always an @timestamp field.
The general idea is that only a handful of fields are indexed. Dynamic fields are added as runtime fields (dynamic: runtime).
I realize that this is quite a big shift in the model. Historically, we were having very strict models for the data that go into the APM indices. I think it makes a lot of sense for traces to be highly structured. But logs are more unstructured/semi-structured by nature.
We consider runtime dynamic mappings as a stretch goal in 8.5, but only if it's very clear that it won't cause any instability for the existing OTLP logs support.
The AWS lambda extension is already forwarding metrics and trace signals to the APM Server. Now the extension is adding support for collecting logs (elastic/apm-aws-lambda#256). The APM server should be extended to also support proxying these logs to Elasticsearch.
This issue can be used as meta issue and be further split up, if necessary.
The POC should include:
logs
endpoint or add logs event support to existing event intake API).apmpackage
.logs-apm.*
ES data stream for this POC.Expected outcome
Out of Scope
The text was updated successfully, but these errors were encountered: