# Query group by postifx

**URL:** <https://discuss.elastic.co/t/query-group-by-postifx/125653>\
**Category:** Logstash\
**Created:** [March 26, 2018, 5:15pm UTC](https://discuss.elastic.co/t/query-group-by-postifx/125653 "2018-03-26T17:15:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeliko79](https://avatars.discourse-cdn.com/v4/letter/z/ea666f/32.png) [@zeliko79](https://discuss.elastic.co/u/zeliko79)\
**Post date:** [March 26, 2018, 5:15pm UTC](https://discuss.elastic.co/t/query-group-by-postifx/125653/1 "2018-03-26T17:15:27Z")

</div>

Hello everyone,  
I was able to configure ELK cluster and grok for postfix, now I have a problem in finding information.  
For every message sent I have 2 records similar to these

- postfix\_queueid, postfix\_from
- postfix\_queueid, postfix\_to, postfix\_queueid, postfix\_status

How can I do to have a single line with:

postfix\_queueid, postfix\_from, postfix\_to, postfix\_status

Thank you

---

<div class="post-metadata">

**Author:** ![dliappis](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dliappis/32/56174_2.png) [@dliappis](https://discuss.elastic.co/u/dliappis)\
**Post date:** [March 27, 2018, 10:44am UTC](https://discuss.elastic.co/t/query-group-by-postifx/125653/2 "2018-03-27T10:44:15Z")

</div>

Hello @zeliko79,

Your question doesn't seem to be related to [Rally](https://esrally.readthedocs.io/en/stable/) the Elasticsearch Benchmarking tool.

To get serve yourself and the community better, It would be best if you'd close the question here and re-open it under the [Logstash category](https://discuss.elastic.co/c/logstash). Your logstash configuration would be helpful to include as well. Unless of course you are using the [Elasticsearch Grok processor](https://www.elastic.co/guide/en/elasticsearch/reference/current/grok-processor.html) in which case the right category for this question would be [Elasticsearch](https://discuss.elastic.co/c/elasticsearch) without `Rally`.

Dimitris

---

<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:** [April 24, 2018, 10:44am UTC](https://discuss.elastic.co/t/query-group-by-postifx/125653/3 "2018-04-24T10:44:38Z")

</div>

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