Parser Plugins
Last updated
Was this helpful?
Last updated
Was this helpful?
Fluentd has 6 types of plugins: , , , , and . This article gives an overview of Parser Plugin.
Sometimes, the format
parameter for input plugins (ex: , , and ) cannot parse the user's custom data format (for example, a context-dependent grammar that can't be parsed with a regular expression). To address such cases. Fluentd has a pluggable system that enables the user to create their own parser formats.
Write a custom format plugin. .
From any input plugin that supports the "format" field, call the
custom plugin by its name.
Here is a simple example to read Nginx access logs using in_tail
and parser_nginx
:
If you are familiar with grok patterns, grok-parser plugin is useful. Use < 1.0.0
versions for fluentd v0.12.
with format
parameter.
If this article is incorrect or outdated, or omits critical information, please . is a open source project under . All components are available under the Apache 2 License.