I need to find "errors1" in server logs that occurred on or after last "Thrusday" as "count1" , and "error1" that occurred before last "Thrusday" as "count2"
So, if today is 16th, then all "error1" in server logs that occurred on 16th , 15th, 14th and 13th as "count1", and "error1" before 13th as "count2"
Sat | Sun | Mon | Tues | Wed | Thru | Fri |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
Please help!
Please see my response to your other similar question (one of the calculations will be slightly different since you are now looking at Thursday instead of Wednesday)