# Calculating time between two log formats?

**URL:** https://discuss.elastic.co/t/calculating-time-between-two-log-formats/143647
**Category:** Logstash
**Created:** [August 9, 2018, 8:15am UTC](https://discuss.elastic.co/t/calculating-time-between-two-log-formats/143647 "2018-08-09T08:15:42Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [August 9, 2018, 11:56am UTC](https://discuss.elastic.co/t/calculating-time-between-two-log-formats/143647/2 "2018-08-09T11:56:17Z")

</div>

Try something like [this](https://discuss.elastic.co/t/time-difference-between-two-fields-in-a-csv-using-ruby-plugin/122115/4?u=badger).

---

_[View the full topic](https://discuss.elastic.co/t/calculating-time-between-two-log-formats/143647)._
