From 7d8d21f5e664a0f1bad75b3564f935e5ef358747 Mon Sep 17 00:00:00 2001 From: Grace Wehner Date: Mon, 16 Dec 2024 16:28:04 -0800 Subject: [PATCH 1/2] Update golang-output-plugins.md Signed-off-by: Grace Wehner --- development/golang-output-plugins.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/development/golang-output-plugins.md b/development/golang-output-plugins.md index 3113532aa..a9fd4f4a3 100644 --- a/development/golang-output-plugins.md +++ b/development/golang-output-plugins.md @@ -148,4 +148,8 @@ Note: No need to specify a plugins configuration file from command line. ```text fluent-bit -c fluent-bit.conf -``` \ No newline at end of file +``` + +## Event Types Supported + +Currently, the supported event types for the output plugin are `logs` and `metrics`. These types are declared in the [flb_plugin_proxy.c](https://github.com/fluent/fluent-bit/blob/master/src/flb_plugin_proxy.c) file in the `flb_proxy_register_output` function. The `fluent-bit-go` decoder will decode both types. From d455ea9b4efd827dc8c072f05d10f49b9085e394 Mon Sep 17 00:00:00 2001 From: Grace Wehner Date: Tue, 17 Dec 2024 10:04:18 -0800 Subject: [PATCH 2/2] Update development/golang-output-plugins.md Co-authored-by: Pat Signed-off-by: Grace Wehner --- development/golang-output-plugins.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/development/golang-output-plugins.md b/development/golang-output-plugins.md index a9fd4f4a3..777cdaa3f 100644 --- a/development/golang-output-plugins.md +++ b/development/golang-output-plugins.md @@ -152,4 +152,6 @@ fluent-bit -c fluent-bit.conf ## Event Types Supported -Currently, the supported event types for the output plugin are `logs` and `metrics`. These types are declared in the [flb_plugin_proxy.c](https://github.com/fluent/fluent-bit/blob/master/src/flb_plugin_proxy.c) file in the `flb_proxy_register_output` function. The `fluent-bit-go` decoder will decode both types. +Currently, the supported event types for the output plugin are `logs` and `metrics`. +These types are declared in the [flb_plugin_proxy.c](https://github.com/fluent/fluent-bit/blob/master/src/flb_plugin_proxy.c) file in the `flb_proxy_register_output` function. +The `fluent-bit-go` decoder will decode both types.