I am using metricbeat to collect haproxy stats. It seems metricbeat does not calculate delta for cumulative fields like (haproxy.stats.in.bytes and haproxy.stats.out.bytes). Is there any way to calculate the delta value. I have tried writing logstash filter to caculate delta but I am unable to make it working properly.
The reason why I need delta value is to find out the total volume of upload and download per day, week and month.
Daily graph showing total sum of volume of upload and download when we choose daily in kibana. same for Mothly and weekly.