# Get piece of message from huge message

**URL:** <https://discuss.elastic.co/t/get-piece-of-message-from-huge-message/153367>\
**Category:** Logstash\
**Created:** [October 22, 2018, 10:02am UTC](https://discuss.elastic.co/t/get-piece-of-message-from-huge-message/153367 "2018-10-22T10:02:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![npontes](https://avatars.discourse-cdn.com/v4/letter/n/ba8739/32.png) [@npontes](https://discuss.elastic.co/u/npontes)\
**Post date:** [October 22, 2018, 10:02am UTC](https://discuss.elastic.co/t/get-piece-of-message-from-huge-message/153367/1 "2018-10-22T10:02:59Z")

</div>

Hello everyone,

I want to write a list of emails that are in the ES in a csv.

However the emails are inside a huge message.

The ES has a field named @request\_logline and when they exist they are in the following format:

[mail@mail.com](mailto:mail@mail.com)

But this login tag is in a huge message.

Do you have any idea/suggestion on how I should approach this extraction?

---

<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:** [November 19, 2018, 10:03am UTC](https://discuss.elastic.co/t/get-piece-of-message-from-huge-message/153367/2 "2018-11-19T10:03:01Z")

</div>

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