Linux - Count log errors based on time, Find error in log file based on time
Count log errors based on time
The below command is used to find the number of access details or number of request based on time.# cat access.log | cut -d ':' -f1,2 | uniq -c
Output:
1 Mar 5 10:23 1 Mar 5 10:33 36 Mar 5 11:10 750 Mar 5 20:40 8 Mar 5 20:52 51 Mar 5 20:53 1 Mar 5 21:48 36 Mar 5 21:52 741 Mar 5 23:04 8 Mar 5 23:05 1 Mar 5 23:21
The topic on Linux - Count log errors based on time is posted by - Math
Hope you have enjoyed, Linux - Count log errors based on timeThanks for your time