# Mapping different logs into a single index or keep separate?

**URL:** <https://discuss.elastic.co/t/mapping-different-logs-into-a-single-index-or-keep-separate/242482>\
**Category:** Kibana\
**Created:** [July 24, 2020, 8:22am UTC](https://discuss.elastic.co/t/mapping-different-logs-into-a-single-index-or-keep-separate/242482 "2020-07-24T08:22:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Norman\_Khine](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/norman_khine/32/3342_2.png) [@Norman\_Khine](https://discuss.elastic.co/u/Norman_Khine)\
**Post date:** [July 24, 2020, 8:22am UTC](https://discuss.elastic.co/t/mapping-different-logs-into-a-single-index-or-keep-separate/242482/1 "2020-07-24T08:22:50Z")

</div>

Hello,  
we are considering mapping all the ELB, ALB, CloudFront and API Gateway logs into a single json structure and pushing this for analysis in an ES cluster.  
is this the right way to go about or should we push each log into a separate index and then pull data out of these from within kibana?  
any advise is much appreciated

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [July 26, 2020, 10:58pm UTC](https://discuss.elastic.co/t/mapping-different-logs-into-a-single-index-or-keep-separate/242482/2 "2020-07-26T22:58:21Z")

</div>

Have a look at [ECS](https://www.elastic.co/guide/en/ecs/current/index.html), it was built specifically for this type of approach.

---

<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 23, 2020, 10:58pm UTC](https://discuss.elastic.co/t/mapping-different-logs-into-a-single-index-or-keep-separate/242482/3 "2020-08-23T22:58:22Z")

</div>

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