Metricbeat - Haproxy stats delta for (IN bytes and OUT bytes)

Hi,

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.

Example:-

Daily graph showing total sum of volume of upload and download when we choose daily in kibana. same for Mothly and weekly.

Hi @praveenkumar.2608 :slight_smile:

This is usually done in a Elasticsearch query by using buckets. This is easy to achieve if you create your own visualization in Kibana too.

Regards!