The current TTY grok filter does not match if does not contain "/dev"
It will not match the secure log on centos.
Jan 24 16:19:36 USOHWC-ESCTL1 sudo: panaman : TTY=pts/1 ; PWD=/home/panaman ; USER=root ; COMMAND=/bin/tail /var/log/secure
If you change the TTY grok filter to the following, it will work:
TTY ((:?)(/dev/)?(pts|tty([pq])?)(\w+)?/?(?:[0-9]+))