node statistics: OS uptime value incorrect

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

node statistics: OS uptime value incorrect


I'm running ES 1.5.2 on Centos and I'm willing to expose some statistics about node perf on a web page.
The OS uptime I get from calling the ES API _nodes/stats is very different from the one I get from the uptime command directly with linux CLI

[root@DEV-ES-NODE2 ~]# uptime
 12:16:03 up 55 days,  1:50,  1 user,  load average: 0.00, 0.00, 0.00

"uptime_in_millis": 4758625 which is just a bit more that 1h

Is this a misuse of the API? Or some bugs with the ES API?


Please update your bookmarks! We have moved to
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit
For more options, visit
Antoine Brun