Lens - Metric Visualization - Date Histogram Support

Hi All,

I was wondering if there was a way to use a date histogram function within the Metric visualization.

I'm trying to transfer a visualization from Grafana to Kibana, but I'm unable to find the correct way to do this as I'm using a data histogram to show a singular metric.

This is what my Grafana visualization looks like:

This is what I have so far for Kibana:

What I would expect I'd need to do, is do a cumulative sum of differences, kind of like:


But when I try this, I get the following error:

Is there a way currently in Lens to achieve what I'm trying to do?

Hello, unfortunately it's not possible in the released versions yet. We are going to release it though in the upcoming version (8.5).

1 Like

Thanks @Marta_Bondyra for the update, by chance would you have a link to a public GitHub issue to follow along/track?

Sure - here it is: [Lens] add new metric visualization by andrewctate · Pull Request #136567 · elastic/kibana · GitHub

1 Like


This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.