# Lag between log ingestion -\> event extraction -\> Event API ?

**URL:** <https://community.dynatrace.com/t/lag-between-log-ingestion-event-extraction-event-api/40485>\
**Category:** Logs\
**Tags:** log-configuration, log-monitoring-class, events, dynatrace-api\
**Created:** [July 1, 2023, 9:31pm UTC](https://community.dynatrace.com/t/lag-between-log-ingestion-event-extraction-event-api/40485 "2023-07-01T21:31:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![AntonioSousa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/antoniosousa/32/50_2.png) [@AntonioSousa](https://community.dynatrace.com/u/AntonioSousa)\
**Post date:** [July 1, 2023, 9:31pm UTC](https://community.dynatrace.com/t/lag-between-log-ingestion-event-extraction-event-api/40485/1 "2023-07-01T21:31:02Z")

</div>

I’m experiencing different lag in Events extraction from logs. I have experienced this in a Managed environment, and it can be several seconds, but also above a minute, between when it’s ingested in Logs, and then available in the Events API.

Has anyone an idea what factors might affect this lag, and how this latency can be optimized?

---

<div class="post-metadata">

**Author:** ![Babar\_Qayyum](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/babar_qayyum/32/13620_2.png) [@Babar\_Qayyum](https://community.dynatrace.com/u/Babar_Qayyum)\
**Post date:** [July 2, 2023, 6:16am UTC](https://community.dynatrace.com/t/lag-between-log-ingestion-event-extraction-event-api/40485/2 "2023-07-02T06:16:00Z")

</div>

Hello&nbsp;[@AntonioSousa](https://community.dynatrace.com/user/17213)

I cannot comment at the moment about lag, but in the past, I have seen that log events were ignored whenever the&nbsp;cluster exceeds the limit.

Server - Log And Events Monitoring - Events Rejected Count

[Log Monitoring default limits (Logs Classic) | Dynatrace Docs](https://www.dynatrace.com/support/help/observe-and-explore/logs/log-monitoring/log-monitoring-limits#tabgroup--log-monitoring-limits--managed)

Regards,

Babar
