Elastic search disk usage

Hi

Just wanted to know how elastic search calculates nodes disk usage when the following query is hit

a.b.c.d:9200/_nodes/stats

"fs":  
{
                "timestamp": 1503512623603,
                "total": {
                    "total_in_bytes": 104022159360,
                    "free_in_bytes": 33077583872,
                    "available_in_bytes": 33060806656,
                    "spins": "true"
                }
}

Will the output from df command be fairly close to what the above query returns. Which one would be accurate ?

We are designing a monitoring system and want to generate alerts when the disk is running out of space!

Yes, the output should be very close to the output of du/df.

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