Skip to content

Commit ae14454

Browse files
eschabelllecaros
authored andcommitted
in_blob: added missing configuration descriptions. Fixes #11204.
Signed-off-by: Eric D. Schabell <eric@schabell.org>
1 parent f4108db commit ae14454

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

plugins/in_blob/blob.c

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -991,12 +991,14 @@ static struct flb_config_map config_map[] = {
991991
{
992992
FLB_CONFIG_MAP_STR, "exclude_pattern", NULL,
993993
0, FLB_TRUE, offsetof(struct blob_ctx, exclude_pattern),
994+
"Glob pattern to exclude files from being processed"
994995
},
995996

996997
#ifdef FLB_HAVE_SQLDB
997998
{
998999
FLB_CONFIG_MAP_STR, "database_file", NULL,
9991000
0, FLB_TRUE, offsetof(struct blob_ctx, database_file),
1001+
"SQLite database file path to track processed files"
10001002
},
10011003
#endif
10021004

@@ -1009,31 +1011,37 @@ static struct flb_config_map config_map[] = {
10091011
{
10101012
FLB_CONFIG_MAP_STR, "upload_success_action", NULL,
10111013
0, FLB_TRUE, offsetof(struct blob_ctx, upload_success_action_str),
1014+
"Action to perform after successful upload: \"delete\", \"emit_log\", or \"add_suffix\""
10121015
},
10131016

10141017
{
10151018
FLB_CONFIG_MAP_STR, "upload_success_suffix", NULL,
10161019
0, FLB_TRUE, offsetof(struct blob_ctx, upload_success_suffix),
1020+
"Suffix to append to filename when upload_success_action is \"add_suffix\""
10171021
},
10181022

10191023
{
10201024
FLB_CONFIG_MAP_STR, "upload_success_message", NULL,
10211025
0, FLB_TRUE, offsetof(struct blob_ctx, upload_success_message),
1026+
"Message to emit as log when upload_success_action is \"emit_log\""
10221027
},
10231028

10241029
{
10251030
FLB_CONFIG_MAP_STR, "upload_failure_action", NULL,
10261031
0, FLB_TRUE, offsetof(struct blob_ctx, upload_failure_action_str),
1032+
"Action to perform after failed upload: \"delete\", \"emit_log\", or \"add_suffix\""
10271033
},
10281034

10291035
{
10301036
FLB_CONFIG_MAP_STR, "upload_failure_suffix", NULL,
10311037
0, FLB_TRUE, offsetof(struct blob_ctx, upload_failure_suffix),
1038+
"Suffix to append to filename when upload_failure_action is \"add_suffix\""
10321039
},
10331040

10341041
{
10351042
FLB_CONFIG_MAP_STR, "upload_failure_message", NULL,
10361043
0, FLB_TRUE, offsetof(struct blob_ctx, upload_failure_message),
1044+
"Message to emit as log when upload_failure_action is \"emit_log\""
10371045
},
10381046

10391047
/* EOF */

0 commit comments

Comments
 (0)