diff --git a/timegrep b/timegrep index 757f133..ad9b0fd 100755 --- a/timegrep +++ b/timegrep @@ -32,7 +32,7 @@ logformat_list.append({'regexp':"(?P[a-zA-Z]{3}) (?P[0-9]{1,2}) # NSCA Common logformat_list.append({'regexp':"(?P\d+\.\d+\.\d+\.\d+) (?P-|\w*) (?P-|\w*) \[(?P[0-9]{1,2})/(?P[a-zA-Z]{3})/(?P[0-9]{4}):(?P[0-9]{2}):(?P[0-9]{2}):(?P[0-9]{2}) (?P[\-\+]?\d\d\d\d)\]", 'name':"NSCA Common", 'description':"host rfc931 username [%d/%b/%Y:%H:%M:%S +TZ]"}) # Bind8 -logformat_list.append({'regexp':"(?P[0-9]{2})\-(?P[a-zA-Z]{3})\-(?P[0-9]{4}) (?P[0-9]{2}):(?P[0-9]{2}):(?P[0-9]{2})\.", 'name':"Bind8", 'description':"%d-%b-%Y %H:%M:%S."}) +logformat_list.append({'regexp':"(?P[0-9]{1,2})\-(?P[a-zA-Z]{3})\-(?P[0-9]{4}) (?P[0-9]{2}):(?P[0-9]{2}):(?P[0-9]{2})\.", 'name':"Bind8", 'description':"%d-%b-%Y %H:%M:%S."}) # Allow to convert from month names to month number MONTH_LOOKUP = {