Elasticsearch slow logs?

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

This explains what a microsecond is:

ms = millisecond

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