# Java apm agent and custom index

**URL:** <https://discuss.elastic.co/t/java-apm-agent-and-custom-index/264519>\
**Category:** APM\
**Tags:** java, server\
**Created:** [February 17, 2021, 7:25am UTC](https://discuss.elastic.co/t/java-apm-agent-and-custom-index/264519 "2021-02-17T07:25:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GershonA](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gershona/32/48164_2.png) [@GershonA](https://discuss.elastic.co/u/GershonA)\
**Post date:** [February 17, 2021, 7:25am UTC](https://discuss.elastic.co/t/java-apm-agent-and-custom-index/264519/1 "2021-02-17T07:25:26Z")

</div>

Hello,  
We using elastic-apm-agent-1.21.0 and cloud elastic service.  
From my research, currently the agent can only write to default apm-\* index.  
We want to write to some custom/different index.  
That is possible?  
Thank You!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [March 10, 2021, 3:26am UTC](https://discuss.elastic.co/t/java-apm-agent-and-custom-index/264519/2 "2021-03-10T03:26:11Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
