Jun 05
Simple but effective regex to monitor when there are issues. In my example below, this will show all response times > 1 second:
tail -f production.log | egrep "Completed in [0-9]{3,10}"
Simple but effective regex to monitor when there are issues. In my example below, this will show all response times > 1 second:
tail -f production.log | egrep "Completed in [0-9]{3,10}"