fluent-bit icon indicating copy to clipboard operation
fluent-bit copied to clipboard

in_forward: add data_type config option

Open epsteina16 opened this issue 2 years ago • 0 comments

data_type configuration option allows for using the Forward input plugin for either raw traces or logs.

This work is incomplete; traces will need a new event type when that is supported.

tests: runtime: added new data_type test to in_forward tests that tests an invalid option for the data_type configuration.

Signed-off-by: Aaron Epstein [email protected]

Addresses https://github.com/fluent/fluent-bit/discussions/5870


Enter [N/A] in the box, if an item is not applicable to your change.

Testing Before we can approve your change; please submit the following in a comment:

  • [x] Example configuration file for the change
  • [N/A] Debug log output from testing the change
  • [x] Attached Valgrind output that shows no leaks or memory corruption was found

If this is a change to packaging of containers or native binaries then please confirm it works for all targets.

  • [N/A] Attached local packaging test output showing all targets (including any new ones) build.

Documentation

  • [x] Documentation required for this feature

Backporting

  • [N/A ] Backport to latest stable release.

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

example_input.txt valgrind.txt

epsteina16 avatar Sep 19 '22 13:09 epsteina16