# Average of Date in visualisation

**URL:** https://discuss.elastic.co/t/average-of-date-in-visualisation/277031
**Category:** Kibana
**Created:** [June 25, 2021, 8:45am UTC](https://discuss.elastic.co/t/average-of-date-in-visualisation/277031 "2021-06-25T08:45:26Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Dzious](https://avatars.discourse-cdn.com/v4/letter/d/0ea827/32.png) [@Dzious](https://discuss.elastic.co/u/Dzious)
#### Post date: [June 25, 2021, 8:45am UTC](https://discuss.elastic.co/t/average-of-date-in-visualisation/277031/1 "2021-06-25T08:45:26Z")

</div>

Hi,

I have logs which gives me the time taken from the beginning of the process.  
From this I'd like to know if i can aggregete theses date and if i can, how to do so.

Thanks by advance

---

<div class="post-metadata">

### Author: ![Sandeep\_Raju](https://avatars.discourse-cdn.com/v4/letter/s/8797f3/32.png) [@Sandeep\_Raju](https://discuss.elastic.co/u/Sandeep_Raju)
#### Post date: [June 26, 2021, 6:08pm UTC](https://discuss.elastic.co/t/average-of-date-in-visualisation/277031/2 "2021-06-26T18:08:08Z")

</div>

It would be difficult to aggregate average of dates.  
If you represent dates in a map, it would be better to visualize in bar, pie charts.

Other way would be if you have data, you can create scripted field like sum of data/ no of days in a month(30).

---

<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: [July 24, 2021, 6:09pm UTC](https://discuss.elastic.co/t/average-of-date-in-visualisation/277031/3 "2021-07-24T18:09:06Z")

</div>

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