# Column count doesn't match after doing alias

**URL:** <https://discuss.elastic.co/t/column-count-doesnt-match-after-doing-alias/325454>\
**Category:** Kibana\
**Created:** [February 14, 2023, 9:24am UTC](https://discuss.elastic.co/t/column-count-doesnt-match-after-doing-alias/325454 "2023-02-14T09:24:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rushikesh\_Dikey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rushikesh_dikey/32/101376_2.png) [@Rushikesh\_Dikey](https://discuss.elastic.co/u/Rushikesh_Dikey)\
**Post date:** [February 14, 2023, 9:24am UTC](https://discuss.elastic.co/t/column-count-doesnt-match-after-doing-alias/325454/1 "2023-02-14T09:24:55Z")

</div>

Hi Team,

I am trying to merge two different index, so i used

```auto
// POST /_aliases
{
  "actions": [
    { "add": {
        "index": "abc",
        "alias": "poc"
      }
    },
    { "add": {
        "index": "xyz",
        "alias": "poc"
      }
    }
  ]
}

```

but after doing it i and getting lesser column in target index.  
abc has 277 fields  
xyz has 197 fields  
and in target poc i am getting 342 fields only where i should get 474 fields.

---

<div class="post-metadata">

**Author:** ![Rushikesh\_Dikey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rushikesh_dikey/32/101376_2.png) [@Rushikesh\_Dikey](https://discuss.elastic.co/u/Rushikesh_Dikey)\
**Post date:** [February 15, 2023, 10:37am UTC](https://discuss.elastic.co/t/column-count-doesnt-match-after-doing-alias/325454/2 "2023-02-15T10:37:23Z")

</div>

even i tried downloading CSV of the combined index, which has data from only one of the index!

---

<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:** [March 15, 2023, 10:37am UTC](https://discuss.elastic.co/t/column-count-doesnt-match-after-doing-alias/325454/3 "2023-03-15T10:37:55Z")

</div>

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