# How to combine 2 log entries to show in one line of Data Table based on a common field?

**URL:** <https://discuss.elastic.co/t/how-to-combine-2-log-entries-to-show-in-one-line-of-data-table-based-on-a-common-field/221026>\
**Category:** Kibana\
**Created:** [February 26, 2020, 11:24am UTC](https://discuss.elastic.co/t/how-to-combine-2-log-entries-to-show-in-one-line-of-data-table-based-on-a-common-field/221026 "2020-02-26T11:24:06Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Liza\_Katz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/liza_katz/32/52358_2.png) [@Liza\_Katz](https://discuss.elastic.co/u/Liza_Katz)\
**Post date:** [February 27, 2020, 11:35am UTC](https://discuss.elastic.co/t/how-to-combine-2-log-entries-to-show-in-one-line-of-data-table-based-on-a-common-field/221026/4 "2020-02-27T11:35:12Z")

</div>

Hey @venkata.kodapaka

I'd like to refer you to these posts on StackOverflow

> <https://stackoverflow.com/questions/49149433/combine-multiple-log-lines-in-kibana/49164157#49164157>

  

> <https://stackoverflow.com/questions/34652075/kibana-linking-two-independent-events/34652594#34652594>

And also [this post](https://discuss.elastic.co/t/combining-two-events-in-one/43336) on discuss (Logstash channel)

Usually, in such cases, you would want to aggregate your data in Logstash, rather than try to associate the two separate events in Kibana.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-combine-2-log-entries-to-show-in-one-line-of-data-table-based-on-a-common-field/221026)._
