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

Add SLM support to xpack usage and info APIs #48150

Merged
merged 4 commits into from
Oct 17, 2019

Conversation

dakrone
Copy link
Member

@dakrone dakrone commented Oct 16, 2019

This is a backport of #48096

This adds the missing xpack usage and info information into the
/_xpack and /_xpack/usage APIs. The output now looks like:

GET /_xpack/usage
{
  ...
  "slm" : {
    "available" : true,
    "enabled" : true,
    "policy_count" : 1,
    "policy_stats" : {
      "retention_runs" : 0,
      ...
    }
  }

and

GET /_xpack
{
  ...
  "features" : {
    ...
    "slm" : {
      "available" : true,
      "enabled" : true
    },
    ...
  }
}

Relates to #43663

This is a backport of elastic#48096

This adds the missing xpack usage and info information into the
`/_xpack` and `/_xpack/usage` APIs. The output now looks like:

```
GET /_xpack/usage
{
  ...
  "slm" : {
    "available" : true,
    "enabled" : true,
    "policy_count" : 1,
    "policy_stats" : {
      "retention_runs" : 0,
      ...
    }
  }
```

and

```
GET /_xpack
{
  ...
  "features" : {
    ...
    "slm" : {
      "available" : true,
      "enabled" : true
    },
    ...
  }
}
```

Relates to elastic#43663
@dakrone dakrone added :Data Management/ILM+SLM Index and Snapshot lifecycle management backport v7.5.0 labels Oct 16, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/ILM+SLM)

@dakrone
Copy link
Member Author

dakrone commented Oct 16, 2019

@elasticmachine update branch

@dakrone
Copy link
Member Author

dakrone commented Oct 17, 2019

@elasticmachine run elasticsearch-ci/packaging-sample

@dakrone
Copy link
Member Author

dakrone commented Oct 17, 2019

@elasticmachine update branch

@dakrone dakrone merged commit 6895c68 into elastic:7.5 Oct 17, 2019
@dakrone dakrone deleted the slm-featureset-7.5 branch October 17, 2019 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Data Management/ILM+SLM Index and Snapshot lifecycle management v7.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants