# Elastic APM Data Retention and Enterprise edition policy

**URL:** <https://discuss.elastic.co/t/elastic-apm-data-retention-and-enterprise-edition-policy/306571>\
**Category:** APM\
**Tags:** dotnet, java\
**Created:** [June 7, 2022, 1:15pm UTC](https://discuss.elastic.co/t/elastic-apm-data-retention-and-enterprise-edition-policy/306571 "2022-06-07T13:15:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Namita\_Jaokar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/namita_jaokar/32/104106_2.png) [@Namita\_Jaokar](https://discuss.elastic.co/u/Namita_Jaokar)\
**Post date:** [June 7, 2022, 1:15pm UTC](https://discuss.elastic.co/t/elastic-apm-data-retention-and-enterprise-edition-policy/306571/1 "2022-06-07T13:15:52Z")

</div>

Hi Team,

I am currently using ELK along with dotnet and java APM agents for monitoring applications of respective technologies.

I wanted to confirm on below points

Data retention:  
Since Elasticsearch uses Lucene documents to save the trace data, How long can I retrieve the trace details for a transaction that are saved in lucene indices. Does it depend on the index size.  
I have referred below link for understanding how long I can have the trace data in my system  
**[Index lifecycle management | APM User Guide [8.2] | Elastic](https://www.elastic.co/guide/en/apm/guide/current/ilm-how-to.html)**

Open source for Enterprise Edition:  
ELK is open source at enterprise level, Paid Version is available only in case customized features are required for the same.

Please confirm whether my understanding on above points are correct.

Thankyou in Advance.

Best Regards,  
Namita Jaokar

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [June 8, 2022, 3:25am UTC](https://discuss.elastic.co/t/elastic-apm-data-retention-and-enterprise-edition-policy/306571/2 "2022-06-08T03:25:01Z")

</div>

Hi @Namita_Jaokar

First you can keep / retain the APM Data transactions and traces as long as you want as long as you have enough storage / properly configured cluster. Yes all the data is stored in indices.

How long you keep the data depends on the Index Lifecycle Policy You implement, the default are listed on the page you linked to ... but you can easily create your own or override the policy. The ability to do that is not dependent on the subscription tier.

> [@Namita\_Jaokar](#):
>
> Open source for Enterprise Edition:  
> ELK is open source at enterprise level, Paid Version is available only in case customized features are required for the same.
> 
> Please confirm whether my understanding on above points are correct.

I am not quite clear what you mean by "Open source for Enterprise" please look at [this subscription page](https://www.elastic.co/subscriptions) that shows the different subscriptions Tiers Include Free, Platinum and Enterprise etc.

Free is Free 🙂

Platinum and Enterprise require a commercial / paid license.

Hope this helps.

---

<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:** [June 28, 2022, 11:25pm UTC](https://discuss.elastic.co/t/elastic-apm-data-retention-and-enterprise-edition-policy/306571/3 "2022-06-28T23:25:15Z")

</div>

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