| sathishg | b5d1c18 | 2017-07-13 14:20:19 +0530 | [diff] [blame] | 1 | # Configuration for the Fluentd Forwarders, it collects logs from voltha components and sends to Fluentd Log Aggregrators. |
| 2 | # TCP input | ||||
| 3 | <source> | ||||
| 4 | @type forward | ||||
| 5 | port 24224 | ||||
| 6 | </source> | ||||
| 7 | <match **> | ||||
| 8 | @type forward | ||||
| 9 | |||||
| 10 | # primary host | ||||
| 11 | <server> | ||||
| 12 | host fluentdactv | ||||
| 13 | port 24224 | ||||
| 14 | </server> | ||||
| 15 | # use secondary host | ||||
| 16 | <server> | ||||
| 17 | host fluentdstby | ||||
| 18 | port 24224 | ||||
| 19 | standby | ||||
| 20 | </server> | ||||
| 21 | # use longer flush_interval to reduce CPU usage. | ||||
| 22 | # note that this is a trade-off against latency. | ||||
| 23 | flush_interval 60s | ||||
| 24 | </match> | ||||