-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore!: move parameters from fluentd.logs.containers into sumologic.l…
…og.container - move `fluentd.logs.containers.sourceHost` to `sumologic.log.container.sourceHost` - move `fluentd.logs.containers.sourceName` to `sumologic.log.container.sourceName` - move `fluentd.logs.contianers.sourceCategory` to `sumologic.log.container.sourceCategory` - move `fluentd.logs.containers.sourceCategoryPrefix` to `sumologic.log.container.sourceCategoryPrefix` - move `fluentd.logs.contianers.sourceCategoryReplaceDash` to `sumologic.log.container.sourceCategoryReplaceDash` - move `fluentd.logs.containers.excludeContainerRegex` to `sumologic.log.container.excludeContainerRegex` - move `fluentd.logs.containers.excludeHostRegex` to `sumologic.log.container.excludeHostRegex` - move `fluentd.logs.containers.excludeNamespaceRegex` to `sumologic.log.container.excludeNamespaceRegex` - move `fluentd.logs.containers.excludePodRegex` to `sumologic.log.container.excludePodRegex` - move `fluentd.logs.containers.sourceHost` to `sumologic.log.container.sourceHost` - move `fluentd.logs.containers.perContainerAnnotationsEnabled` to `sumologic.log.container.perContainerAnnotationsEnabled` - move `fluentd.logs.containers.perContainerAnnotationPrefixes` to `sumologic.log.container.perContainerAnnotationPrefixes`
- Loading branch information
1 parent
95fe79f
commit 96db415
Showing
11 changed files
with
425 additions
and
78 deletions.
There are no files selected for viewing
20 changes: 10 additions & 10 deletions
20
deploy/helm/sumologic/conf/logs/fluentd/logs.kubernetes.sumologic.filter.conf
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
source_name {{ .Values.fluentd.logs.containers.sourceName | quote }} | ||
source_host {{ .Values.fluentd.logs.containers.sourceHost | quote }} | ||
source_name {{ .Values.sumologic.logs.container.sourceName | quote }} | ||
source_host {{ .Values.sumologic.logs.container.sourceHost | quote }} | ||
log_format {{ .Values.fluentd.logs.output.logFormat | quote }} | ||
source_category {{ .Values.fluentd.logs.containers.sourceCategory | quote }} | ||
source_category_prefix {{ .Values.fluentd.logs.containers.sourceCategoryPrefix | quote }} | ||
source_category_replace_dash {{ .Values.fluentd.logs.containers.sourceCategoryReplaceDash | quote }} | ||
exclude_pod_regex {{ .Values.fluentd.logs.containers.excludePodRegex | quote }} | ||
exclude_container_regex {{ .Values.fluentd.logs.containers.excludeContainerRegex | quote }} | ||
exclude_host_regex {{ .Values.fluentd.logs.containers.excludeHostRegex | quote }} | ||
per_container_annotations_enabled {{ .Values.fluentd.logs.containers.perContainerAnnotationsEnabled }} | ||
per_container_annotation_prefixes {{ join "," .Values.fluentd.logs.containers.perContainerAnnotationPrefixes }} | ||
source_category {{ .Values.sumologic.logs.container.sourceCategory | quote }} | ||
source_category_prefix {{ .Values.sumologic.logs.container.sourceCategoryPrefix | quote }} | ||
source_category_replace_dash {{ .Values.sumologic.logs.container.sourceCategoryReplaceDash | quote }} | ||
exclude_pod_regex {{ .Values.sumologic.logs.container.excludePodRegex | quote }} | ||
exclude_container_regex {{ .Values.sumologic.logs.container.excludeContainerRegex | quote }} | ||
exclude_host_regex {{ .Values.sumologic.logs.container.excludeHostRegex | quote }} | ||
per_container_annotations_enabled {{ .Values.sumologic.logs.container.perContainerAnnotationsEnabled }} | ||
per_container_annotation_prefixes {{ join "," .Values.sumologic.logs.container.perContainerAnnotationPrefixes }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
tests/helm/metadata_logs_fluentd/static/default_v2.input.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
sumologic: | ||
collectorName: my_collectorName | ||
logs: | ||
metadata: | ||
provider: fluentd | ||
|
||
container: | ||
enabled: true | ||
sourceHost: # in v2 this parameter is not set in values.yaml | ||
sourceName: "%{namespace}.%{pod}.%{container}" | ||
sourceCategory: "%{namespace}/%{pod_name}" | ||
sourceCategoryPrefix: "kubernetes/" | ||
sourceCategoryReplaceDash: "/" | ||
excludeContainerRegex: "" | ||
excludeHostRegex: "" | ||
excludeNamespaceRegex: "" | ||
excludePodRegex: "" | ||
perContainerAnnotationsEnabled: false | ||
perContainerAnnotationPrefixes: [] |
Oops, something went wrong.