Apm Server Binary - Service name based indices

During our migration from Elasticsearch 7 to Elasticsearch 8, we're utilizing the APM server binary. We need to maintain APM data for each service in separate daily indices. However, upon inspection, we found that the functionality to set indices based on the service name, available in APM server legacy, is missing in the APM server binary. Currently, all APM data for all services is aggregated within a single index daily using ILM. Is there any way to separate indices based on the service name?

The pattern we need is:
"apm-%{[observer.version]}-%{[service.name]}-error/transaction/span/metric-%{+yyyy.MM.dd}"
For example: apm-7.17.10-order-error-2024.04.16

apm server binary version: 8.13.2

1 Like