Filter Modify Apache
Scenario: Filtering Data by the Value of a Field
Solution: Use fluent-plugin-grep
{
"code": 200,
"url": "http://yourdomain.com/page.html",
"size": 2344,
"referer": "http://www.treasuredata.com"
...
}...
<match apache.**>
@type grep
input_key code
exclude ^200$
add_tag_prefix filtered
</match>Scenario: Adding a New Field (such as hostname)
Solution: Use fluent-plugin-record-modifier
Last updated
Was this helpful?