# Kibana - Metricbeat Calculate time in application

**URL:** https://discuss.elastic.co/t/kibana-metricbeat-calculate-time-in-application/313832
**Category:** Kibana
**Created:** [September 6, 2022, 10:00pm UTC](https://discuss.elastic.co/t/kibana-metricbeat-calculate-time-in-application/313832 "2022-09-06T22:00:44Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Matt.Wash](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@Matt.Wash](https://discuss.elastic.co/u/Matt.Wash)
#### Post date: [September 6, 2022, 10:00pm UTC](https://discuss.elastic.co/t/kibana-metricbeat-calculate-time-in-application/313832/1 "2022-09-06T22:00:44Z")

</div>

I am trying to get a total time a user has spent in an application through metricbeat process.name field.

I am able to show the following, but cannot work out a way to calculate a total time in the application. Any ideas would be greatly appreciated.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/e/1e1a7070e7da2624616a49ade054eda77e9dbc68.png)

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [October 4, 2022, 10:00pm UTC](https://discuss.elastic.co/t/kibana-metricbeat-calculate-time-in-application/313832/2 "2022-10-04T22:00:59Z")

</div>

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