I was using a previous version of pt-query-digest to watch the slow log and execute SELECT queries on another server, like so:
tail -f -n0 slow-log | pt-query-digest --no-report --execute h=server,u=username,p=password --filter '$event->{fingerprint} =~ m/^select/'
When I try and run this with the latest version of pt-query-digest (2.2.4) I get “Unknown option: execute”. Is it still possible to replicate the behaviour I’m looking for in the latest version?