# Trace Analytics / Indices required

**URL:** <https://forum.opensearch.org/t/trace-analytics-indices-required/4976>\
**Category:** Observability\
**Created:** [February 13, 2021, 11:37am UTC](https://forum.opensearch.org/t/trace-analytics-indices-required/4976 "2021-02-13T11:37:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wassim.dhib](https://avatars.discourse-cdn.com/v4/letter/w/e9bcb4/32.png) [@wassim.dhib](https://forum.opensearch.org/u/wassim.dhib)\
**Post date:** [February 13, 2021, 11:37am UTC](https://forum.opensearch.org/t/trace-analytics-indices-required/4976/1 "2021-02-13T11:37:14Z")

</div>

Hi,

I’m using Kibana Trace Analysis plugin along with opentelemtry java agent and data-prepper.

We use one elasticsearch cluster to monitor performance of multiple applications.

I configured the security plugin in order to give specific rights to each user :  
user A sees application A indices : `otel-v1-apm-*appA`  
user B sees application B indices : `otel-v1-apm-*appB`

This works for span indices since the Kibana Trace Analysis plugin is seeking for data that match `otel-v1-apm-span-*`

But, for service map data, the plugin didn’t find anay data, because it’is seeking for exact indice name : `otel-v1-apm-service-map`

 ![image](https://us1.discourse-cdn.com/flex019/uploads/mauve_hedgehog/original/2X/c/cd9d0c067ff3dbe85312d03e0ffca66f6907d690.png)

Can this rule be extended to seek data in indices that match `otel-v1-apm-service-map-*`

---

<div class="post-metadata">

**Author:** ![joshli](https://avatars.discourse-cdn.com/v4/letter/j/a9a28c/32.png) [@joshli](https://forum.opensearch.org/u/joshli)\
**Post date:** [February 17, 2021, 10:04pm UTC](https://forum.opensearch.org/t/trace-analytics-indices-required/4976/2 "2021-02-17T22:04:12Z")

</div>

Hi wassim.dhib, I see you created a PR to add this, I [commented on the PR](https://github.com/opendistro-for-elasticsearch/trace-analytics/pull/21#issuecomment-780883243) about updating unit test snapshots. Once github action passes I’ll merge your change, then it should work for you. Thanks!
