# Read Message Key from Azure-Event-Hub

**URL:** <https://discuss.elastic.co/t/read-message-key-from-azure-event-hub/131721>\
**Category:** Logstash\
**Created:** [May 14, 2018, 10:42am UTC](https://discuss.elastic.co/t/read-message-key-from-azure-event-hub/131721 "2018-05-14T10:42:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gghdr](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@gghdr](https://discuss.elastic.co/u/gghdr)\
**Post date:** [May 14, 2018, 10:42am UTC](https://discuss.elastic.co/t/read-message-key-from-azure-event-hub/131721/1 "2018-05-14T10:42:22Z")

</div>

Hi,

i'm using the plugin logstash-input-azureeventhub ([https://github.com/Azure/azure-diagnostics-tools/tree/master/Logstash/logstash-input-azureeventhub](https://github.com/Azure/azure-diagnostics-tools/tree/master/Logstash/logstash-input-azureeventhub)) to read messages from Azure Event Hub queue.

It's possible to read the Key together with the Message? i'm not seeing options about that in the documentation.

Thank you in advance for the support.

---

<div class="post-metadata">

**Author:** ![thiago](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thiago/32/32096_2.png) [@thiago](https://discuss.elastic.co/u/thiago)\
**Post date:** [May 16, 2018, 3:34am UTC](https://discuss.elastic.co/t/read-message-key-from-azure-event-hub/131721/2 "2018-05-16T03:34:34Z")

</div>

If it's not documented then it should not be supported, but this is just a guess.

Since this a third-party library, my suggestion is that you reach out the appropriate discussion forum for this project or maybe the author directly.

You may not get much help here for this third-party library.

---

<div class="post-metadata">

**Author:** ![gghdr](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@gghdr](https://discuss.elastic.co/u/gghdr)\
**Post date:** [May 16, 2018, 9:01am UTC](https://discuss.elastic.co/t/read-message-key-from-azure-event-hub/131721/3 "2018-05-16T09:01:52Z")

</div>

That was my guess too.

I'll do what you suggested. I posted here just in case someone else had the same necessity.

Thank you for the answer.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 13, 2018, 9:01am UTC](https://discuss.elastic.co/t/read-message-key-from-azure-event-hub/131721/4 "2018-06-13T09:01:59Z")

</div>

Closed on June 13, 2018, 9:01am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
