Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose SLM policy stats in get SLM policy API #45989

Merged

Commits on Aug 26, 2019

  1. Expose SLM policy stats in get SLM policy API

    This also adds support for the SLM stats endpoint to the high level rest client.
    
    Retrieving a policy now looks like:
    
    ```json
    {
      "daily-snapshots" : {
        "version": 1,
        "modified_date": "2019-04-23T01:30:00.000Z",
        "modified_date_millis": 1556048137314,
        "policy" : {
          "schedule": "0 30 1 * * ?",
          "name": "<daily-snap-{now/d}>",
          "repository": "my_repository",
          "config": {
            "indices": ["data-*", "important"],
            "ignore_unavailable": false,
            "include_global_state": false
          },
          "retention": {}
        },
        "stats": {
          "snapshots_taken": 0,
          "snapshots_failed": 0,
          "snapshots_deleted": 0,
          "snapshot_deletion_failures": 0
        },
        "next_execution": "2019-04-24T01:30:00.000Z",
        "next_execution_millis": 1556048160000
      }
    }
    ```
    
    Relates to elastic#43663
    dakrone committed Aug 26, 2019
    Configuration menu
    Copy the full SHA
    93c198d View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2019

  1. Configuration menu
    Copy the full SHA
    300260c View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2019

  1. Configuration menu
    Copy the full SHA
    470ba4b View commit details
    Browse the repository at this point in the history