Skip to content

Instantly share code, notes, and snippets.

@nikushi
Created December 5, 2013 08:55
Show Gist options
  • Save nikushi/7802190 to your computer and use it in GitHub Desktop.
Save nikushi/7802190 to your computer and use it in GitHub Desktop.
Multiprocess Input Pluginの起動ログ
$ fluentd -c fluent/fluentd.conf
2013-12-05 08:45:29 +0000 [info]: starting fluentd-0.10.41
2013-12-05 08:45:29 +0000 [info]: reading config file path="fluent/fluentd.conf"
2013-12-05 08:45:29 +0000 [info]: gem 'fluent-plugin-multiprocess' version '0.1.0'
2013-12-05 08:45:29 +0000 [info]: gem 'fluentd' version '0.10.41'
2013-12-05 08:45:29 +0000 [info]: using configuration file: <ROOT>
  <source>
    type multiprocess
    <process>
      cmdline -c /home/client/fluent/fluentd_child1.conf
      sleep_before_start 1s
      sleep_before_shutdown 5s
    </process>
    <process>
      cmdline -c /home/client/fluent/fluentd_child2.conf
      sleep_before_start 1s
      sleep_before_shutdown 5s
    </process>
    <process>
      cmdline -c /home/client/fluent/fluentd_child3.conf
      sleep_before_start 1s
      sleep_before_shutdown 5s
    </process>
    <process>
      cmdline -c /home/client/fluent/fluentd_child4.conf
      sleep_before_start 1s
      sleep_before_shutdown 5s
    </process>
  </source>
</ROOT>
2013-12-05 08:45:29 +0000 [info]: adding source type="multiprocess"
2013-12-05 08:45:30 +0000 [info]: launching child fluentd -c /home/client/fluent/fluentd_child4.conf
2013-12-05 08:45:31 +0000 [info]: starting fluentd-0.10.41
2013-12-05 08:45:31 +0000 [info]: reading config file path="/home/client/fluent/fluentd_child4.conf"
2013-12-05 08:45:31 +0000 [info]: gem 'fluent-plugin-multiprocess' version '0.1.0'
2013-12-05 08:45:31 +0000 [info]: gem 'fluentd' version '0.10.41'
2013-12-05 08:45:31 +0000 [info]: using configuration file: <ROOT>
  <source>
    type forward
    port 24224
  </source>
  <match **>
    type file
    path out.log
  </match>
</ROOT>
2013-12-05 08:45:31 +0000 [info]: adding source type="forward"
2013-12-05 08:45:31 +0000 [info]: adding match pattern="**" type="file"
2013-12-05 08:45:31 +0000 [info]: listening fluent socket on 0.0.0.0:24224
2013-12-05 08:45:31 +0000 [info]: launching child fluentd -c /home/client/fluent/fluentd_child3.conf
2013-12-05 08:45:32 +0000 [info]: starting fluentd-0.10.41
2013-12-05 08:45:32 +0000 [info]: reading config file path="/home/client/fluent/fluentd_child3.conf"
2013-12-05 08:45:32 +0000 [info]: gem 'fluent-plugin-multiprocess' version '0.1.0'
2013-12-05 08:45:32 +0000 [info]: gem 'fluentd' version '0.10.41'
2013-12-05 08:45:32 +0000 [info]: using configuration file: <ROOT>
  <source>
    type forward
    port 24223
  </source>
  <match **>
    type file
    path out.log
  </match>
</ROOT>
2013-12-05 08:45:32 +0000 [info]: adding source type="forward"
2013-12-05 08:45:32 +0000 [info]: adding match pattern="**" type="file"
2013-12-05 08:45:32 +0000 [info]: listening fluent socket on 0.0.0.0:24223
2013-12-05 08:45:32 +0000 [info]: launching child fluentd -c /home/client/fluent/fluentd_child2.conf
2013-12-05 08:45:33 +0000 [info]: starting fluentd-0.10.41
2013-12-05 08:45:33 +0000 [info]: reading config file path="/home/client/fluent/fluentd_child2.conf"
2013-12-05 08:45:33 +0000 [info]: gem 'fluent-plugin-multiprocess' version '0.1.0'
2013-12-05 08:45:33 +0000 [info]: gem 'fluentd' version '0.10.41'
2013-12-05 08:45:33 +0000 [info]: using configuration file: <ROOT>
  <source>
    type forward
    port 24222
  </source>
  <match **>
    type file
    path out.log
  </match>
</ROOT>
2013-12-05 08:45:33 +0000 [info]: adding source type="forward"
2013-12-05 08:45:33 +0000 [info]: adding match pattern="**" type="file"
2013-12-05 08:45:33 +0000 [info]: listening fluent socket on 0.0.0.0:24222
2013-12-05 08:45:33 +0000 [info]: launching child fluentd -c /home/client/fluent/fluentd_child1.conf
2013-12-05 08:45:34 +0000 [info]: starting fluentd-0.10.41
2013-12-05 08:45:34 +0000 [info]: reading config file path="/home/client/fluent/fluentd_child1.conf"
2013-12-05 08:45:34 +0000 [info]: gem 'fluent-plugin-multiprocess' version '0.1.0'
2013-12-05 08:45:34 +0000 [info]: gem 'fluentd' version '0.10.41'
2013-12-05 08:45:34 +0000 [info]: using configuration file: <ROOT>
  <source>
    type forward
    port 24221
  </source>
  <match **>
    type file
    path out.log
  </match>
</ROOT>
2013-12-05 08:45:34 +0000 [info]: adding source type="forward"
2013-12-05 08:45:34 +0000 [info]: adding match pattern="**" type="file"
2013-12-05 08:45:34 +0000 [info]: listening fluent socket on 0.0.0.0:24221
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment