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

Get access to cluster-info from the cmd #279

Open
tomanders opened this issue Apr 14, 2021 · 2 comments
Open

Get access to cluster-info from the cmd #279

tomanders opened this issue Apr 14, 2021 · 2 comments

Comments

@tomanders
Copy link

Hi, I find myself using the cluster.elasticsearch (https://developer.enonic.com/docs/xp/stable/runtime/statistics#elasticsearch_cluster_health) interface to get basic info like which server is the current master.

It would be great if I could get this information from the CLI, instead of having to drop into the browser for this kind of information.

@alansemenov
Copy link
Member

@tomanders Can't you simply use "curl" in your command line to get this kind of info?

@sigdestad
Copy link
Member

We're adding a new command "stats" which will return a pretty-formattet result similar to what you get when visiting port 2609.

You can then pass parameters such as 'enonic stats relative/path'. Leaving param emty returns result from root

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants