matsuu/pt-query-digest Usage Analyze slow query log cat mysql-slow.log | docker run -i --rm matsuu/pt-query-digest > analyzed-slow.log Analyze tcpdump cat dump.log | docker run -i --rm matsuu/pt-query-digest --type tcpdump > analyzed-slow.log Build docker build -t matsuu/pt-query-digest . References Percona Toolkit pt-query-digest github.com/matsuu/docker-pt-query-digest