Fluentd has nine (9) types of plugins:
This article gives an overview of the Parser Plugin.
<parse>directive for input plugins (e.g.
in_udp) 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.
- From any input plugin that supports the
<parse>directive, call the customplugin by its name.
Here is an example to read Nginx access logs using
td-agentis launched by systemd, the default user of the
td-agentprocess is the
td-agentuser. You must ensure that this user has read permission to the tailed
/path/to/file. For instance, on Ubuntu, the default Nginx access file
0640and owned by
www-data:adm. In this case, several options are available to allow read access:
- 1.Add the
td-agentuser to the
admgroup, e.g. through
usermod -aG, or
Following plugins support