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 |
Sergio Slobodrian | 8725ea8 | 2017-08-27 23:47:41 -0400 | [diff] [blame] | 9 | heartbeat_type tcp |
sathishg | b5d1c18 | 2017-07-13 14:20:19 +0530 | [diff] [blame] | 10 | |
| 11 | # primary host |
| 12 | <server> |
| 13 | host fluentdactv |
| 14 | port 24224 |
| 15 | </server> |
| 16 | # use secondary host |
| 17 | <server> |
| 18 | host fluentdstby |
| 19 | port 24224 |
| 20 | standby |
| 21 | </server> |
| 22 | # use longer flush_interval to reduce CPU usage. |
| 23 | # note that this is a trade-off against latency. |
| 24 | flush_interval 60s |
| 25 | </match> |