# Elasticsearch slow logs?

**URL:** <https://discuss.elastic.co/t/elasticsearch-slow-logs/75680>\
**Category:** Elasticsearch\
**Created:** [February 20, 2017, 7:04am UTC](https://discuss.elastic.co/t/elasticsearch-slow-logs/75680 "2017-02-20T07:04:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yaswanth](https://avatars.discourse-cdn.com/v4/letter/y/94ad74/32.png) [@Yaswanth](https://discuss.elastic.co/u/Yaswanth)\
**Post date:** [February 20, 2017, 7:04am UTC](https://discuss.elastic.co/t/elasticsearch-slow-logs/75680/1 "2017-02-20T07:04:05Z")

</div>

Hi,

I enabled slow logs in my ES cluster when i seen it . For took field it is showing `ms` and `microns`.

Can anyone explain what is the difference between ms and microns?

```
[2017-01-13 12:58:09,843][WARN][index.search.slowlog.query] [Spectra] [testindex-stats][2] took[15.3ms], took_millis[15], types[], stats[], search_type[QUERY_THEN_FETCH], total_shards[5], source[{"query":{"match":{"text":"ronin"}}}], extra_source[], 
[2017-01-13 12:58:09,844][WARN][index.search.slowlog.query] [Spectra] [testindex-stats][1] took[16.2ms], took_millis[16], types[], stats[], search_type[QUERY_THEN_FETCH], total_shards[5], source[{"query":{"match":{"text":"ronin"}}}], extra_source[], 
[2017-01-13 14:33:27,028][WARN][index.search.slowlog.query] [Spectra] [testindex-stats][0] took[92micros], took_millis[0], types[], stats[], search_type[QUERY_THEN_FETCH], total_shards[5], source[], extra_source[], 

```

Thanks

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [February 20, 2017, 7:19am UTC](https://discuss.elastic.co/t/elasticsearch-slow-logs/75680/2 "2017-02-20T07:19:52Z")

</div>

This explains what a microsecond is:

> **[Microsecond](https://en.m.wikipedia.org/wiki/Microsecond)**
>
> A microsecond is an SI unit of time equal to one millionth (0.000001 or 10−6 or 1/1,000,000) of a second. Its symbol is μs. One microsecond is to one second as one second is to 11.574 days. A microsecond is equal to 1000 nanoseconds or 1/1,000 milliseconds. Because the next SI prefix is 1000 times larger, measurements of 10−5 and 10−4 seconds are typically expressed as tens or hundreds of microseconds. A microsecond of sound signal sample (44.1 kHz, 2 channel, 24 bit, WAV) is typically stored on ...

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 20, 2017, 7:21am UTC](https://discuss.elastic.co/t/elasticsearch-slow-logs/75680/3 "2017-02-20T07:21:02Z")

</div>

ms = millisecond

---

<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 20, 2017, 7:21am UTC](https://discuss.elastic.co/t/elasticsearch-slow-logs/75680/4 "2017-03-20T07:21:44Z")

</div>

Closed on March 20, 2017, 7:21am UTC

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