# Whatsapp like chat list with last message

**URL:** <https://discuss.elastic.co/t/whatsapp-like-chat-list-with-last-message/91920>\
**Category:** Elasticsearch\
**Created:** [July 5, 2017, 2:11pm UTC](https://discuss.elastic.co/t/whatsapp-like-chat-list-with-last-message/91920 "2017-07-05T14:11:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tushar\_chevulkar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tushar_chevulkar/32/46270_2.png) [@tushar\_chevulkar](https://discuss.elastic.co/u/tushar_chevulkar)\
**Post date:** [July 5, 2017, 2:11pm UTC](https://discuss.elastic.co/t/whatsapp-like-chat-list-with-last-message/91920/1 "2017-07-05T14:11:46Z")

</div>

I have a message node where I save messages form my users. Now I need to create an summary view like whats app where it shows all the chat list with last message. I have no Idea where to start from. Can someone please help me with some example or query Please.

this is my node input

`{ "from" : "1", "to" : "2", "post_date" : "2017-06-4T14:12:12", "message" : "trying out Elasticsearch", "seen":0 }`

the output I want is  
 ![](https://us1.discourse-cdn.com/elastic/original/3X/5/d/5d90ebf36e0928ff67460a088a389334b8c92802.png)

---

<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:** [August 2, 2017, 2:12pm UTC](https://discuss.elastic.co/t/whatsapp-like-chat-list-with-last-message/91920/2 "2017-08-02T14:12:03Z")

</div>

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