# Metric for the total size of logs in the environment

**URL:** <https://community.dynatrace.com/t/metric-for-the-total-size-of-logs-in-the-environment/51609>\
**Category:** Logs\
**Tags:** grail, log-monitoring-class, logs\
**Created:** [May 13, 2025, 12:10pm UTC](https://community.dynatrace.com/t/metric-for-the-total-size-of-logs-in-the-environment/51609 "2025-05-13T12:10:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AquariusDarius](https://avatars.discourse-cdn.com/v4/letter/a/ad7895/32.png) [@AquariusDarius](https://community.dynatrace.com/u/AquariusDarius)\
**Post date:** [May 13, 2025, 12:10pm UTC](https://community.dynatrace.com/t/metric-for-the-total-size-of-logs-in-the-environment/51609/1 "2025-05-13T12:10:58Z")

</div>

Hi **Community** ,

We’re currently planning to enable **Grail** in our environment. However, before proceeding, the client wants to ensure we understand the potential increase in **license consumption** this change might incur.

In our current **Log Monitoring (Classic)** setup, we have log ingestion from two different software applications. On average, we receive **5 million logs and events every 24 hours**. I used the metric “ **Server - Log And Events Monitoring - Events Incoming Count** ” to measure this, but this metric only provides the count - not the size of the logs.

Since Grail licensing is based on data **volume (GiB)**, we need to know the **total size** of the incoming logs.

Is there a **built-in metric** or any other method I can use to get the total size of logs in our environment? Or would I need to contact our Dynatrace representative to retrieve this information? Are they the only ones who can provide this?

Any help would be greatly appreciated.

Thank you!

---

<div class="post-metadata">

**Author:** ![PacoPorro](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pacoporro/32/36087_2.png) [@PacoPorro](https://community.dynatrace.com/u/PacoPorro)\
**Post date:** [May 13, 2025, 2:21pm UTC](https://community.dynatrace.com/t/metric-for-the-total-size-of-logs-in-the-environment/51609/2 "2025-05-13T14:21:09Z")

</div>

**5 million logs per day** &nbsp;could translate to very different data volumes depending on the average size of each log entry.  
Definitely I would recommend contacting your&nbsp;Dynatrace representative
