fluent-plugin-parser
fluent-plugin-parser copied to clipboard
Add option to prefix original attribute-pairs
This adds an option to prefix the existing record.
E.g., input like:
{"message":"a:A b:B c:C","source":"xyz"}
with config as:
type parser
format ltsv
reserve_data yes
reserve_data_prefix @
becomes
{
"@message":"a:A b:B c:C",
"@source":"xyz",
"a":"A",
"b":"B",
"c":"C"
}
Could you rebase on master HEAD, and add tests for your patch?