How to calculate packebeat's Events Rate (/s) AND CPU Utilization (%)

How to calculate packebeat's Events Rate (/s) AND CPU Utilization (%), I get data from monitoring-beats-* . like this
cpu":{"total":{"ticks":245888430,"time":{"ms":245888438},"value":2.4588843e+08},"user":{"ticks":197612870,"time":{"ms":197612871}},"system":{"time":{"ms":48275567},"ticks":48275560}}}

and
libbeat":{"outputs":{"kafka":{"bytes_write":158900659565,"bytes_read":1215523855}},"pipeline":{"events":{"failed":49398,"dropped":0,"retry":281,"active":298,"total":248754897,"filtered":0,"published":248705499},"queue":{"acked":248705201},"clients":1},"config":{"reloads":0,"module":{"starts":0,"stops":0,"running":0}},"output":{"read":{"bytes":0,"errors":0},"type":"kafka","events":{"total":248705201,"acked":248705201,"failed":0,"dropped":0,"duplicates":0,"active":0,"batches":1130917}
AND how can i calculate the CPU usage and Events Rate ?

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