Q: How to read the most recent 10 minutes of a log file I am trying to pull any logs that are 10 minutes from date or newer. I don't want anything older than 10 minutes but i still want log entries that are 1,2... 9 minutes old.
I'm trying to use sed but it's not working as i would like. It seems to only pull logs that were from 10 minutes ago and not including every log entry between.
sed -n "/^$(date --date='10 minutes ago' '+%d %b %Y %T')/,\$p" test.log

Any help would be appreciated!
Same log file:
07 Aug 2017 22:57:33,099  Error - Could not connect 
07 Aug 2017 22:57:33,256  Error - Could not connect 
07 Aug 2017 22:57:33,256  INFO -  schema updated 
07 Aug 2017 22:57:33,485  INFO -  schema updated

Thanks 
