Hi @kvch,
I did the change you suggested, I still see the system reporting in the scale of 1 instead of 100%:
2018-05-11T09:58:55.199-0700 DEBUG [publish] pipeline/processor.go:275 Publish event: {
"@timestamp": "2018-05-11T16:58:55.198Z",
"@metadata": {
"beat": "metricbeat",
"type": "doc",
"version": "6.2.4"
},
"metricset": {
"name": "cpu",
"module": "system",
"rtt": 172
},
"system": {
"cpu": {
"cores": 2,
"system": {
"pct": 0.007
},
"idle": {
"pct": 0.9965
},
"nice": {
"pct": 0
},
"softirq": {
"pct": 0.001
},
"iowait": {
"pct": 0
},
"steal": {
"pct": 0
},
"total": {
"pct": 1.0035
},
"irq": {
"pct": 0
},
"user": {
"pct": 0.9955
}
}
},
"beat": {
"name": "apache",
"hostname": "apache",
"version": "6.2.4"
}
}
2018-05-11T09:58:55.201-0700 DEBUG [publish] pipeline/processor.go:275 Publish event: {
"@timestamp": "2018-05-11T16:58:55.200Z",
"@metadata": {
"beat": "metricbeat",
"type": "doc",
"version": "6.2.4"
},
"metricset": {
"rtt": 125,
"name": "cpu",
"module": "system"
},
"system": {
"cpu": {
"irq": {
"pct": 0
},
"total": {
"pct": 1.004
},
"idle": {
"pct": 0.996
},
"nice": {
"pct": 0
},
"softirq": {
"pct": 0.001
},
"cores": 2,
"system": {
"pct": 0.007
},
"steal": {
"pct": 0
},
"user": {
"pct": 0.996
},
"iowait": {
"pct": 0
}
}
},
"beat": {
"name": "apache",
"hostname": "apache",
"version": "6.2.4"
}
}
2018-05-11T09:58:55.201-0700 DEBUG [publish] pipeline/processor.go:275 Publish event: {
"@timestamp": "2018-05-11T16:58:55.201Z",
"@metadata": {
"beat": "metricbeat",
"type": "doc",
"version": "6.2.4"
},
"metricset": {
"module": "system",
"rtt": 132,
"name": "cpu"
},
"system": {
"cpu": {
"idle": {
"pct": 0.996,
"norm": {
"pct": 0.498
}
},
"irq": {
"pct": 0,
"norm": {
"pct": 0
}
},
"nice": {
"pct": 0,
"norm": {
"pct": 0
}
},
"system": {
"pct": 0.007,
"norm": {
"pct": 0.0035
}
},
"iowait": {
"norm": {
"pct": 0
},
"pct": 0
},
"total": {
"pct": 1.004,
"norm": {
"pct": 0.502
}
},
"cores": 2,
"softirq": {
"pct": 0.001,
"norm": {
"pct": 0.0005
}
},
"steal": {
"pct": 0,
"norm": {
"pct": 0
}
},
"user": {
"pct": 0.996,
"norm": {
"pct": 0.498
}
}
}
},
"beat": {
"name": "apache",
"hostname": "apache",
"version": "6.2.4"
}
}
My config is like this:
-
module: system
period: 10s
metricsets:- cpu
#- load
#- memory
#- network
#- process
#- process_summary
#- core
#- diskio
#- socket
processes: ['.*']
process.include_top_n:
by_cpu: 5 # include top 5 processes by CPU
by_memory: 5 # include top 5 processes by memory
- cpu
-
module: system
period: 1m
metricsets:- filesystem
- fsstat
processors: - drop_event.when.regexp:
system.filesystem.mount_point: '^/(sys|cgroup|proc|dev|etc|host|lib)($|/)'
-
module: system
period: 15m
metricsets:- uptime
-
module: system
metricsets: cpu -
module: system
metricsets: [cpu]
cpu.metrics: ["percentages", "normalized_percentages"]