elastic / apm-server

https://www.elastic.co/guide/en/apm/guide/current/index.html
Other
1.22k stars 523 forks source link

Deprecation logs for APM Server (+Agents?) #4284

Open graphaelli opened 4 years ago

graphaelli commented 4 years ago

Elastic Stack products will start to collect deprecation logs in an elasticsearch index. This issue tracks investigation of:

axw commented 4 years ago
simitt commented 3 years ago

ES is going to write to .logs-deprecation-elasticsearch - let's consider writing to .logs-deprecation-apm to be aligned.

axw commented 3 years ago

Any issues you can link to? Will Elasticsearch install a data stream index template for .logs-deprecation-*, or will we need to create our own?

simitt commented 3 years ago

Nothing to link to yet; good question around the data stream index template - this still needs to be figured out.

axw commented 3 years ago

As of 7.13.0, Elasticsearch will install an index template matching .logs-deprecation-*: https://github.com/elastic/elasticsearch/pull/68737

I propose that we introduce config to enable deprecation logging, and have it enabled automatically when the output is Elasticsearch v7.13.0+. Our deprecation logs would go to .logs-deprecation.apm-default.

ph commented 2 years ago

@simitt Are you planning to do that for 8.x? I've been looking at this from our side elastic/elastic-agent#122

simitt commented 2 years ago

We have not enabled it for 7.x, no concrete plans yet for 8.x.