Commit graph

3 commits

Author SHA1 Message Date
Keith Massey
322805858f
Adding manage_dlm privilege (#95512)
This adds a new index privilege called `manage_dlm`. The `manage_dlm`
has permission to perform all DLM actions on an index, including put and
delete. It also adds the ability to call DLM get and explain to the
`view_index_metadata` existing index privilege.
2023-05-26 11:16:41 -04:00
Andrei Dan
731e6dd097
GET _lifecycle returns data streams without lifecycle (#95192)
This changes the `GET _data_stream/ds_name/_lifecycle` endpoint to
return the data stream name even if it doesn't have a lifecycle
configured.

e.g.
```
{
  "data_streams": [
    {
      "name": "logs-nginx"
    }
  ]
}
```

* Fix xcontent and tests

* Update docs

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2023-04-17 10:35:22 +01:00
Mary Gouseti
99145bbe9c
Add new endpoints to configure data lifecycle on a data stream level. (#94590)
With PR we introduce CRUD endpoints which update/delete the data lifecycle on the data stream level. When this is updated it will apply at the next DLM run to all the backing indices that are managed by DLM.
2023-04-04 18:37:38 +02:00