Simple Stream Processing with Fluentd
Last updated
Was this helpful?
Was this helpful?
<filter apache.**>
@type grep
<regexp>
key code
pattern ^5\d\d$
</regexp>
<exclude>
key path
pattern ^/test/
</exclude>
</filter><filter apache.**>
@type record_transformer
<record>
server "${hostname}"
</record>
</filter>{
"host": "192.168.1.1",
"method": "GET",
"path": "/index.html",
"code": 200,
"size": 2344,
"referer": null,
"server": "app1"
}