# Monitor message processing SLO and detect drops in message flow

**URL:** <https://community.dynatrace.com/t/monitor-message-processing-slo-and-detect-drops-in-message-flow/48780>\
**Category:** Automations\
**Tags:** slo, automations\
**Created:** [November 7, 2024, 10:01am UTC](https://community.dynatrace.com/t/monitor-message-processing-slo-and-detect-drops-in-message-flow/48780 "2024-11-07T10:01:03Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rishisingh1210](https://avatars.discourse-cdn.com/v4/letter/r/e0b2c6/32.png) [@rishisingh1210](https://community.dynatrace.com/u/rishisingh1210)\
**Post date:** [November 7, 2024, 10:01am UTC](https://community.dynatrace.com/t/monitor-message-processing-slo-and-detect-drops-in-message-flow/48780/1 "2024-11-07T10:01:03Z")

</div>

Hello Floks, I am trying to figure out a way to create an SLO for message processing, our application process 100s of messages every minute and we use a log file to capture each transaction (request/response).. we see a drop or no transaction against timestamp is there is an issue, and we need to capture than in SLO, so how many times( seconds) we are not processing any message, is there a way to do this against timesptamp in the logs against total time ( seconds over a period i.e for month)

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [November 7, 2024, 10:54am UTC](https://community.dynatrace.com/t/monitor-message-processing-slo-and-detect-drops-in-message-flow/48780/2 "2024-11-07T10:54:37Z")

</div>

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

You can find an examples regarding the raised concern:

- [Example configuration of service-level objective definitions (SLOs Classic) — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/slo-definitions-examples)
- [Configure and monitor service-level objectives (SLOs Classic) — Dynatrace Docs](https://docs.dynatrace.com/docs/shortlink/service-level-objectives)
- [Loading](https://university.dynatrace.com/ondemand/course/21409/video/25953?content=overview&section=21410)

Hoping it helps.

BR,

Peter

---

<div class="post-metadata">

**Author:** ![wolfgang\_heider](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/wolfgang_heider/32/12831_2.png) [@wolfgang\_heider](https://community.dynatrace.com/u/wolfgang_heider)\
**Post date:** [November 7, 2024, 11:12am UTC](https://community.dynatrace.com/t/monitor-message-processing-slo-and-detect-drops-in-message-flow/48780/3 "2024-11-07T11:12:08Z")

</div>

Hi&nbsp;[@rishisingh1210](https://community.dynatrace.com/user/74423)&nbsp;,

you might want to look into&nbsp;[https://community.dynatrace.com/t5/Feedback-channel/Feedback-channel-for-the-new-service-level-objectives-app/m-p/261200#M3745](https://community.dynatrace.com/post/261200#M3745)&nbsp;- what we have in a release currently.  
You will be able to define SLOs based on arbitrary DQL queries, that might allow to process timeframes between certain events. For sure, this would be very experimental and honestly, I would not know right away how to formulate a proper query that can be executed properly. However, I’m confident that it is possible and that with DQL we are getting where you want have more sophisticated SLOs.

Best, Wolfgang

---

<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:** [November 7, 2024, 12:45pm UTC](https://community.dynatrace.com/t/monitor-message-processing-slo-and-detect-drops-in-message-flow/48780/4 "2024-11-07T12:45:09Z")

</div>

Not sure if something like this will work, but as an idea.

Parse your log files to extract timestamps of each transaction (request/response).  
There is a funcion to calculate delta between array elements [Array functions — Dynatrace Docs](https://docs.dynatrace.com/docs/platform/grail/dynatrace-query-language/functions/array-functions#arrayDelta) , try to use it with the timestamps  
Sum the deltas [Array functions — Dynatrace Docs](https://docs.dynatrace.com/docs/platform/grail/dynatrace-query-language/functions/array-functions#arraySum)  
Working with the sum you’ll probably can have a number to work with.
