diff --git a/deploy/kubernetes/fluentd-sumologic.yaml.tmpl b/deploy/kubernetes/fluentd-sumologic.yaml.tmpl index 611e74a102..6340cb1b72 100644 --- a/deploy/kubernetes/fluentd-sumologic.yaml.tmpl +++ b/deploy/kubernetes/fluentd-sumologic.yaml.tmpl @@ -158,28 +158,34 @@ data: + @type copy + + @type sumologic + @id sumologic.endpoint.logs + sumo_client "k8s_1.0.0" + @log_level error + @include logs.output.conf + + @type memory + @include buffer.output.conf + + + + + logs.source.default.conf: |- + + + @type copy + @type sumologic - @id sumologic.endpoint.logs + @id sumologic.endpoint.logs.default sumo_client "k8s_1.0.0" - @log_level error @include logs.output.conf @type memory @include buffer.output.conf - - - logs.source.default.conf: |- - - - @type sumologic - @id sumologic.endpoint.logs.default - sumo_client "k8s_1.0.0" - @include logs.output.conf - - @type memory - @include buffer.output.conf - + logs.source.systemd.conf: |- @@ -201,14 +207,17 @@ data: - @type sumologic - @id sumologic.endpoint.logs.kubelet - sumo_client "k8s_1.0.0" - @include logs.output.conf - - @type memory - @include buffer.output.conf - + @type copy + + @type sumologic + @id sumologic.endpoint.logs.kubelet + sumo_client "k8s_1.0.0" + @include logs.output.conf + + @type memory + @include buffer.output.conf + + @@ -235,14 +244,17 @@ data: - @type sumologic - @id sumologic.endpoint.logs.systemd - sumo_client "k8s_1.0.0" - @include logs.output.conf - - @type memory - @include buffer.output.conf - + @type copy + + @type sumologic + @id sumologic.endpoint.logs.systemd + sumo_client "k8s_1.0.0" + @include logs.output.conf + + @type memory + @include buffer.output.conf + + @@ -283,18 +295,21 @@ data: bind 0.0.0.0 - @type sumologic - @id sumologic.endpoint.events - sumo_client "k8s_1.0.0" - endpoint "#{ENV['SUMO_ENDPOINT_DEFAULT_EVENTS_SOURCE']}" - data_type logs - disable_cookies true - verify_ssl "true" - proxy_uri "" - - @type memory - @include buffer.output.conf - + @type copy + + @type sumologic + @id sumologic.endpoint.events + sumo_client "k8s_1.0.0" + endpoint "#{ENV['SUMO_ENDPOINT_DEFAULT_EVENTS_SOURCE']}" + data_type logs + disable_cookies true + verify_ssl "true" + proxy_uri "" + + @type memory + @include buffer.output.conf + + log_level info @@ -399,111 +414,138 @@ data: - @type sumologic - @id sumologic.endpoint.metrics.apiserver - sumo_client "k8s_1.0.0" - endpoint "#{ENV['SUMO_ENDPOINT_APISERVER_METRICS_SOURCE']}" + @type copy + + @type sumologic + @id sumologic.endpoint.metrics.apiserver + sumo_client "k8s_1.0.0" + endpoint "#{ENV['SUMO_ENDPOINT_APISERVER_METRICS_SOURCE']}" @include metrics.output.conf - - @type memory - @include buffer.output.conf - + + @type memory + @include buffer.output.conf + + - @type sumologic - @id sumologic.endpoint.metrics.container - sumo_client "k8s_1.0.0" - endpoint "#{ENV['SUMO_ENDPOINT_KUBELET_METRICS_SOURCE']}" + @type copy + + @type sumologic + @id sumologic.endpoint.metrics.container + sumo_client "k8s_1.0.0" + endpoint "#{ENV['SUMO_ENDPOINT_KUBELET_METRICS_SOURCE']}" @include metrics.output.conf - - @type memory - @include buffer.output.conf - + + @type memory + @include buffer.output.conf + + - @type sumologic - @id sumologic.endpoint.metrics.control.plane - sumo_client "k8s_1.0.0" - endpoint "#{ENV['SUMO_ENDPOINT_CONTROL_PLANE_METRICS_SOURCE']}" + @type copy + + @type sumologic + @id sumologic.endpoint.metrics.control.plane + sumo_client "k8s_1.0.0" + endpoint "#{ENV['SUMO_ENDPOINT_CONTROL_PLANE_METRICS_SOURCE']}" @include metrics.output.conf - - @type memory - @include buffer.output.conf - + + @type memory + @include buffer.output.conf + + - @type sumologic - @id sumologic.endpoint.metrics.kube.controller.manager - sumo_client "k8s_1.0.0" - endpoint "#{ENV['SUMO_ENDPOINT_CONTROLLER_METRICS_SOURCE']}" + @type copy + + @type sumologic + @id sumologic.endpoint.metrics.kube.controller.manager + sumo_client "k8s_1.0.0" + endpoint "#{ENV['SUMO_ENDPOINT_CONTROLLER_METRICS_SOURCE']}" @include metrics.output.conf - - @type memory - @include buffer.output.conf - + + @type memory + @include buffer.output.conf + + - @type sumologic - @id sumologic.endpoint.metrics.kubelet - sumo_client "k8s_1.0.0" - endpoint "#{ENV['SUMO_ENDPOINT_KUBELET_METRICS_SOURCE']}" + @type copy + + @type sumologic + @id sumologic.endpoint.metrics.kubelet + sumo_client "k8s_1.0.0" + endpoint "#{ENV['SUMO_ENDPOINT_KUBELET_METRICS_SOURCE']}" @include metrics.output.conf - - @type memory - @include buffer.output.conf - + + @type memory + @include buffer.output.conf + + - @type sumologic - @id sumologic.endpoint.metrics.node.exporter - sumo_client "k8s_1.0.0" - endpoint "#{ENV['SUMO_ENDPOINT_NODE_METRICS_SOURCE']}" + @type copy + + @type sumologic + @id sumologic.endpoint.metrics.node.exporter + sumo_client "k8s_1.0.0" + endpoint "#{ENV['SUMO_ENDPOINT_NODE_METRICS_SOURCE']}" @include metrics.output.conf - - @type memory - @include buffer.output.conf - + + @type memory + @include buffer.output.conf + + - @type sumologic - @id sumologic.endpoint.metrics.kube.scheduler - sumo_client "k8s_1.0.0" - endpoint "#{ENV['SUMO_ENDPOINT_SCHEDULER_METRICS_SOURCE']}" + @type copy + + @type sumologic + @id sumologic.endpoint.metrics.kube.scheduler + sumo_client "k8s_1.0.0" + endpoint "#{ENV['SUMO_ENDPOINT_SCHEDULER_METRICS_SOURCE']}" @include metrics.output.conf - - @type memory - @include buffer.output.conf - + + @type memory + @include buffer.output.conf + + - @type sumologic - @id sumologic.endpoint.metrics.kube.state - sumo_client "k8s_1.0.0" - endpoint "#{ENV['SUMO_ENDPOINT_STATE_METRICS_SOURCE']}" + @type copy + + @type sumologic + @id sumologic.endpoint.metrics.kube.state + sumo_client "k8s_1.0.0" + endpoint "#{ENV['SUMO_ENDPOINT_STATE_METRICS_SOURCE']}" @include metrics.output.conf - - @type memory - @include buffer.output.conf - + + @type memory + @include buffer.output.conf + + - @type sumologic - @id sumologic.endpoint.metrics - sumo_client "k8s_1.0.0" - endpoint "#{ENV['SUMO_ENDPOINT_DEFAULT_METRICS_SOURCE']}" + @type copy + + @type sumologic + @id sumologic.endpoint.metrics + sumo_client "k8s_1.0.0" + endpoint "#{ENV['SUMO_ENDPOINT_DEFAULT_METRICS_SOURCE']}" @include metrics.output.conf - - @type memory - @include buffer.output.conf - + + @type memory + @include buffer.output.conf + +