Hi @eyepulp, the command that you specify with -C is not run through a shell, which would interpret the pipe. In this case, you’re seeing the SSH server in your app running cat with the literal arguments /var/log/nginx/access.log, |, wc, and -l.
If your app image does contain a shell, then you can invoke it explicitly. E.g., if you have a standard /bin/sh:
(It’s certainly not pretty! However, some minimal app images might not contain a shell, so this behavior allows fly ssh console -C to work with them too.)