Actually, my system memory is getting used more than 80% and CPU as well while running multiple servers so I am trying to configure these things using ELK stack and metricbeat as you suggest.
But the query which I'm running on kibana Timelion is not showing me anything.
.es(index=apache-info-log, timefield='@timestamp', metric='max:system.memory.actual.used.pct'), .es(index=apache-info-log, timefield='@timestamp', metric='max:system.memory.actual.used.pct').if(gt,0.8,.es(index=apache-info-log, timefield='@timestamp', metric='max:system.memory.actual.used.pct'),null).label('warning').color('#FFCC11'), .es(index=apache-info-log, timefield='@timestamp', metric='max:system.memory.actual.used.pct').if(gt,0.9,.es(index=apache-info-log, timefield='@timestamp', metric='max:system.memory.actual.used.pct'),null).label('severe').color('red')
The response I'm getting is below-
In my Kibana Discover Metricbeat fields coming as question mark (?). Below is screen shot
@Christian_Dahlqvist, I don't know why this not giving any data or error.

