# What is the maximum length of custom property defined in Custom events?

**URL:** <https://community.dynatrace.com/t/what-is-the-maximum-length-of-custom-property-defined-in-custom-events/51822>\
**Category:** Alerting\
**Tags:** problem-detection, metric-events, problems\
**Created:** [May 26, 2025, 1:54pm UTC](https://community.dynatrace.com/t/what-is-the-maximum-length-of-custom-property-defined-in-custom-events/51822 "2025-05-26T13:54:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishnu\_kumar](https://avatars.discourse-cdn.com/v4/letter/v/df705f/32.png) [@vishnu\_kumar](https://community.dynatrace.com/u/vishnu_kumar)\
**Post date:** [May 26, 2025, 1:54pm UTC](https://community.dynatrace.com/t/what-is-the-maximum-length-of-custom-property-defined-in-custom-events/51822/1 "2025-05-26T13:54:06Z")

</div>

Hi All,

We have the option of adding custom properties into Custom Events, using Metric Events or Events Extraction.

What is maximum length of Value we can add in these custom properties?  
as per this Activegate document [here](https://docs.dynatrace.com/docs/ingest-from/extend-dynatrace/extensions/development/extension-how-tos/custom-properties), the max length for Properties is 140 characters, does this limit apply to the mentioned Properties too?

Thanks,  
Vishnu

---

<div class="post-metadata">

**Author:** ![marco\_irmer](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/marco_irmer/32/3038_2.png) [@marco\_irmer](https://community.dynatrace.com/u/marco_irmer)\
**Post date:** [May 27, 2025, 8:59pm UTC](https://community.dynatrace.com/t/what-is-the-maximum-length-of-custom-property-defined-in-custom-events/51822/2 "2025-05-27T20:59:04Z")

</div>

The docs for the [Events V2 API](https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-api/environment-api/events-v2/post-event) stipulate the following for custom properties:

- A maximum of 100 properties can be specified.
- A property key is allowed to contain up to 100 characters.
- A property value is allowed to contain up to 4096 characters.

I am reasonably confident that the above limits apply to Metric Events and Extracted Events as well.

---

<div class="post-metadata">

**Author:** ![vishnu\_kumar](https://avatars.discourse-cdn.com/v4/letter/v/df705f/32.png) [@vishnu\_kumar](https://community.dynatrace.com/u/vishnu_kumar)\
**Post date:** [May 28, 2025, 6:17am UTC](https://community.dynatrace.com/t/what-is-the-maximum-length-of-custom-property-defined-in-custom-events/51822/3 "2025-05-28T06:17:35Z")

</div>

Cool, thanks&nbsp;[@marco\_irmer](https://community.dynatrace.com/user/19769)

This should be added to the DT Docs
