[reindexing] my_index is much more larger after a re_indexing

Hello Everyone, I encounter the following issue: my_index is much more larger after a re_indexing and I've no idea why.

What I want to do:

  • do a simple reindexing, keeping the same mapping, the destination index has 1 shards and 0 replicas.

Here is what I've done so far:

PUT /_template/filebeat_clone2
  "version": 1,
  "index_patterns": ["filebeat_clone2"],
  "order": 0,
  "settings": {
    "index": {
      "number_of_shards": "1",
      "number_of_replicas": "0",
      "refresh_interval": "5s"

POST _reindex?wait_for_completion=false
  "source": {
    "index": "filebeat-7.0.1-2019.05.13-000001"
  "dest": {
    "index": "filebeat_clone2"

GET _cat/indices/filebeat_clone,filebeat_clone2,filebeat-7.0.1-2019.05.13-000001?v&h=index,store.size,docs.count
index                            store.size docs.count
filebeat_clone2                     107.9mb     366089
filebeat_clone                      108.1mb     366089
filebeat-7.0.1-2019.05.13-000001     69.7mb     366089

GET filebeat-7.0.1-2019.05.13-000001/_settings
GET filebeat_clone/_settings
GET filebeat_clone2/_settings

GET _cat/shards/filebeat_clone,filebeat_clone2,filebeat-7.0.1-2019.05.13-000001?v
index                            shard prirep state     docs   store ip            node
filebeat_clone                   0     p      STARTED 366089 108.1mb cv0tlielaspoc
filebeat-7.0.1-2019.05.13-000001 0     p      STARTED 366089  69.7mb cv0tlielaspoc
filebeat_clone2                  0     p      STARTED 366089 107.9mb cv0tlielaspoc

For some reason the two test indices have a larger size :confused:

Any advice?

Thanks in advance for you help,

1 Like

A first guess is that the mapping is not the same.

I think that if you call your index filebeat-7.0.1-clone instead of filebeat_clone it might apply the same index template as you have in filebeat-7.0.1-2019.05.13-000001.


Thanks a lot :+1:

GET _cat/indices/filebeat-7.0.1-clone,filebeat-7.0.1-2019.05.13-000001?v&h=index,store.size,docs.count
index                            store.size docs.count
filebeat-7.0.1-clone                 69.7mb     366089
filebeat-7.0.1-2019.05.13-000001     69.7mb     366089

It won't happen in production as I'will use a template with settings and mapping, I assume I just took the wrong use-case for my test. Thanks again for your quick answer.


nb: this post can be closed


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