Loading

Troubleshoot index and snapshot lifecycle management

If the automatic index lifecycle management or snapshot lifecycle management service is not working, you might need to start the service.

Automatic index lifecycle and data retention management is currently disabled.

In order to start the automatic index lifecycle management service, follow these steps:

In order to start index lifecycle management we need to go to Kibana and execute the start command.

Use Kibana

  1. Log in to the Elastic Cloud console.

  2. On the Hosted deployments panel, click the name of your deployment.

    Note

    If the name of your deployment is disabled your Kibana instances might be unhealthy, in which case please contact Elastic Support. If your deployment doesn’t include Kibana, all you need to do is enable it first.

  3. Open your deployment’s side navigation menu (placed under the Elastic logo in the upper left corner) and go to Dev Tools > Console.

  1. Start index lifecycle management:

     POST _ilm/start 

    The response will look like this:

    {
      "acknowledged": true
    }
    
  2. Verify index lifecycle management is now running:

     GET _ilm/status 

    The response will look like this:

    {
      "operation_mode": "RUNNING"
    }
    

Start index lifecycle management:

 POST _ilm/start 

The response will look like this:

{
  "acknowledged": true
}

Verify index lifecycle management is now running:

 GET _ilm/status 

The response will look like this:

{
  "operation_mode": "RUNNING"
}

Automatic snapshot lifecycle management is currently disabled. New backup snapshots will not be created automatically.

In order to start the snapshot lifecycle management service, follow these steps:

In order to start snapshot lifecycle management we need to go to Kibana and execute the start command.

Use Kibana

  1. Log in to the Elastic Cloud console.

  2. On the Hosted deployments panel, click the name of your deployment.

    Note

    If the name of your deployment is disabled your Kibana instances might be unhealthy, in which case please contact Elastic Support. If your deployment doesn’t include Kibana, all you need to do is enable it first.

  3. Open your deployment’s side navigation menu (placed under the Elastic logo in the upper left corner) and go to Dev Tools > Console.

  1. Start snapshot lifecycle management:

     POST _slm/start 

    The response will look like this:

    {
      "acknowledged": true
    }
    
  2. Verify snapshot lifecycle management is now running:

     GET _slm/status 

    The response will look like this:

    {
      "operation_mode": "RUNNING"
    }
    

Start snapshot lifecycle management:

 POST _slm/start 

The response will look like this:

{
  "acknowledged": true
}

Verify the snapshot lifecycle management is now running:

 GET _slm/status 

The response will look like this:

{
  "operation_mode": "RUNNING"
}