# Elasticsearch search slowlog Timestamp

**URL:** <https://discuss.elastic.co/t/elasticsearch-search-slowlog-timestamp/216291>\
**Category:** Elasticsearch\
**Created:** [January 23, 2020, 4:35pm UTC](https://discuss.elastic.co/t/elasticsearch-search-slowlog-timestamp/216291 "2020-01-23T16:35:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sah](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@sah](https://discuss.elastic.co/u/sah)\
**Post date:** [January 23, 2020, 4:35pm UTC](https://discuss.elastic.co/t/elasticsearch-search-slowlog-timestamp/216291/1 "2020-01-23T16:35:07Z")

</div>

Quick question (I couldnt figure it out in the docs) but search slow logs have a timestamp and a duration, for example:

[2020-01-23 12:04:38,000][WARN][index.search.slowlog.query] [p17us101esn01] [indexample][3] took[1.0s], took\_millis[334], types[record]

Is the timestamp the time after the duration? Or when it started? For example this started at 12:04:38 and took 1 second. Is this:

A) Started at 12:04:38 and finished at 12:04:39  
OR  
B) Started at 12:04:37 and finished at 12:04:38

Thanks

---

<div class="post-metadata">

**Author:** ![sah](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@sah](https://discuss.elastic.co/u/sah)\
**Post date:** [January 28, 2020, 3:24pm UTC](https://discuss.elastic.co/t/elasticsearch-search-slowlog-timestamp/216291/2 "2020-01-28T15:24:34Z")

</div>

bump

---

<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:** [February 25, 2020, 3:24pm UTC](https://discuss.elastic.co/t/elasticsearch-search-slowlog-timestamp/216291/3 "2020-02-25T15:24:34Z")

</div>

Closed on February 25, 2020, 3:24pm UTC

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