Skip to content

Allow /_xpack/usage endpoint to optionally run on the local node #53916

@legrego

Description

@legrego

Currently, /_xpack/usage returns results from the current master node. It would be useful to add a ?local=true option to allow this endpoint to return results from the local node.

Concrete use case: We use this endpoint to detect if external identity realms are enabled, and show a warning in the Role Mappings UI if they aren't. Being able to get results from the local node would give Kibana a more accurate answer when deciding whether or not to show this warning.

Thanks @jasontedor for this suggestion

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions