Extract integer from syslog