# APM transactions displayed in wrong time order

**URL:** <https://discuss.elastic.co/t/apm-transactions-displayed-in-wrong-time-order/178406>\
**Category:** APM\
**Created:** [April 25, 2019, 9:10am UTC](https://discuss.elastic.co/t/apm-transactions-displayed-in-wrong-time-order/178406 "2019-04-25T09:10:50Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![vsmelov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vsmelov/32/79783_2.png) [@vsmelov](https://discuss.elastic.co/u/vsmelov)\
**Post date:** [April 26, 2019, 12:22pm UTC](https://discuss.elastic.co/t/apm-transactions-displayed-in-wrong-time-order/178406/6 "2019-04-26T12:22:14Z")

</div>

I use ZMQ sockets

componentA publishes message like `{'apm_id': 'xxx', 'data': 'event1'}` to socket and log transaction to APM  
componentB receive event1 from socket, process it for 200ms, log transaction to APM and publishes `{'apm_id': 'xxx', 'data': 'event2'}`to socket  
componentC receive event1 from socket and log transaction to APM  
componentC receive event2 from socket and log transaction to APM

I can write some very simplified python-code for this use-case and post it if necessary.  
Because now these components are parts of our big application.

But it still does not clear for me, why I see correct logs in elasticsearch but wrong visualisation.

---

_[View the full topic](https://discuss.elastic.co/t/apm-transactions-displayed-in-wrong-time-order/178406)._
