# How to get Duration value to calculate with?

**URL:** <https://discuss.elastic.co/t/how-to-get-duration-value-to-calculate-with/122386>\
**Category:** Elasticsearch\
**Created:** [March 3, 2018, 7:25pm UTC](https://discuss.elastic.co/t/how-to-get-duration-value-to-calculate-with/122386 "2018-03-03T19:25:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Murat89](https://avatars.discourse-cdn.com/v4/letter/m/ecb155/32.png) [@Murat89](https://discuss.elastic.co/u/Murat89)\
**Post date:** [March 3, 2018, 7:25pm UTC](https://discuss.elastic.co/t/how-to-get-duration-value-to-calculate-with/122386/1 "2018-03-03T19:25:13Z")

</div>

Hi guys,

im a beginner in Elasticsearch and here is my problem. Below you can see the log, I want to get for instance the duration value which is given in seconds here, then I want divide it by 60 so I have the minutes. Can you please tell what pattern I need to match that and how to calculate with the values after that?

Thanks in advance

Logsample:  
message:\<134\>Feb 27 21:58:03.439 newnode01 2018-02-27 21:58:03,439 Level="INFO" Name="administrator.conference" Message="Conference has been stopped." Conference="New VMR" Service-tag="" Service-type="conference" Duration="10.400" host:11.111.111.111 @timestamp:February 27th 2018, 22:58:03.440 @version:1 type:syslog \_id:X9BF2WEBxgyqZgr-xOFI \_type:mylogs \_index:myindex \_score: -

---

<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:** [March 31, 2018, 7:25pm UTC](https://discuss.elastic.co/t/how-to-get-duration-value-to-calculate-with/122386/2 "2018-03-31T19:25:35Z")

</div>

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