[Groonga-commit] groonga/packages.groonga.org at 1cfa6fb [master] fluent-plugin-groonga: add type and index definitions

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Nov 5 17:48:40 JST 2014


Kouhei Sutou	2014-11-05 17:48:40 +0900 (Wed, 05 Nov 2014)

  New Revision: 1cfa6fb896e536768a68144873872d2e1c8b29a1
  https://github.com/groonga/packages.groonga.org/commit/1cfa6fb896e536768a68144873872d2e1c8b29a1

  Message:
    fluent-plugin-groonga: add type and index definitions

  Modified files:
    ansible/files/fluentd/fluentd.conf

  Modified: ansible/files/fluentd/fluentd.conf (+190 -0)
===================================================================
--- ansible/files/fluentd/fluentd.conf    2014-11-03 23:09:32 +0900 (5f5410f)
+++ ansible/files/fluentd/fluentd.conf    2014-11-05 17:48:40 +0900 (933694e)
@@ -45,4 +45,194 @@
   buffer_type file
   buffer_path /var/spool/td-agent/buffer/groonga
   flush_interval 1
+
+  <table>
+    name Codes
+    flags TABLE_PAT_KEY
+    key_type Int32
+  </table>
+
+  <table>
+    name Hosts
+    flags TABLE_PAT_KEY
+    key_type ShortText
+    normalizer NormalizerAuto
+  </table>
+
+  <table>
+    name URLs
+    flags TABLE_PAT_KEY
+    key_type ShortText
+  </table>
+
+  <table>
+    name Paths
+    flags TABLE_PAT_KEY
+    key_type ShortText
+  </table>
+
+  <table>
+    name UserAgents
+    flags TABLE_PAT_KEY
+    key_type ShortText
+  </table>
+
+  <table>
+    name Methods
+    flags TABLE_HASH_KEY
+    key_type ShortText
+    normalizer NormalizerAuto
+  </table>
+
+  <table>
+    name Remotes
+    flags TABLE_PAT_KEY
+    key_type ShortText
+  </table>
+
+  <table>
+    name Sizes
+    flags TABLE_PAT_KEY
+    key_type Int32
+  </table>
+
+  <table>
+    name Timestamps
+    flags TABLE_PAT_KEY
+    key_type Time
+  </table>
+
+  <table>
+    name Types
+    flags TABLE_PAT_KEY
+    key_type ShortText
+  </table>
+
+  <table>
+    name Terms
+    flags TABLE_PAT_KEY
+    key_type ShortText
+    default_tokenizer TokenBigram
+    normalizer NormalizerAuto
+    <index>
+      name hosts_key_index
+      source_table Hosts
+      source_columns _key
+    </index>
+    <index>
+      name urls_key_index
+      source_table URLs
+      source_columns _key
+    </index>
+    <index>
+      name paths_key_index
+      source_table Paths
+      source_columns _key
+    </index>
+    <index>
+      name user_agents_key_index
+      source_table UserAgents
+      source_columns _key
+    </index>
+  </table>
+
+  <mapping>
+    name agent
+    type UserAgents
+    <index>
+      table UserAgents
+      name logs_index
+    </index>
+  </mapping>
+
+  <mapping>
+    name code
+    type Codes
+    <index>
+      table Codes
+      name logs_index
+    </index>
+  </mapping>
+
+  <mapping>
+    name host
+    type Hosts
+    <index>
+      table Hosts
+      name logs_index
+    </index>
+  </mapping>
+
+  <mapping>
+    name message
+    type Text
+    <index>
+      table Terms
+      name logs_message_index
+      flags WITH_POSITION
+    </index>
+  </mapping>
+
+  <mapping>
+    name method
+    type Methods
+    <index>
+      table Methods
+      name logs_index
+    </index>
+  </mapping>
+
+  <mapping>
+    name path
+    type Paths
+    <index>
+      table Paths
+      name logs_index
+    </index>
+  </mapping>
+
+  <mapping>
+    name referer
+    type URLs
+    <index>
+      table URLs
+      name logs_index
+    </index>
+  </mapping>
+
+  <mapping>
+    name remote
+    type Remotes
+    <index>
+      table Remotes
+      name logs_index
+    </index>
+  </mapping>
+
+  <mapping>
+    name size
+    type Int32
+    <index>
+      table Sizes
+      name logs_index
+    </index>
+  </mapping>
+
+  <mapping>
+    name timestamp
+    type Time
+    <index>
+      table Timestamps
+      name logs_index
+    </index>
+  </mapping>
+
+  <mapping>
+    name type
+    type Types
+    <index>
+      table Types
+      name logs_index
+    </index>
+  </mapping>
 </match>
-------------- next part --------------
HTML����������������������������...
Download 



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