/
logging.kubesphere.io_outputs.yaml
1256 lines (1255 loc) · 60.7 KB
/
logging.kubesphere.io_outputs.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.1
creationTimestamp: null
name: outputs.logging.kubesphere.io
spec:
group: logging.kubesphere.io
names:
kind: Output
listKind: OutputList
plural: outputs
singular: output
scope: Namespaced
versions:
- name: v1alpha2
schema:
openAPIV3Schema:
description: Output is the Schema for the outputs API
properties:
apiVersion:
description: 'APIVersion defines the versioned schema of this representation
of an object. Servers should convert recognized schemas to the latest
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
type: string
kind:
description: 'Kind is a string value representing the REST resource this
object represents. Servers may infer this from the endpoint the client
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
type: string
metadata:
type: object
spec:
description: OutputSpec defines the desired state of Output
properties:
alias:
description: A user friendly alias name for this output plugin. Used
in metrics for distinction of each configured output.
type: string
datadog:
description: DataDog defines DataDog Output configuration.
properties:
apikey:
description: Your Datadog API key.
type: string
compress:
description: Compress the payload in GZIP format. Datadog supports
and recommends setting this to gzip.
type: string
dd_message_key:
description: By default, the plugin searches for the key 'log'
and remap the value to the key 'message'. If the property is
set, the plugin will search the property name key.
type: string
dd_service:
description: The human readable name for your service generating
the logs.
type: string
dd_source:
description: A human readable name for the underlying technology
of your service.
type: string
dd_tags:
description: The tags you want to assign to your logs in Datadog.
type: string
host:
description: Host is the Datadog server where you are sending
your logs.
type: string
include_tag_key:
description: If enabled, a tag is appended to output. The key
name is used tag_key property.
type: boolean
json_date_key:
description: Date key name for output.
type: string
provider:
description: To activate the remapping, specify configuration
flag provider.
type: string
proxy:
description: Specify an HTTP Proxy.
type: string
tag_key:
description: The key name of tag. If include_tag_key is false,
This property is ignored.
type: string
tls:
description: TLS controls whether to use end-to-end security communications
security protocol. Datadog recommends setting this to on.
type: boolean
type: object
es:
description: Elasticsearch defines Elasticsearch Output configuration.
properties:
awsAuth:
description: Enable AWS Sigv4 Authentication for Amazon ElasticSearch
Service.
type: string
awsExternalID:
description: External ID for the AWS IAM Role specified with aws_role_arn.
type: string
awsRegion:
description: Specify the AWS region for Amazon ElasticSearch Service.
type: string
awsRoleARN:
description: AWS IAM Role to assume to put records to your Amazon
ES cluster.
type: string
awsSTSEndpoint:
description: Specify the custom sts endpoint to be used with STS
API for Amazon ElasticSearch Service.
type: string
bufferSize:
description: Specify the buffer size used to read the response
from the Elasticsearch HTTP service. This option is useful for
debugging purposes where is required to read full responses,
note that response size grows depending of the number of records
inserted. To set an unlimited amount of memory set this value
to False, otherwise the value must be according to the Unit
Size specification.
pattern: ^\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$
type: string
cloudAuth:
description: Specify the credentials to use to connect to Elastic's
Elasticsearch Service running on Elastic Cloud.
type: string
cloudID:
description: If you are using Elastic's Elasticsearch Service
you can specify the cloud_id of the cluster running.
type: string
currentTimeIndex:
description: Use current time for index generation instead of
message record
type: boolean
generateID:
description: When enabled, generate _id for outgoing records.
This prevents duplicate records when retrying ES.
type: boolean
host:
description: IP address or hostname of the target Elasticsearch
instance
type: string
httpPassword:
description: Password for user defined in HTTP_User
properties:
valueFrom:
description: ValueSource represents a source for the value
of a secret.
properties:
secretKeyRef:
description: Selects a key of a secret in the pod's namespace
properties:
key:
description: The key of the secret to select from. Must
be a valid secret key.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind,
uid?'
type: string
optional:
description: Specify whether the Secret or its key
must be defined
type: boolean
required:
- key
type: object
type: object
type: object
httpUser:
description: Optional username credential for Elastic X-Pack access
properties:
valueFrom:
description: ValueSource represents a source for the value
of a secret.
properties:
secretKeyRef:
description: Selects a key of a secret in the pod's namespace
properties:
key:
description: The key of the secret to select from. Must
be a valid secret key.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind,
uid?'
type: string
optional:
description: Specify whether the Secret or its key
must be defined
type: boolean
required:
- key
type: object
type: object
type: object
idKey:
description: If set, _id will be the value of the key from incoming
record and Generate_ID option is ignored.
type: string
includeTagKey:
description: When enabled, it append the Tag name to the record.
type: boolean
index:
description: Index name
type: string
logstashDateFormat:
description: Time format (based on strftime) to generate the second
part of the Index name.
type: string
logstashFormat:
description: 'Enable Logstash format compatibility. This option
takes a boolean value: True/False, On/Off'
type: boolean
logstashPrefix:
description: 'When Logstash_Format is enabled, the Index name
is composed using a prefix and the date, e.g: If Logstash_Prefix
is equals to ''mydata'' your index will become ''mydata-YYYY.MM.DD''.
The last string appended belongs to the date when the data is
being generated.'
type: string
logstashPrefixKey:
description: Prefix keys with this string
type: string
path:
description: Elasticsearch accepts new data on HTTP query path
"/_bulk". But it is also possible to serve Elasticsearch behind
a reverse proxy on a subpath. This option defines such path
on the fluent-bit side. It simply adds a path prefix in the
indexing HTTP POST URI.
type: string
pipeline:
description: Newer versions of Elasticsearch allows setting up
filters called pipelines. This option allows defining which
pipeline the database should use. For performance reasons is
strongly suggested parsing and filtering on Fluent Bit side,
avoid pipelines.
type: string
port:
description: TCP port of the target Elasticsearch instance
format: int32
maximum: 65535
minimum: 1
type: integer
replaceDots:
description: When enabled, replace field name dots with underscore,
required by Elasticsearch 2.0-2.3.
type: boolean
suppressTypeName:
description: When enabled, mapping types is removed and Type option
is ignored. Types are deprecated in APIs in v7.0. This options
is for v7.0 or later.
type: string
tagKey:
description: When Include_Tag_Key is enabled, this property defines
the key name for the tag.
type: string
timeKey:
description: When Logstash_Format is enabled, each record will
get a new timestamp field. The Time_Key property defines the
name of that field.
type: string
timeKeyFormat:
description: When Logstash_Format is enabled, this property defines
the format of the timestamp.
type: string
tls:
description: Fluent Bit provides integrated support for Transport
Layer Security (TLS) and it predecessor Secure Sockets Layer
(SSL) respectively.
properties:
caFile:
description: Absolute path to CA certificate file
type: string
caPath:
description: Absolute path to scan for certificate files
type: string
crtFile:
description: Absolute path to Certificate file
type: string
debug:
description: 'Set TLS debug verbosity level. It accept the
following values: 0 (No debug), 1 (Error), 2 (State change),
3 (Informational) and 4 Verbose'
enum:
- 0
- 1
- 2
- 3
- 4
format: int32
type: integer
keyFile:
description: Absolute path to private Key file
type: string
keyPassword:
description: Optional password for tls.key_file file
properties:
valueFrom:
description: ValueSource represents a source for the value
of a secret.
properties:
secretKeyRef:
description: Selects a key of a secret in the pod's
namespace
properties:
key:
description: The key of the secret to select from. Must
be a valid secret key.
type: string
name:
description: 'Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind,
uid?'
type: string
optional:
description: Specify whether the Secret or its
key must be defined
type: boolean
required:
- key
type: object
type: object
type: object
verify:
description: Force certificate validation
type: boolean
vhost:
description: Hostname to be used for TLS SNI extension
type: string
type: object
traceError:
description: When enabled print the elasticsearch API calls to
stdout when elasticsearch returns an error
type: boolean
traceOutput:
description: When enabled print the elasticsearch API calls to
stdout (for diag only)
type: boolean
type:
description: Type name
type: string
type: object
file:
description: File defines File Output configuration.
properties:
delimiter:
description: The character to separate each pair. Applicable only
if format is csv or ltsv.
type: string
file:
description: Set file name to store the records. If not set, the
file name will be the tag associated with the records.
type: string
format:
description: 'The format of the file content. See also Format
section. Default: out_file.'
enum:
- out_file
- plain
- csv
- ltsv
- template
type: string
labelDelimiter:
description: The character to separate each pair. Applicable only
if format is ltsv.
type: string
path:
description: Absolute directory path to store files. If not set,
Fluent Bit will write the files on it's own positioned directory.
type: string
template:
description: The format string. Applicable only if format is template.
type: string
type: object
forward:
description: Forward defines Forward Output configuration.
properties:
emptySharedKey:
description: Use this option to connect to Fluentd with a zero-length
secret.
type: boolean
host:
description: Target host where Fluent-Bit or Fluentd are listening
for Forward messages.
type: string
password:
description: Specify the password corresponding to the username.
properties:
valueFrom:
description: ValueSource represents a source for the value
of a secret.
properties:
secretKeyRef:
description: Selects a key of a secret in the pod's namespace
properties:
key:
description: The key of the secret to select from. Must
be a valid secret key.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind,
uid?'
type: string
optional:
description: Specify whether the Secret or its key
must be defined
type: boolean
required:
- key
type: object
type: object
type: object
port:
description: TCP Port of the target service.
format: int32
maximum: 65535
minimum: 1
type: integer
requireAckResponse:
description: Send "chunk"-option and wait for "ack" response from
server. Enables at-least-once and receiving server can control
rate of traffic. (Requires Fluentd v0.14.0+ server)
type: boolean
selfHostname:
description: Default value of the auto-generated certificate common
name (CN).
type: string
sendOptions:
description: Always send options (with "size"=count of messages)
type: boolean
sharedKey:
description: A key string known by the remote Fluentd used for
authorization.
type: string
timeAsInteger:
description: Set timestamps in integer format, it enable compatibility
mode for Fluentd v0.12 series.
type: boolean
tls:
description: Fluent Bit provides integrated support for Transport
Layer Security (TLS) and it predecessor Secure Sockets Layer
(SSL) respectively.
properties:
caFile:
description: Absolute path to CA certificate file
type: string
caPath:
description: Absolute path to scan for certificate files
type: string
crtFile:
description: Absolute path to Certificate file
type: string
debug:
description: 'Set TLS debug verbosity level. It accept the
following values: 0 (No debug), 1 (Error), 2 (State change),
3 (Informational) and 4 Verbose'
enum:
- 0
- 1
- 2
- 3
- 4
format: int32
type: integer
keyFile:
description: Absolute path to private Key file
type: string
keyPassword:
description: Optional password for tls.key_file file
properties:
valueFrom:
description: ValueSource represents a source for the value
of a secret.
properties:
secretKeyRef:
description: Selects a key of a secret in the pod's
namespace
properties:
key:
description: The key of the secret to select from. Must
be a valid secret key.
type: string
name:
description: 'Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind,
uid?'
type: string
optional:
description: Specify whether the Secret or its
key must be defined
type: boolean
required:
- key
type: object
type: object
type: object
verify:
description: Force certificate validation
type: boolean
vhost:
description: Hostname to be used for TLS SNI extension
type: string
type: object
username:
description: Specify the username to present to a Fluentd server
that enables user_auth.
properties:
valueFrom:
description: ValueSource represents a source for the value
of a secret.
properties:
secretKeyRef:
description: Selects a key of a secret in the pod's namespace
properties:
key:
description: The key of the secret to select from. Must
be a valid secret key.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind,
uid?'
type: string
optional:
description: Specify whether the Secret or its key
must be defined
type: boolean
required:
- key
type: object
type: object
type: object
type: object
http:
description: HTTP defines HTTP Output configuration.
properties:
allowDuplicatedHeaders:
description: Specify if duplicated headers are allowed. If a duplicated
header is found, the latest key/value set is preserved.
type: boolean
compress:
description: Set payload compression mechanism. Option available
is 'gzip'
type: string
format:
description: Specify the data format to be used in the HTTP request
body, by default it uses msgpack. Other supported formats are
json, json_stream and json_lines and gelf.
enum:
- msgpack
- json
- json_stream
- json_lines
- gelf
type: string
gelfFullMessageKey:
description: Specify the key to use for the full message in gelf
format
type: string
gelfHostKey:
description: Specify the key to use for the host in gelf format
type: string
gelfLevelKey:
description: Specify the key to use for the level in gelf format
type: string
gelfShortMessgeKey:
description: Specify the key to use as the short message in gelf
format
type: string
gelfTimestampKey:
description: Specify the key to use for timestamp in gelf format
type: string
headerTag:
description: Specify an optional HTTP header field for the original
message tag.
type: string
headers:
additionalProperties:
type: string
description: Add a HTTP header key/value pair. Multiple headers
can be set.
type: object
host:
description: IP address or hostname of the target HTTP Server
type: string
httpPassword:
description: Basic Auth Password. Requires HTTP_User to be set
properties:
valueFrom:
description: ValueSource represents a source for the value
of a secret.
properties:
secretKeyRef:
description: Selects a key of a secret in the pod's namespace
properties:
key:
description: The key of the secret to select from. Must
be a valid secret key.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind,
uid?'
type: string
optional:
description: Specify whether the Secret or its key
must be defined
type: boolean
required:
- key
type: object
type: object
type: object
httpUser:
description: Basic Auth Username
properties:
valueFrom:
description: ValueSource represents a source for the value
of a secret.
properties:
secretKeyRef:
description: Selects a key of a secret in the pod's namespace
properties:
key:
description: The key of the secret to select from. Must
be a valid secret key.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind,
uid?'
type: string
optional:
description: Specify whether the Secret or its key
must be defined
type: boolean
required:
- key
type: object
type: object
type: object
jsonDateFormat:
description: 'Specify the format of the date. Supported formats
are double, epoch and iso8601 (eg: 2018-05-30T09:39:52.000681Z)'
type: string
jsonDateKey:
description: Specify the name of the time key in the output record.
To disable the time key just set the value to false.
type: string
port:
description: TCP port of the target HTTP Server
format: int32
maximum: 65535
minimum: 1
type: integer
proxy:
description: Specify an HTTP Proxy. The expected format of this
value is http://host:port. Note that https is not supported
yet.
type: string
tls:
description: HTTP output plugin supports TTL/SSL, for more details
about the properties available and general configuration, please
refer to the TLS/SSL section.
properties:
caFile:
description: Absolute path to CA certificate file
type: string
caPath:
description: Absolute path to scan for certificate files
type: string
crtFile:
description: Absolute path to Certificate file
type: string
debug:
description: 'Set TLS debug verbosity level. It accept the
following values: 0 (No debug), 1 (Error), 2 (State change),
3 (Informational) and 4 Verbose'
enum:
- 0
- 1
- 2
- 3
- 4
format: int32
type: integer
keyFile:
description: Absolute path to private Key file
type: string
keyPassword:
description: Optional password for tls.key_file file
properties:
valueFrom:
description: ValueSource represents a source for the value
of a secret.
properties:
secretKeyRef:
description: Selects a key of a secret in the pod's
namespace
properties:
key:
description: The key of the secret to select from. Must
be a valid secret key.
type: string
name:
description: 'Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind,
uid?'
type: string
optional:
description: Specify whether the Secret or its
key must be defined
type: boolean
required:
- key
type: object
type: object
type: object
verify:
description: Force certificate validation
type: boolean
vhost:
description: Hostname to be used for TLS SNI extension
type: string
type: object
uri:
description: 'Specify an optional HTTP URI for the target web
server, e.g: /something'
type: string
type: object
kafka:
description: Kafka defines Kafka Output configuration.
properties:
brokers:
description: 'Single of multiple list of Kafka Brokers, e.g: 192.168.1.3:9092,
192.168.1.4:9092.'
type: string
format:
description: 'Specify data format, options available: json, msgpack.'
type: string
messageKey:
description: Optional key to store the message
type: string
messageKeyField:
description: If set, the value of Message_Key_Field in the record
will indicate the message key. If not set nor found in the record,
Message_Key will be used (if set).
type: string
rdkafka:
additionalProperties:
type: string
description: '{property} can be any librdkafka properties'
type: object
timestampFormat:
description: iso8601 or double
type: string
timestampKey:
description: Set the key to store the record timestamp
type: string
topicKey:
description: 'If multiple Topics exists, the value of Topic_Key
in the record will indicate the topic to use. E.g: if Topic_Key
is router and the record is {"key1": 123, "router": "route_2"},
Fluent Bit will use topic route_2. Note that if the value of
Topic_Key is not present in Topics, then by default the first
topic in the Topics list will indicate the topic to be used.'
type: string
topics:
description: Single entry or list of topics separated by comma
(,) that Fluent Bit will use to send messages to Kafka. If only
one topic is set, that one will be used for all records. Instead
if multiple topics exists, the one set in the record by Topic_Key
will be used.
type: string
type: object
loki:
description: Loki defines Loki Output configuration.
properties:
autoKubernetesLabels:
description: If set to true, it will add all Kubernetes labels
to the Stream labels.
enum:
- "on"
- "off"
type: string
host:
description: Loki hostname or IP address.
type: string
httpPassword:
description: Password for user defined in HTTP_User Set HTTP basic
authentication password
properties:
valueFrom:
description: ValueSource represents a source for the value
of a secret.
properties:
secretKeyRef:
description: Selects a key of a secret in the pod's namespace
properties:
key:
description: The key of the secret to select from. Must
be a valid secret key.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind,
uid?'
type: string
optional:
description: Specify whether the Secret or its key
must be defined
type: boolean
required:
- key
type: object
type: object
type: object
httpUser:
description: Set HTTP basic authentication user name.
properties:
valueFrom:
description: ValueSource represents a source for the value
of a secret.
properties:
secretKeyRef:
description: Selects a key of a secret in the pod's namespace
properties:
key:
description: The key of the secret to select from. Must
be a valid secret key.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind,
uid?'
type: string
optional:
description: Specify whether the Secret or its key
must be defined
type: boolean
required:
- key
type: object
type: object
type: object
labelKeys:
description: Optional list of record keys that will be placed
as stream labels. This configuration property is for records
key only.
items:
type: string
type: array
labels:
description: Stream labels for API request. It can be multiple
comma separated of strings specifying key=value pairs. In addition
to fixed parameters, it also allows to add custom record keys
(similar to label_keys property).
items:
type: string
type: array
lineFormat:
description: Format to use when flattening the record to a log
line. Valid values are json or key_value. If set to json, the
log line sent to Loki will be the Fluent Bit record dumped as
JSON. If set to key_value, the log line will be each item in
the record concatenated together (separated by a single space)
in the format.
enum:
- json
- key_value
type: string
port:
description: Loki TCP port
format: int32
maximum: 65535
minimum: 1
type: integer
tenantID:
description: Tenant ID used by default to push logs to Loki. If
omitted or empty it assumes Loki is running in single-tenant
mode and no X-Scope-OrgID header is sent.
properties:
valueFrom:
description: ValueSource represents a source for the value
of a secret.
properties:
secretKeyRef:
description: Selects a key of a secret in the pod's namespace
properties:
key:
description: The key of the secret to select from. Must
be a valid secret key.
type: string
name:
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind,
uid?'
type: string
optional:
description: Specify whether the Secret or its key
must be defined
type: boolean
required:
- key
type: object
type: object
type: object
tls:
description: Fluent Bit provides integrated support for Transport
Layer Security (TLS) and it predecessor Secure Sockets Layer
(SSL) respectively.
properties:
caFile:
description: Absolute path to CA certificate file
type: string
caPath:
description: Absolute path to scan for certificate files
type: string
crtFile:
description: Absolute path to Certificate file
type: string
debug:
description: 'Set TLS debug verbosity level. It accept the
following values: 0 (No debug), 1 (Error), 2 (State change),
3 (Informational) and 4 Verbose'
enum:
- 0
- 1
- 2
- 3
- 4
format: int32
type: integer
keyFile:
description: Absolute path to private Key file
type: string
keyPassword:
description: Optional password for tls.key_file file
properties:
valueFrom:
description: ValueSource represents a source for the value
of a secret.
properties:
secretKeyRef:
description: Selects a key of a secret in the pod's
namespace
properties:
key:
description: The key of the secret to select from. Must
be a valid secret key.
type: string
name:
description: 'Name of the referent. More info:
https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
TODO: Add other useful fields. apiVersion, kind,
uid?'
type: string
optional:
description: Specify whether the Secret or its
key must be defined
type: boolean
required:
- key
type: object
type: object
type: object
verify:
description: Force certificate validation
type: boolean
vhost:
description: Hostname to be used for TLS SNI extension
type: string
type: object
required:
- host
type: object
match:
description: A pattern to match against the tags of incoming records.
It's case sensitive and support the star (*) character as a wildcard.
type: string
matchRegex:
description: A regular expression to match against the tags of incoming
records. Use this option if you want to use the full regex syntax.
type: string
"null":
description: Null defines Null Output configuration.
type: object
stdout: