How to plot line graph in kibana having x-axis with time interval of 24 hrs as 2, 4, 6,

As shown in the graph the x-axis represents 24 hours as intervals and y-axis shows the number of files at 2hrs of interval we need to show the number of files under 2 hrs and at 4 hr time interval we need to show number of files <=4hrs time interval i.e the graph should be cumulative

Hello @Lahari_Madhava_Reddy,

Welcome to the community!

Do you have a 'date' field? Because for that, you might consider a date range aggregation for the x-axis bucket: