Configuration
Fluent-plugin-groonga includes two Fluentd plugins. They are the
groonga input plugin and the groonga output plugin. This documents
describes configuration parameters of them.
The groonga input plugin
Here are available parameters:
protocol: It specifies protocol for receiving Groonga commands.- available values:
httpandgqtp - default:
http
- available values:
bind: It specifies bind address.- default:
0.0.0.0
- default:
port: It specifies port number.- default:
10041
- default:
real_host: It specifies real Groonga server's address. It is required.- default: no default.
real_port: It specifies real Groonga server's port number.- default:
10041
- default:
emit_commands: TODO
Here is an example:
<source>
@type groonga
protocol http
bind 127.0.0.1
port 10041
real_host 192.168.0.1
real_port 10041
</source>
The groonga output plugin
protocol: It specifies protocol for sending Groonga commands to Groonga.- available values:
http,gqtpandcommand - default:
http
- available values:
For
httpandgqtpuse:host: It specifies Groonga server's address.- default:
localhost
- default:
port: It specifies Groonga server's port number.- default:
10041
- default:
For
commanduse:groonga: It specifies path ofgroongacommand.- default:
groonga
- default:
database: It specifies path of Groonga database. It is required.- default: no default.
arguments: It specifies additional arguments forgroongacommand.- default: no additional arguments.
Here is an example:
<match groonga.command.*>
@type groonga
protocol command
database /tmp/groonga/db
</match>