All Projects → fluent → fluent-plugin-multiprocess

fluent / fluent-plugin-multiprocess

Licence: other
Multiprocess agent plugin for Fluentd

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to fluent-plugin-multiprocess

fluent-plugin-windows-eventlog
Fluentd plugin to collect windows event logs
Stars: ✭ 27 (-35.71%)
Mutual labels:  fluentd, fluentd-plugin
fluent-plugin-webhdfs
Hadoop WebHDFS output plugin for Fluentd
Stars: ✭ 57 (+35.71%)
Mutual labels:  fluentd, fluentd-plugin
fluent-plugin-rabbitmq
Fluent input/output plugin for RabbitMQ.
Stars: ✭ 26 (-38.1%)
Mutual labels:  fluentd, fluentd-plugin
fluent-plugin-redis
Redis output plugin for Fluent event collector
Stars: ✭ 40 (-4.76%)
Mutual labels:  fluentd, fluentd-plugin
fluent-plugin-ec2-metadata
Fluentd output plugin to add Amazon EC2 metadata into messages
Stars: ✭ 43 (+2.38%)
Mutual labels:  fluentd, fluentd-plugin
fluent-plugin-grok-parser
Fluentd's Grok parser
Stars: ✭ 100 (+138.1%)
Mutual labels:  fluentd, fluentd-plugin
fluentd-plugin-mdsd
Azure Linux monitoring agent (mdsd) output plugin for fluentd
Stars: ✭ 26 (-38.1%)
Mutual labels:  fluentd, fluentd-plugin
fluent-plugin-gcs
Google Cloud Storage output plugin for Fluentd.
Stars: ✭ 39 (-7.14%)
Mutual labels:  fluentd, fluentd-plugin
fluent-plugin-http-pull
The input plugin of fluentd to pull log from rest api.
Stars: ✭ 19 (-54.76%)
Mutual labels:  fluentd, fluentd-plugin
logwatch
日志采集工具
Stars: ✭ 22 (-47.62%)
Mutual labels:  fluentd
fluent-plugin-grepcounter
Fluentd plugin to count the number of matched messages, and emit if exeeds the threshold
Stars: ✭ 18 (-57.14%)
Mutual labels:  fluentd-plugin
fluentd-docs
This repository is deprecated. Go to fluentd-docs-gitbook repository.
Stars: ✭ 49 (+16.67%)
Mutual labels:  fluentd
fluent-plugin-twitter
Fluentd Input/Output plugin to process tweets with Twitter Streaming API.
Stars: ✭ 53 (+26.19%)
Mutual labels:  fluentd
fluent-logger-scala
A structured logger implementation in Scala.
Stars: ✭ 46 (+9.52%)
Mutual labels:  fluentd
kafka-connect-fluentd
Kafka Connect for Fluentd
Stars: ✭ 22 (-47.62%)
Mutual labels:  fluentd
prometheus-labs
Example Docker Cluster for "Full Stack Monitoring and Notification with Prometheus and Grafana"
Stars: ✭ 38 (-9.52%)
Mutual labels:  fluentd
datadog-anomaly-detector
🐶 Anomaly detection system for Datadog multiple metrics
Stars: ✭ 19 (-54.76%)
Mutual labels:  fluentd
fruently
A yet another Fluentd logger for Rust. a.k.a. verification of Fluentd's forward protocol playground.
Stars: ✭ 17 (-59.52%)
Mutual labels:  fluentd
bitnami-docker-fluentd
Bitnami Docker Image for Fluentd
Stars: ✭ 16 (-61.9%)
Mutual labels:  fluentd
stackdriver-tools
Stackdriver Nozzle for Cloud Foundry Loggregator, Host Monitoring Agents BOSH Release
Stars: ✭ 22 (-47.62%)
Mutual labels:  fluentd

Multiprocess agent plugin for Fluentd

multiprocess

multiprocess agent plugin runs some child fluentd processes. You can take advantage of multiple CPU cores using this plugin.

Please note that this plugin does not generate records although this is an input plugin. This plugin just controls start & shutdown of child processes.

Configuration

<source>
  @type multiprocess

  # optional:
  #graceful_kill_interval 2s
  #graceful_kill_interval_increment 3s
  #graceful_kill_timeout 60s

  <process>
    cmdline -c /etc/fluent/fluentd_child1.conf --log /var/log/fluent/fluentd_child1.log
    pid_file /var/run/fluentd_child1.pid
  </process>
  <process>
    cmdline -c /etc/fluent/fluentd_child2.conf --log /var/log/fluent/fluentd_child2.log
    sleep_before_start 5s
    pid_file /var/run/fluentd_child2.pid
  </process>
  <process>
    cmdline -c /etc/fluent/fluentd_child3.conf --log /var/log/fluent/fluentd_child3.log
    sleep_before_shutdown 5s
    pid_file /var/run/fluentd_child3.pid
  </process>
</source>
  • process: section sets command line arguments of a child process. This plugin creates one child process for each <process> section
  • cmdline: This parameter is required in a <process> section
  • sleep_before_start: Optional. Sets wait time before starting the process. Note that child processes start from last to first (fluentd_child3 -> sleep 5 -> { fluentd_child2, fluentd_child1 } in this case)
  • sleep_before_shutdown: Optional. Sets wait time before shutting down the process. Note that child processes shutdown from first to last ({ fluentd_child1, fluentd_child2 } -> sleep 5 -> fluentd_child3 in this case)
  • pid_file: Optional. Writes child process id to this file. This is useful for sending a signal to child processes, e.g. logrotate's pid.

Logs for daemonized processes

Daemonized fluentd closes its STDOUT. So child processes on daemonized fluentd & in_multiprocess doesn't put its logs without --log option. Specifing --log option always is best practice to help this situation.

NOTE

You should use unique parameter in each sub configuration to avoid conflict problem, e.g. buffer_path of buf_file, s3_object_key_format of out_s3 and more.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].