tags:
- "%{customer}"
- "%{tier}"
- mysql_filter_1:
- condition: 'if [type] == "mysql-error"'
- resource: multiline
- order: 39 # Filter
- parameters:
- pattern: '^%%{ich-trickse}{NUMBER} *%%{ich-trickse}{NUMBER}'
- negate: 'true'
- what: 'previous'
- mysql_filter_2:
+ codec:
+ type: multiline
+ what: previous
+ negate: true
+ pattern: '%%{ich-trickse}{TIMESTAMP_ISO8601:time} *%%{ich-trickse}{INT:threadid}? *\[%%{ich-trickse}{WORD:loglevel}\] *%%{ich-trickse}{GREEDYDATA:restmessage}'
+ mysql_filter:
condition: 'if [type] == "mysql-error"'
resource: grok
order: 40 # Filter
parameters:
match:
- message
- - '%%{ich-trickse}{TIMESTAMP_ISO8601:time} *%%{ich-trickse}{INT:threadid}? *\[%%{ich-trickse}{WORD:loglevel}\] *%%{ich-trickse}{GREEDYDATA:message}'
\ No newline at end of file
+ - '%%{ich-trickse}{TIMESTAMP_ISO8601:time} *%%{ich-trickse}{INT:threadid}? *\[%%{ich-trickse}{WORD:loglevel}\] *%%{ich-trickse}{GREEDYDATA:restmessage}'
\ No newline at end of file