Hiroshi Hatake
null+****@clear*****
Thu Dec 11 10:17:36 JST 2014
Hiroshi Hatake 2014-12-11 10:17:36 +0900 (Thu, 11 Dec 2014) New Revision: fb059f870ff637b0aedb14315d3403cbbe10bdbd https://github.com/droonga/log-search/commit/fb059f870ff637b0aedb14315d3403cbbe10bdbd Merged ec399d2: Merge pull request #1 from cosmo0920/use-V1-format Message: ubuntu config: use V1 Format with `--use-v1-config`, it can use emmbedded Ruby code. ref: http://docs.fluentd.org/articles/config-file#v1-format This feature can use fluentd v0.10.46 or later. ref: https://groups.google.com/forum/#!msg/fluentd/ymqI5OKV1Js/QMS8HT30wGMJ Modified files: ubuntu/log-parsing-node/td-agent.conf ubuntu/log-search-node/td-agent.conf ubuntu/monitoring-target/td-agent.conf Modified: ubuntu/log-parsing-node/td-agent.conf (+2 -2) =================================================================== --- ubuntu/log-parsing-node/td-agent.conf 2014-12-10 17:48:27 +0900 (3de779a) +++ ubuntu/log-parsing-node/td-agent.conf 2014-12-11 10:17:36 +0900 (3a6fad1) @@ -1,7 +1,7 @@ <source> type secure_forward shared_key fluentd-secret - self_hostname parser1.example.com + self_hostname "#{Socket.gethostname}" cert_auto_generate yes </source> @@ -35,7 +35,7 @@ <match log> type secure_forward shared_key fluentd-secret - self_hostname parser1.example.com + self_hostname "#{Socket.gethostname}" buffer_type file buffer_path /var/spool/td-agent/buffer/secure-forward Modified: ubuntu/log-search-node/td-agent.conf (+1 -1) =================================================================== --- ubuntu/log-search-node/td-agent.conf 2014-12-10 17:48:27 +0900 (0ad0622) +++ ubuntu/log-search-node/td-agent.conf 2014-12-11 10:17:36 +0900 (0cab22f) @@ -1,7 +1,7 @@ <source> type secure_forward shared_key fluentd-secret - self_hostname search.example.com + self_hostname "#{Socket.gethostname}" cert_auto_generate yes </source> Modified: ubuntu/monitoring-target/td-agent.conf (+1 -1) =================================================================== --- ubuntu/monitoring-target/td-agent.conf 2014-12-10 17:48:27 +0900 (07bbb87) +++ ubuntu/monitoring-target/td-agent.conf 2014-12-11 10:17:36 +0900 (538ee75) @@ -12,7 +12,7 @@ <match raw.*.log.**> type secure_forward shared_key fluentd-secret - self_hostname node1.example.com + self_hostname "#{Socket.gethostname}" <server> host parser1.example.com </server> -------------- next part -------------- HTML����������������������������... 다운로드