# Merge 2 indexes live

**URL:** <https://discuss.elastic.co/t/merge-2-indexes-live/372319>\
**Category:** Elasticsearch\
**Created:** [December 23, 2024, 10:43am UTC](https://discuss.elastic.co/t/merge-2-indexes-live/372319 "2024-12-23T10:43:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vahagg1](https://avatars.discourse-cdn.com/v4/letter/v/7feea3/32.png) [@vahagg1](https://discuss.elastic.co/u/vahagg1)\
**Post date:** [December 23, 2024, 10:43am UTC](https://discuss.elastic.co/t/merge-2-indexes-live/372319/1 "2024-12-23T10:43:48Z")

</div>

Hi  
I have 2 indexes with following names  
Cloudfront  
cfID  
Status  
Domain and ....  
ExtraLoggingCloudfront  
cfID  
extraHeaderCheck1  
extraHeaderCheck2

In the 2 indexes i have different fields but there is 1 field which is same cfID

I want to merge this to indexes and add that 2 - "extraHeaderCheck1" and "extraHeaderCheck2" to cloudfront logs how i should do this what are the options
