Kibana migrates index every time it starts

Hey!
We have a cluster of 4 servers with Elasticsearch and kibans 7.15.1.
Every time we restart kibana, reindex is started:

{
  "tasks": {
    "GrebRFKTSyqTXAWk3FwIUg:6687096": {
      "node": "GrebRFKTSyqTXAWk3FwIUg",
      "id": 6687096,
      "type": "transport",
      "action": "indices:data/write/update/byquery",
      "status": {
        "total": 1746548,
        "updated": 13000,
        "created": 0,
        "deleted": 0,
        "batches": 14,
        "version_conflicts": 0,
        "noops": 0,
        "retries": {
          "bulk": 0,
          "search": 0
        },
        "throttled_millis": 0,
        "requests_per_second": -1,
        "throttled_until_millis": 0
      },
      "description": "update-by-query [.kibana_7.15.1_001]",
      "start_time_in_millis": 1639125506504,
      "running_time_in_nanos": 26438268970,
      "cancellable": true,
      "cancelled": false,
      "headers": {}
    }
  }
}

Re-index takes about 3-5 hours. What can I do to make kibana restart faster?

I uploaded index to the kibana test server, the problem is reproduced there too.
Removed all shorturl older than 30 days, index size decreased by 2 times, restart now takes 13 minutes.

Maybe there is a way to turn off this index update when restarting kibana?

Here is the solution

migrations.enableV2: false

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