Query MetricBeat data from Elastic Search through API

I have a use case, to check the CPU usage of a server from the Elastic Search through the API, (I wouldn't able to use Kibana).
Scenario: I'd check the CPU Usage of the server, if its normal then continue executing the Test cases, if it goes beyond the threshold, I'd terminate the Test case execution and analyze the root cause.

Could someone please help in doing this.
On the other side, am also trying with the Ruby ElasticSearchgem, and yet to explore on it.
Am more interested if we can query from the elastic search service.

Am pleased to have, if you have got any other suggestions. Thanks !!


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.