[Groonga-commit] droonga/log-search at b4bf18d [master] Use Hosts table

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Tue Nov 25 11:54:39 JST 2014


Kouhei Sutou	2014-11-25 11:54:39 +0900 (Tue, 25 Nov 2014)

  New Revision: b4bf18dfd5dea543458d75d16c7318b4b230dc25
  https://github.com/droonga/log-search/commit/b4bf18dfd5dea543458d75d16c7318b4b230dc25

  Message:
    Use Hosts table
    
    Because many records will have the same host value.

  Modified files:
    centos/stand-alone/td-agent.conf
    ubuntu/stand-alone/td-agent.conf

  Modified: centos/stand-alone/td-agent.conf (+16 -0)
===================================================================
--- centos/stand-alone/td-agent.conf    2014-11-20 15:52:11 +0900 (e7ef310)
+++ centos/stand-alone/td-agent.conf    2014-11-25 11:54:39 +0900 (acbfe4f)
@@ -67,12 +67,28 @@
   </table>
 
   <table>
+    name Hosts
+    flags TABLE_PAT_KEY
+    key_type ShortText
+    # normalizer NormalizerAuto
+  </table>
+
+  <table>
     name Timestamps
     flags TABLE_PAT_KEY
     key_type Time
   </table>
 
   <mapping>
+    name host
+    type Hosts
+    <index>
+      table Hosts
+      name logs_index
+    </index>
+  </mapping>
+
+  <mapping>
     name timestamp
     type Time
     <index>

  Modified: ubuntu/stand-alone/td-agent.conf (+16 -0)
===================================================================
--- ubuntu/stand-alone/td-agent.conf    2014-11-20 15:52:11 +0900 (6dc0d74)
+++ ubuntu/stand-alone/td-agent.conf    2014-11-25 11:54:39 +0900 (8385d47)
@@ -67,12 +67,28 @@
   </table>
 
   <table>
+    name Hosts
+    flags TABLE_PAT_KEY
+    key_type ShortText
+    # normalizer NormalizerAuto
+  </table>
+
+  <table>
     name Timestamps
     flags TABLE_PAT_KEY
     key_type Time
   </table>
 
   <mapping>
+    name host
+    type Hosts
+    <index>
+      table Hosts
+      name logs_index
+    </index>
+  </mapping>
+
+  <mapping>
     name timestamp
     type Time
     <index>
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る