-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
-
1
-
False
-
-
False
-
-
[Customer reported issue]
Customer comments:
"
I would like to point out that there is an error in documentation regarding clusterlogforwarder CR in filters/drop section that needs to be corrected, to be specific:
spec:
filters:
- name: my-filter
type: drop
drop:
test: # <--- This should be part of a list/array
- field: .kubernetes.labels."foo-bar/baz"
matches: .+
working sample
spec:
# ... other spec fields like serviceAccount, inputs, outputs, pipelines ...
filters:
- name: my-filter # The filter you are referencing in your pipelines
type: drop
drop: # <--- This is now an array/list
- test: # <--- Each item in the list is a 'test' condition
- field: .kubernetes.labels."foo-bar/baz"
The dash before test took me 2 hours to discover what the error was…
1.
|
Peer Review |
|
New | |
Unassigned |
2.
|
Merge Review |
|
New | |
Unassigned |