[Metricbeat] Incorrect percentages when a process uses multiple cores on the kibana dashboard

Cpu usage gauge uses the arithmetic operation as:
(Avg of system.cpu.user.pct + Avg of system.cpu.system.pct)/avg of system.cpu.cores that's why it is showing different values