Skip to content

Commit

Permalink
Revert the _sourceHost changes
Browse files Browse the repository at this point in the history
  • Loading branch information
perk-sumo committed Mar 30, 2020
1 parent 76dbfaf commit 3905b8d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions deploy/helm/sumologic/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,6 @@ spec:
value: {{ .Values.sumologic.sourceCategoryReplaceDash | quote }}
- name: SOURCE_NAME
value: {{ .Values.sumologic.sourceName | quote }}
- name: SOURCE_HOST
value: {{ .Values.sumologic.sourceHost | quote }}
- name: KUBERNETES_META
value: {{ .Values.sumologic.kubernetesMeta | quote }}
- name: KUBERNETES_META_REDUCE
Expand Down
3 changes: 0 additions & 3 deletions deploy/helm/sumologic/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,6 @@ sumologic:
## Set the _sourceName metadata field in SumoLogic.
sourceName: "%{namespace}.%{pod}.%{container}"

## Set the _sourceHost metadata field in SumoLogic.
sourceHost: "%{source_host}"

## Set the _sourceCategory metadata field in SumoLogic.
sourceCategory: "%{namespace}/%{pod_name}"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class SumoContainerOutput < Fluent::Plugin::Filter
config_param :source_category_prefix, :string, :default => "kubernetes/"
config_param :source_name, :string, :default => "%{namespace}.%{pod}.%{container}"
config_param :log_format, :string, :default => "json"
config_param :source_host, :string, :default => "%{source_host}"
config_param :source_host, :string, :default => ""
config_param :exclude_container_regex, :string, :default => ""
config_param :exclude_facility_regex, :string, :default => ""
config_param :exclude_host_regex, :string, :default => ""
Expand Down

0 comments on commit 3905b8d

Please sign in to comment.