Stats

Gets statistics related to the number of tasks.

Path and HTTP methods

  1. GET /_plugins/_ml/stats
  2. GET /_plugins/_ml/stats/<stat>
  3. GET /_plugins/_ml/<nodeId>/stats/
  4. GET /_plugins/_ml/<nodeId>/stats/<stat>

Example request: Get all stats for all nodes

  1. GET /_plugins/_ml/stats

copy

Example response

  1. {
  2. "zbduvgCCSOeu6cfbQhTpnQ" : {
  3. "ml_executing_task_count" : 0
  4. },
  5. "54xOe0w8Qjyze00UuLDfdA" : {
  6. "ml_executing_task_count" : 0
  7. },
  8. "UJiykI7bTKiCpR-rqLYHyw" : {
  9. "ml_executing_task_count" : 0
  10. },
  11. "zj2_NgIbTP-StNlGZJlxdg" : {
  12. "ml_executing_task_count" : 0
  13. },
  14. "jjqFrlW7QWmni1tRnb_7Dg" : {
  15. "ml_executing_task_count" : 0
  16. },
  17. "3pSSjl5PSVqzv5-hBdFqyA" : {
  18. "ml_executing_task_count" : 0
  19. },
  20. "A_IiqoloTDK01uZvCjREaA" : {
  21. "ml_executing_task_count" : 0
  22. }
  23. }

Example request: Get all stats for a specific node

  1. GET /_plugins/_ml/<nodeId>/stats/

copy

Example request: Get a specified stat for a specific node

  1. GET /_plugins/_ml/<nodeId>/stats/<stat>

copy

Example request: Get a specified stat for all nodes

  1. GET /_plugins/_ml/stats/<stat>

copy