# Extra set of common parsers [PARSER] # http://rubular.com/r/cCVd1HLCAO Name crowbar Format regex Regex ^.*\[(?[^ ][-.\d\+:]+T[:\d]*)([^\]])*?\]\s+?(?[^ ]\w+)([\s-]*):?\s+(?.*) Time_Format %Y-%m-%dT%H:%M:%S Time_Keep Off Time_Key log_time [PARSER] # http://rubular.com/r/frDgnElXW9 Name chefclient Format regex Regex ^\[(?[^ ][-.\d\+:]+T[:\d]*)([^\]])*?\]\s+(?[^ ]\w+):\s+(?.*)$ Time_Format %Y-%m-%dT%H:%M:%S Time_Keep Off Time_Key log_time [PARSER] Name mysql_error Format regex #Regex ^(?[^ +][ -:0-9TZ]+|[[:upper:]][[:lower:]]{2})(\+\d+:\d+[TZ]*){0,1}\s*(?[^ ]\d+)\s+\[(?[^ ]\w+)\](\s+(?[^ ]\w+):){0,1}\s+(?.*)$ Regex ^(?[^ +][-\d]+[\ T]*[:\dZ]+)\s*(?[^ ]\d+)\s+\[(?[^ ]\w+)\](\s+(?[^ ]\w+):){0,1}\s+(?.*)$ Time_Format %Y-%m-%d %H:%M:%S Time_Keep Off Time_Key log_time [PARSER] Name mysql_slow Format regex Regex ^# User\@Host:\s+(?[^\@][\w\[\]]+)[@\s]+(?[^ ][-.\w]+)\s+(\[(?[.\d]+)\]){0,1}\s+(?.*)$ [PARSER] Name pacemaker Format regex Regex ^\s*(?[^ ]* {1,2}[^ ]* [^ ]*) \[(?\d+)\] (?[\-\w]*)\s*(?\w*):\s+(?\w+):\s+(?.*)$ #Time_Format %Y-%m-%dT%H:%M:%S Time_Format %b %d %H:%M:%S Time_Keep Off Time_Key log_time #Types pid:integer [PARSER] Name rabbitmq Format regex Regex ^=(?[^ ]\w+)\s+REPORT[=\s]*(?[^ =][-:.\d\w]+)[\s=]+(?.*)$ Time_Format %d-%b-%Y::%H:%M:%S Time_Keep Off Time_Key log_time [PARSER] Name http_statement Format regex Regex ^.*((?GET|POST|PUT|DELETE|CONNECT|OPTIONS|HEAD[^ ]\w+)\s*(?[^ ][-._?=%&\/[:alnum:]]*)\s*(?[^ ][.\/\dHTFSP]+){0,1})(['"\s]*){0,1}((\s*status:\s*(?[^ ]\d+)){0,1}(\s*len:\ (?[^ ]\d+)){0,1}(\s*time:\s*(?[^ ][.\d]+)){0,1}(\s*microversion:\s*(?[^ ][.\d]+)){0,1}){0,1}$ [PARSER] Name universal Format regex Regex ^(?.*)$ [PARSER] Name uuid Format regex Regex (?[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}) #UUID v1 : #/^[0-9A-F]{8}-[0-9A-F]{4}-[1][0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i #UUID v2 : #/^[0-9A-F]{8}-[0-9A-F]{4}-[2][0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i #UUID v3 : #/^[0-9A-F]{8}-[0-9A-F]{4}-[3][0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i #UUID v4 : #/^[0-9A-F]{8}-[0-9A-F]{4}-[4][0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i #UUID v5 : #/^[0-9A-F]{8}-[0-9A-F]{4}-[5][0-9A-F]{3}-[89AB][0-9A-F]{3}-[0-9A-F]{12}$/i