Is it possible to use custom indices for one APM agent

Hi,

Is it possible to use custom indices for one APM agent in elastic 8+ ( with fleet) .
I want to restrict the accessibility of one app to a specific space using RBAC.

Hi @swchandu

Have you seen this documentation?

You can create a filtered alias that matches the service.name of the service that is producing the data you want to restrict. You can then create a new Kibana Space and update the APM index settings for that space.

You'd also likely want to create a filtered alias for all other services and configure them to a different space. This would separate your data into two different spaces that you could individually control access to.

Thank you very much.