[Groonga-commit] groonga/fluent-plugin-groonga at 22bbef1 [fluentd-v0.12] doc: add command_name_position parameter

Back to archive index

Yasuhiro Horimoto null+****@clear*****
Tue Jan 16 14:20:32 JST 2018


Yasuhiro Horimoto	2018-01-16 14:20:32 +0900 (Tue, 16 Jan 2018)

  New Revision: 22bbef18a779058d4721cb55eb165c8be501d2bc
  https://github.com/groonga/fluent-plugin-groonga/commit/22bbef18a779058d4721cb55eb165c8be501d2bc

  Merged 638bad8: Merge pull request #26 from komainu8/fluentd-v0.12

  Message:
    doc: add command_name_position parameter

  Modified files:
    doc/text/configuration.md

  Modified: doc/text/configuration.md (+19 -0)
===================================================================
--- doc/text/configuration.md    2018-01-16 14:11:51 +0900 (5e3cdd6)
+++ doc/text/configuration.md    2018-01-16 14:20:32 +0900 (3d602b7)
@@ -32,6 +32,24 @@ Here are available parameters:
 
     * default: `10041`
 
+  * `command_name_position`: It specifies where Groonga command's
+    name.
+
+    If `tag` is specified, the plugin puts Groonga command's name to
+    tag as `groonga.command.#{COMMAND_NAME}` format and record
+    is the arguments of the command.
+
+    If `record` is specified, the plugin puts both Groonga command's
+    name and arguments to record as `{"name": "#{COMMAND_NAME}",
+    "arguments": {...}}` format. Tag is always `groonga.command`.
+
+    `record` is suitable when you want to implement replication. If
+    you `tag` for replication, Groonga command's order may be changed.
+
+    * Available values: `tag`, `record`
+
+    * default: `tag`
+
   * `emit_commands`: TODO
 
 Here is an example:
@@ -43,6 +61,7 @@ Here is an example:
       port 10041
       real_host 192.168.0.1
       real_port 10041
+      command_name_position record
     </source>
 
 ## The `groonga` output plugin
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180116/798b51de/attachment-0003.htm 



More information about the Groonga-commit mailing list
Back to archive index