-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature: Add filter to lift keys from a map or nest keys in a map #531
Conversation
plugins/filter_nest/nest.c
Outdated
@@ -0,0 +1,284 @@ | |||
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ | |||
|
|||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add missing header here:
/* Fluent Bit
* ==========
* Copyright (C) 2015-2017 Treasure Data Inc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added in 77ac171
030fadd
to
94780d5
Compare
Documentation PR added at fluent/fluent-bit-docs#62 |
94780d5
to
eedb6f1
Compare
00cd563
to
58e6860
Compare
Documentation PR updated to reflect addition of 'lift' operation See https://github.com/michiel/fluent-bit-docs/blob/feature/add_filter_nest/filter/nest.md |
This adds a filter, called 'nest'. It allows you to, - Nest a set of key-values pairs under a new key - Lift a set of key-value pairs up to the top level Signed-off-by: Michiel Kalkman <mkalkman@shelde.com>
f14545d
to
89183b8
Compare
thanks! |
This adds a filter, called 'nest'. It allows you to, - Nest a set of key-values pairs under a new key - Lift a set of key-value pairs up to the top level Signed-off-by: Michiel Kalkman <mkalkman@shelde.com> Signed-off-by: Eduardo Silva <eduardo@treasure-data.com>
Signed-off-by: Takahiro Yamashita <nokute78@gmail.com> Co-authored-by: Eduardo Silva <eduardo@treasure-data.com>
This adds a new filter, called 'nest', that allows keys to be,
Examples,
Nest 1
Output,
Nest 1 - Lift 1
Output,
Nest 1/2/3
Output,
Nest 1/2/3 - Lift 3/2
Output,