[Groonga-commit] groonga/fluent-plugin-groonga at d9f4410 [master] Use v1 format instead of fluent-plugin-config-expander

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Dec 21 21:58:14 JST 2014


Kouhei Sutou	2014-12-21 21:58:14 +0900 (Sun, 21 Dec 2014)

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

  Message:
    Use v1 format instead of fluent-plugin-config-expander

  Modified files:
    sample/store-syslog.conf

  Modified: sample/store-syslog.conf (+5 -9)
===================================================================
--- sample/store-syslog.conf    2014-11-25 11:52:14 +0900 (77fd0e2)
+++ sample/store-syslog.conf    2014-12-21 21:58:14 +0900 (c394246)
@@ -1,5 +1,4 @@
 # Required plugins:
-#  * fluent-plugin-config-expander
 #  * fluent-plugin-forest
 #  * fluent-plugin-parser
 #  * fluent-plugin-record-reformer
@@ -10,14 +9,11 @@
 </source>
 
 <source>
-  type config_expander
-  <config>
-    type tail
-    path /var/log/messages
-    pos_file /var/log/td-agent/messages.pos
-    tag raw.messages.log.${hostname}
-    format none
-  </config>
+  type tail
+  path /var/log/messages
+  pos_file /var/log/td-agent/messages.pos
+  tag "raw.messages.log.#{Socket.gethostname}"
+  format none
 </source>
 
 <match raw.*.log.**>
-------------- next part --------------
HTML����������������������������...
Descargar 



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