요약
- redis slow 로그 추출 방법
본문
- 아래 명령어로 갖고 올 수 있다.
SLOWLOG GET [count]
- 각 값은 아래와 같은 의미를 갖는다
1) (integer) 9588 # slowlog entry id
2) (integer) 1764633240 # timestamp (epoch seconds)
3) (integer) 13633 # execution time in microseconds (≈ 13.6ms)
4) # command + arguments
5) "set"
6) "cacheops:conj:account_profileoption:id=16"
7) "0.25156131982548324"
8) "nx"
9) "get"
10) "?:0" # client address (unknown source)
11) ""