radoondas / elasticbeat

Simple Beat for ElasticSearch statistics
Apache License 2.0
30 stars 16 forks source link

Missing Fields #26

Open prerakpshah opened 8 years ago

prerakpshah commented 8 years ago

I see that we are missing critical fields like

  1. Index Size in bytes
  2. Cluster Size in bytes
  3. Node Size in bytes
  4. Id Cache size in bytes
  5. Filter cache size in bytes.

It would be nice to have these fields added.

radoondas commented 8 years ago

@prerakpshah Thanks! Could you please also add 'commands' you would typically use to get those fields from ES?

Metrics which are requested now are following: /_cluster/health /_cluster/stats /_nodes/stats/process,jvm,os,fs,thread_pool,transport,http,breaker,script

radoondas commented 8 years ago

@prerakpshah any update on what exactly would you expect? Thanks.

radoondas commented 8 years ago

@prerakpshah 1, this is not implemented and could be done by: http://localhost:9200/_stats/store?pretty 2, - is already implemented in /_cluster/stats/store/size_in_bytes 3, this could be done by extending _nodes by 'indices' and then in visualizations we can aggregate all sizes by each node. 4, 5, - not sure of which field are you talking about. but looks same as for 3, - please correct me if I'm wrong, because I am not sure yet what do you mean.

Thanks 5,