diff --git a/fluent-bit-es-cluster/fluent-bit.conf b/fluent-bit-es-cluster/fluent-bit.conf index 89ac746..a2e7e45 100644 --- a/fluent-bit-es-cluster/fluent-bit.conf +++ b/fluent-bit-es-cluster/fluent-bit.conf @@ -4,6 +4,7 @@ [INPUT] Name dummy Dummy { "message" : "this is dummy data" } + Rate 10 [OUTPUT] Workers 4 diff --git a/fluent-bit-es-cluster/upstream.conf b/fluent-bit-es-cluster/upstream.conf index 753e3cb..cdc6586 100644 --- a/fluent-bit-es-cluster/upstream.conf +++ b/fluent-bit-es-cluster/upstream.conf @@ -1,17 +1,22 @@ [UPSTREAM] - name elasticsearch-balancing + name elasticsearch-balancing [NODE] - name elasticsearch1 - host localhost - port 9201 + name elasticsearch1 + host localhost + port 9201 + Index fluent-bit-000002 + buffer_size 4M [NODE] - name elasticsearch2 - host localhost - port 9202 + name elasticsearch2 + host localhost + port 9202 + Index fluent-bit-000003 + compress gzip [NODE] - name elasticsearch3 - host localhost - port 9203 + name elasticsearch3 + host localhost + port 9203 + Index fluent-bit-000004 \ No newline at end of file diff --git a/fluent-bit-es/fluent-bit.conf b/fluent-bit-es/fluent-bit.conf index a322784..7183596 100644 --- a/fluent-bit-es/fluent-bit.conf +++ b/fluent-bit-es/fluent-bit.conf @@ -4,12 +4,13 @@ [INPUT] Name dummy Dummy { "message" : "this is dummy data" } + Rate 10 [OUTPUT] Workers 4 Name es Host localhost - Port 9200 + Port 9201 TLS Off Retry_Limit 6 Replace_Dots On