Hi,
I'm tring to show hard drive space usage increase for each host, I mean, the top 5 hosts that has the highest increase of space usage.
Here's what I did:
.es(index='collectd-', metric='sum:lunused', q='server:?ds').subtract(.es(index='collectd-', metric='sum:lunused', q='server:?ds', offset=-1d))
It shows an aggregation of consumption of hard drive space usage, each day.
However, I would like to show the TOP 5 of space increase for each host, I tried this:
.es(index='collectd-', metric='sum:lunused', q='server:?ds', split='host:5').subtract(.es(index='collectd-', metric='sum:lunused', q='server:?ds', offset=-1d, split='host:5'))
However, I'm getting this error:
Timelion: Error: in cell #5: argument must be a seriesList with a single series
So, I tried this:
.es(index='collectd-', metric='sum:lunused', q='server:?ds', split='host:5').subtract(.es(index='collectd-', metric='sum:lunused', q='server:?ds', offset=-1d)
But, the numbers aren't meaningful.
How can I show the top 5 hosts that has the highest increase of space usage?
Thank you!