Skip to content

Beats licenser should query the _license endpoint instead of the xpack/_license. #15090

@ph

Description

@ph

The licenser code is still querying the old API endpoint located at _xpack/license instead of querying the new endpoint located at _license and that endpoint doesn't return the features anymore so we can remove that parsing from the code.

https://www.elastic.co/guide/en/elasticsearch/reference/current/get-license.html

To retrieve the features we need to do another call to the server on _xpack/ but we are not currently using it so I think we can remove it for now to reduce the number of calls.

https://www.elastic.co/guide/en/elasticsearch/reference/current/info-api.html

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions