Open tomanders opened 3 years ago
@tomanders Can't you simply use "curl
" in your command line to get this kind of info?
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
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.