@@ -314,6 +314,94 @@ spec:
314
314
This could mitigate the Kube API heavy traffic issue for large cluster.
315
315
type : boolean
316
316
type : object
317
+ logToMetrics :
318
+ description : LogToMetrics defines a Log to Metrics Filter configuration.
319
+ properties :
320
+ addLabel :
321
+ description : Add a custom label NAME and set the value to
322
+ the value of KEY
323
+ items :
324
+ type : string
325
+ type : array
326
+ alias :
327
+ description : Alias for the plugin
328
+ type : string
329
+ bucket :
330
+ description : Defines a bucket for histogram
331
+ items :
332
+ type : string
333
+ type : array
334
+ discardLogs :
335
+ description : |-
336
+ Flag that defines if logs should be discarded after processing. This applies
337
+ for all logs, no matter if they have emitted metrics or not.
338
+ type : boolean
339
+ emitterMemBufLimit :
340
+ description : set a buffer limit to restrict memory usage
341
+ of metrics emitter
342
+ type : string
343
+ emitterName :
344
+ description : Name of the emitter (advanced users)
345
+ type : string
346
+ exclude :
347
+ description : |-
348
+ Optional filter for records in which the content of KEY does not matches the regular expression.
349
+ Value Format: FIELD REGEX
350
+ items :
351
+ type : string
352
+ type : array
353
+ kubernetesMode :
354
+ description : |-
355
+ If enabled, it will automatically put pod_id, pod_name, namespace_name, docker_id and container_name
356
+ into the metric as labels. This option is intended to be used in combination with the kubernetes filter plugin.
357
+ type : boolean
358
+ labelField :
359
+ description : Includes a record field as label dimension
360
+ in the metric.
361
+ items :
362
+ type : string
363
+ type : array
364
+ metricDescription :
365
+ description : Sets a help text for the metric.
366
+ type : string
367
+ metricMode :
368
+ description : Defines the mode for the metric. Valid values
369
+ are [counter, gauge or histogram]
370
+ type : string
371
+ metricName :
372
+ description : Sets the name of the metric.
373
+ type : string
374
+ metricNamespace :
375
+ description : Namespace of the metric
376
+ type : string
377
+ metricSubsystem :
378
+ description : Sets a sub-system for the metric.
379
+ type : string
380
+ regex :
381
+ description : |-
382
+ Optional filter for records in which the content of KEY matches the regular expression.
383
+ Value Format: FIELD REGEX
384
+ items :
385
+ type : string
386
+ type : array
387
+ retryLimit :
388
+ description : ' RetryLimit describes how many times fluent-bit
389
+ should retry to send data to a specific output. If set
390
+ to false fluent-bit will try indefinetly. If set to any
391
+ integer N>0 it will try at most N+1 times. Leading zeros
392
+ are not allowed (values such as 007, 0150, 01 do not work).
393
+ If this property is not defined fluent-bit will use the
394
+ default value: 1.'
395
+ pattern : ^(((f|F)alse)|(no_limits)|(no_retries)|([1-9]+[0-9]*))$
396
+ type : string
397
+ tag :
398
+ description : Defines the tag for the generated metrics record
399
+ type : string
400
+ valueField :
401
+ description : Specify the record field that holds a numerical
402
+ value
403
+ type : string
404
+ type : object
317
405
lua :
318
406
description : Lua defines Lua Filter configuration.
319
407
properties :
@@ -376,6 +464,13 @@ spec:
376
464
If you desire timestamp precision enabling this option will pass the timestamp as
377
465
a Lua table with keys sec for seconds since epoch and nsec for nanoseconds.
378
466
type : boolean
467
+ typeArrayKey :
468
+ description : |-
469
+ If these keys are matched, the fields are handled as array. If more than
470
+ one key, delimit by space. It is useful the array can be empty.
471
+ items :
472
+ type : string
473
+ type : array
379
474
typeIntKey :
380
475
description : |-
381
476
If these keys are matched, the fields are converted to integer.
@@ -784,6 +879,53 @@ spec:
784
879
format : int64
785
880
type : integer
786
881
type : object
882
+ wasm :
883
+ description : Wasm defines a Wasm configuration.
884
+ properties :
885
+ accessiblePaths :
886
+ description : Specify the whitelist of paths to be able to
887
+ access paths from WASM programs.
888
+ items :
889
+ type : string
890
+ type : array
891
+ alias :
892
+ description : Alias for the plugin
893
+ type : string
894
+ eventFormat :
895
+ description : ' Define event format to interact with Wasm
896
+ programs: msgpack or json. Default: json'
897
+ type : string
898
+ functionName :
899
+ description : Wasm function name that will be triggered to
900
+ do filtering. It's assumed that the function is built
901
+ inside the Wasm program specified above.
902
+ type : string
903
+ retryLimit :
904
+ description : ' RetryLimit describes how many times fluent-bit
905
+ should retry to send data to a specific output. If set
906
+ to false fluent-bit will try indefinetly. If set to any
907
+ integer N>0 it will try at most N+1 times. Leading zeros
908
+ are not allowed (values such as 007, 0150, 01 do not work).
909
+ If this property is not defined fluent-bit will use the
910
+ default value: 1.'
911
+ pattern : ^(((f|F)alse)|(no_limits)|(no_retries)|([1-9]+[0-9]*))$
912
+ type : string
913
+ wasmHeapSize :
914
+ description : Size of the heap size of Wasm execution. Review
915
+ unit sizes for allowed values.
916
+ pattern : ^\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$
917
+ type : string
918
+ wasmPath :
919
+ description : Path to the built Wasm program that will be
920
+ used. This can be a relative path against the main configuration
921
+ file.
922
+ type : string
923
+ wasmStackSize :
924
+ description : Size of the stack size of Wasm execution. Review
925
+ unit sizes for allowed values.
926
+ pattern : ^\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$
927
+ type : string
928
+ type : object
787
929
type : object
788
930
type : array
789
931
logLevel :
0 commit comments