31. Grok
Thin layer on top of a regular expression
2013-11-10 19:41:25.321 [main] INFO
o.a.camel.impl.DefaultCamelContext - Apache Camel 2.11.1
(CamelContext: camel-1) started in 4.450 seconds
time 2013-11-10 19:41:25.321
thread main
loglevel INFO
source o.a.camel.impl.DefaultCamelContext
message Apache Camel 2.11.1 (CamelContext: camel-1) started in 4.450 seconds
32. Grok
2013-11-10 19:41:25.321 [main] INFO
o.a.camel.impl.DefaultCamelContext - Apache Camel 2.11.1
(CamelContext: camel-1) started in 4.450 seconds
grok {
patterns_dir => “./some-dir“
match => ["message", "%{TIMESTAMP_ISO8601:time}
[%{DATA:thread}] %{LOGLEVEL:loglevel}
%{DATA:source} - %
{MULTILINE_GREEDYDATA:message}"]
}