Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.4.15 #759

Merged
merged 45 commits into from
Apr 29, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
bb6924c
stale issues
rockb1017 Nov 17, 2021
ede6b4f
Remove hec token from splunk logs
foram-splunk Nov 30, 2021
520b78f
updated regex
foram-splunk Nov 30, 2021
7a3098b
Revert "updated regex"
rockb1017 Dec 14, 2021
330993e
Revert "Remove hec token from splunk logs"
rockb1017 Dec 14, 2021
f9137d9
Updated sourcetype in metric and aggr plugin (#684)
hvaghani221 Dec 15, 2021
fd4f782
enabled custom filters in metric-aggr
hvaghani221 Nov 30, 2021
9ca57d4
Nov 30, 2021
e86c881
added customFilterAggr config
hvaghani221 Dec 15, 2021
2130e51
added full_url support for splunk hec
Dec 1, 2021
5931c00
fixed linting error
Dec 1, 2021
09cb046
1.4.11
rockb1017 Dec 16, 2021
584f510
Added component label to splunk-kubernetes-metrics pods
nhalstead Dec 27, 2021
4b460c2
Added the chart label to metrics aggregator pod
nhalstead Dec 27, 2021
631c830
Add possibility to send logs from different containers to different i…
rpudlowski93 Nov 24, 2021
274b886
move customFilters to it's own label to prevent deadlocks
bootswithdefer Jan 7, 2022
076ea12
make CUSTOM the first label in the chain instead of CONCAT
bootswithdefer Jan 10, 2022
7f6f123
allow localtime configuration
jredel Jan 10, 2022
ebf006d
Update values.yaml
Rohlik Jan 18, 2022
0e52d67
1.4.12
rockb1017 Jan 26, 2022
56d6b00
fixed issue sourcetype was not applied to container logs
Jan 31, 2022
edd5f3e
fixed tests
Jan 31, 2022
5431ab9
updated functional tests for metrics
Jan 27, 2022
7628e42
enabled useRestClientSSL in ci_sck
Jan 27, 2022
2b0cccf
added test for multi-container pod
Feb 2, 2022
588aebd
1.4.12 (#714)
rockb1017 Feb 5, 2022
d31039c
helm repo
rockb1017 Feb 7, 2022
ffbaf19
Merge branch 'main' into develop
rockb1017 Feb 7, 2022
25d3f1f
Update link (#721)
Rohlik Feb 8, 2022
ab69398
Deleting leftovers from README (#718)
Rohlik Feb 8, 2022
74a6bd1
Updated default buffer settings and added consume_chunk_on_4xx_errors…
hvaghani221 Feb 8, 2022
adf9ad7
fixed bug in test helper (#722)
hvaghani221 Feb 11, 2022
928a45d
Updated doc for providing ssl certificate (#725)
hvaghani221 Feb 15, 2022
34267ec
reverted customFilters and moved data ingestion to it's own label (#733)
hvaghani221 Mar 1, 2022
ed0a0f3
Prep for release 1.4.13 (#738)
hvaghani221 Mar 16, 2022
2a33455
fixed typo (#741)
hvaghani221 Mar 17, 2022
01bf087
Merge main into develop
Mar 21, 2022
2e59476
1.4.14 (#750)
hvaghani221 Mar 29, 2022
a9881ac
Merge branch 'main' into develop
Mar 29, 2022
23edea6
Add "limit_recently_modified" parameter (#752)
vzabawski Apr 8, 2022
4ecf401
Allow custom labels on daemonset/deployment/pods (#749)
Apr 13, 2022
392e9e3
correcting typo mistake (#756)
kondareddy103 Apr 21, 2022
3a7b3b3
Allow HEC endpoint to be specified (#743)
vears91 Apr 29, 2022
6b31b7f
release 1.4.15 (#758)
hvaghani221 Apr 29, 2022
78e58f3
Merge branch 'main' into develop
Apr 29, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions PLUGIN_VERSIONS.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
FLUENTD_HEC_VERSION=1.2.12
K8S_METRICS_VERISION=1.1.11
K8S_METRICS_AGGR_VERSION=1.1.11
KUBE_OBJECT_VERSION=1.1.11
FLUENTD_HEC_VERSION=1.2.13
K8S_METRICS_VERISION=1.1.12
K8S_METRICS_AGGR_VERSION=1.1.12
KUBE_OBJECT_VERSION=1.1.12
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ helm show values splunk/splunk-connect-for-kubernetes > values.yaml

Helm 2
```bash
helm install --name my-splunk-connect -f my_values.yaml splunk/splunk-connect-for-kubernetes
helm install --name my-splunk-connect -f values.yaml splunk/splunk-connect-for-kubernetes
```
Helm 3
```bash
helm install my-splunk-connect -f my_values.yaml splunk/splunk-connect-for-kubernetes
helm install my-splunk-connect -f values.yaml splunk/splunk-connect-for-kubernetes

```

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.14
1.4.15
65 changes: 52 additions & 13 deletions docs/index.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,48 @@
apiVersion: v1
entries:
splunk-connect-for-kubernetes:
- apiVersion: v1
appVersion: 1.4.15
created: "2022-04-29T15:32:19.048979+05:30"
dependencies:
- condition: splunk-kubernetes-logging.enabled
name: splunk-kubernetes-logging
repository: https://splunk.github.io/splunk-connect-for-kubernetes/
version: 1.4.15
- condition: splunk-kubernetes-objects.enabled
name: splunk-kubernetes-objects
repository: https://splunk.github.io/splunk-connect-for-kubernetes/
version: 1.4.15
- condition: splunk-kubernetes-metrics.enabled
name: splunk-kubernetes-metrics
repository: https://splunk.github.io/splunk-connect-for-kubernetes/
version: 1.4.15
description: Collect logs, objects (metadata), and metrics with Splunk.
digest: afd67f2fb093a553eaec04f1f5eb2ae386caca97064c8eab1e9e64303a5f0807
home: https://github.com/splunk/splunk-connect-for-kubernetes/tree/main/helm-chart
keywords:
- splunk
- monitoring
- logging
- metrics
- metadata
- objects
maintainers:
- email: [email protected]
name: Splunk Inc.
name: splunk-connect-for-kubernetes
sources:
- https://github.com/splunk/splunk-connect-for-kubernetes/tree/main/helm-chart
- https://github.com/splunk/fluent-plugin-splunk-hec
- https://github.com/splunk/fluent-plugin-kubernetes-metrics
- https://github.com/splunk/fluent-plugin-k8s-metrics-agg
- https://github.com/splunk/fluent-plugin-kubernetes-objects
urls:
- splunk-connect-for-kubernetes-1.4.15.tgz
version: 1.4.15
- apiVersion: v1
appVersion: 1.4.14
created: "2022-03-29T16:41:03.314913+05:30"
created: "2022-04-29T15:32:19.042004+05:30"
dependencies:
- condition: splunk-kubernetes-logging.enabled
name: splunk-kubernetes-logging
Expand Down Expand Up @@ -42,7 +81,7 @@ entries:
version: 1.4.14
- apiVersion: v1
appVersion: 1.4.13
created: "2022-03-29T16:41:03.304015+05:30"
created: "2022-04-29T15:32:19.036166+05:30"
dependencies:
- condition: splunk-kubernetes-logging.enabled
name: splunk-kubernetes-logging
Expand Down Expand Up @@ -81,7 +120,7 @@ entries:
version: 1.4.13
- apiVersion: v1
appVersion: 1.4.12
created: "2022-03-29T16:41:03.292436+05:30"
created: "2022-04-29T15:32:19.028495+05:30"
dependencies:
- condition: splunk-kubernetes-logging.enabled
name: splunk-kubernetes-logging
Expand Down Expand Up @@ -120,7 +159,7 @@ entries:
version: 1.4.12
- apiVersion: v1
appVersion: 1.4.11
created: "2022-03-29T16:41:03.28241+05:30"
created: "2022-04-29T15:32:19.021086+05:30"
dependencies:
- condition: splunk-kubernetes-logging.enabled
name: splunk-kubernetes-logging
Expand Down Expand Up @@ -159,7 +198,7 @@ entries:
version: 1.4.11
- apiVersion: v1
appVersion: 1.4.10
created: "2022-03-29T16:41:03.269686+05:30"
created: "2022-04-29T15:32:19.011303+05:30"
dependencies:
- condition: splunk-kubernetes-logging.enabled
name: splunk-kubernetes-logging
Expand Down Expand Up @@ -198,7 +237,7 @@ entries:
version: 1.4.10
- apiVersion: v1
appVersion: 1.4.9
created: "2022-03-29T16:41:03.360415+05:30"
created: "2022-04-29T15:32:19.091094+05:30"
dependencies:
- condition: splunk-kubernetes-logging.enabled
name: splunk-kubernetes-logging
Expand Down Expand Up @@ -237,7 +276,7 @@ entries:
version: 1.4.9
- apiVersion: v1
appVersion: 1.4.8
created: "2022-03-29T16:41:03.354519+05:30"
created: "2022-04-29T15:32:19.085369+05:30"
dependencies:
- condition: splunk-kubernetes-logging.enabled
name: splunk-kubernetes-logging
Expand Down Expand Up @@ -276,7 +315,7 @@ entries:
version: 1.4.8
- apiVersion: v1
appVersion: 1.4.7
created: "2022-03-29T16:41:03.348956+05:30"
created: "2022-04-29T15:32:19.080154+05:30"
dependencies:
- condition: splunk-kubernetes-logging.enabled
name: splunk-kubernetes-logging
Expand Down Expand Up @@ -315,7 +354,7 @@ entries:
version: 1.4.7
- apiVersion: v1
appVersion: 1.4.6
created: "2022-03-29T16:41:03.343848+05:30"
created: "2022-04-29T15:32:19.074159+05:30"
dependencies:
- condition: splunk-kubernetes-logging.enabled
name: splunk-kubernetes-logging
Expand Down Expand Up @@ -354,7 +393,7 @@ entries:
version: 1.4.6
- apiVersion: v1
appVersion: 1.4.5
created: "2022-03-29T16:41:03.337933+05:30"
created: "2022-04-29T15:32:19.067809+05:30"
dependencies:
- condition: splunk-kubernetes-logging.enabled
name: splunk-kubernetes-logging
Expand Down Expand Up @@ -393,7 +432,7 @@ entries:
version: 1.4.5
- apiVersion: v1
appVersion: 1.4.4
created: "2022-03-29T16:41:03.331679+05:30"
created: "2022-04-29T15:32:19.061272+05:30"
dependencies:
- condition: splunk-kubernetes-logging.enabled
name: splunk-kubernetes-logging
Expand Down Expand Up @@ -432,7 +471,7 @@ entries:
version: 1.4.4
- apiVersion: v1
appVersion: 1.4.3
created: "2022-03-29T16:41:03.324374+05:30"
created: "2022-04-29T15:32:19.054386+05:30"
dependencies:
- condition: splunk-kubernetes-logging.enabled
name: splunk-kubernetes-logging
Expand Down Expand Up @@ -469,4 +508,4 @@ entries:
urls:
- splunk-connect-for-kubernetes-1.4.3.tgz
version: 1.4.3
generated: "2022-03-29T16:41:03.258751+05:30"
generated: "2022-04-29T15:32:19.00179+05:30"
Binary file added docs/splunk-connect-for-kubernetes-1.4.15.tgz
Binary file not shown.
4 changes: 2 additions & 2 deletions helm-chart/splunk-connect-for-kubernetes/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
name: splunk-connect-for-kubernetes
version: 1.4.14
appVersion: 1.4.14
version: 1.4.15
appVersion: 1.4.15
description: Collect logs, objects (metadata), and metrics with Splunk.
home: https://github.com/splunk/splunk-connect-for-kubernetes/tree/main/helm-chart
sources:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
version: 1.4.14
appVersion: 1.4.14
version: 1.4.15
appVersion: 1.4.15
name: splunk-kubernetes-logging
description: Collect logs with Splunk.
home: https://github.com/splunk/splunk-connect-for-kubernetes/tree/main/helm-chart/charts/splunk-kubernetes-logging
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ data:
path {{ $logDef.from.file.path }}
pos_file {{ $.Values.containers.path }}/splunk-fluentd-{{ $name }}.pos
read_from_head true
{{- if $logDef.limitRecentlyModified }}
limit_recently_modified {{ $logDef.limitRecentlyModified }}
{{- end }}
path_key source
{{- if $logDef.multiline }}
multiline_flush_interval {{ $logDef.multiline.flushInterval | default "5s" }}
Expand Down Expand Up @@ -178,7 +181,7 @@ data:
{{- if .Values.global.monitoring_agent_enabled }}
tag monitor_agent
{{- end }}
</source>
</source>

output.conf: |-
#Events are emitted to the CONCAT label from the container, file and journald sources for multiline processing.
Expand Down Expand Up @@ -370,6 +373,9 @@ data:
{{- with or .Values.splunk.hec.host .Values.global.splunk.hec.host }}
hec_host {{ . | quote }}
{{- end }}
{{- with or .Values.splunk.hec.endpoint .Values.global.splunk.hec.endpoint }}
hec_endpoint {{ . | quote }}
{{- end }}
{{- with or .Values.splunk.hec.fullUrl .Values.global.splunk.hec.fullUrl}}
full_url {{ . | quote }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
engine: fluentd
{{- if .Values.extraLabels }}
{{ toYaml .Values.extraLabels | indent 4 }}
{{- end }}
spec:
updateStrategy:
type: RollingUpdate
Expand All @@ -20,6 +23,9 @@ spec:
labels:
app: {{ template "splunk-kubernetes-logging.name" . }}
release: {{ .Release.Name }}
{{- if .Values.extraLabels }}
{{ toYaml .Values.extraLabels | indent 8 }}
{{- end }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configMap.yaml") . | sha256sum }}
{{- if .Values.global.prometheus_enabled }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ charEncodingUtf8: false
# firstline: "<regexp_to_detect_firstline_of_multiline>"
# flushInterval 5
# sourcetype: "<sourcetype_of_logs>"
# limitRecentlyModified: <time_duration>
# ```
#
# = <source> =
Expand Down Expand Up @@ -223,6 +224,17 @@ charEncodingUtf8: false
# sourcetype of each kind of log can be defined using the `sourcetype` field.
# If `sourcetype` is not defined, `name` will be used.
#
# = limitRecentlyModified =
# Limits the watching files that the modification time is within the specified time period when using * in path.
# - <INTEGER>s: seconds
# - <INTEGER>m: minutes
# - <INTEGER>h: hours
# - <INTEGER>d: days
# - Otherwise, the field is parsed as float, and that float is the number of seconds
# Example, specifying `limitRecentlyModified: 24h` will parse only files with modification time within 24 hours.
# Files modified earlier will be skipped.
# If `limitRecentlyModified` is not defined, this option will be disabled.
#
# ---
# Here we have some default timestampExtraction and multiline settings for kubernetes components.
# So, usually you just need to redefine the source of those components if necessary.
Expand Down Expand Up @@ -313,7 +325,7 @@ image:
# The name of the image to pull
name: splunk/fluentd-hec
# The tag of the image to pull
tag: 1.2.12
tag: 1.2.13
# The policy that specifies when the user wants the images to be pulled
pullPolicy: IfNotPresent
# Indicates if the image should be pulled using authentication from a secret
Expand All @@ -327,6 +339,9 @@ environmentVar:
# Pod annotations for daemonset
podAnnotations:

# Extra labels for daemonset, pods
extraLabels:

# Controls the resources used by the fluentd daemonset
resources:
# limits:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
version: 1.4.14
appVersion: 1.4.14
version: 1.4.15
appVersion: 1.4.15
name: splunk-kubernetes-metrics
description: Collect metrics with Splunk.
home: https://github.com/splunk/splunk-connect-for-kubernetes/tree/main/helm-chart/charts/splunk-kubernetes-metrics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ data:
{{- with or .Values.splunk.hec.port .Values.global.splunk.hec.port }}
hec_port {{ . }}
{{- end }}
{{- with or .Values.splunk.hec.endpoint .Values.global.splunk.hec.endpoint }}
hec_endpoint {{ . | quote }}
{{- end }}
{{- with or .Values.splunk.hec.fullUrl .Values.global.splunk.hec.fullUrl }}
full_url {{ . | quote }}
{{- end }}
Expand Down Expand Up @@ -172,6 +175,9 @@ data:
{{- with or .Values.splunk.hec.port .Values.global.splunk.hec.port }}
hec_port {{ . }}
{{- end }}
{{- with or .Values.splunk.hec.endpoint .Values.global.splunk.hec.endpoint }}
hec_endpoint {{ . | quote }}
{{- end }}
{{- with or .Values.splunk.hec.fullUrl .Values.global.splunk.hec.fullUrl }}
full_url {{ . | quote }}
{{- end }}
Expand Down Expand Up @@ -214,4 +220,4 @@ data:
@type json
</format>
</match>
{{- end }}
{{- end }}
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ data:
{{- with or .Values.splunk.hec.port .Values.global.splunk.hec.port }}
hec_port {{ . }}
{{- end }}
{{- with or .Values.splunk.hec.endpoint .Values.global.splunk.hec.endpoint }}
hec_endpoint {{ . | quote }}
{{- end }}
{{- with or .Values.splunk.hec.fullUrl .Values.global.splunk.hec.fullUrl }}
full_url {{ . | quote }}
{{- end }}
Expand Down Expand Up @@ -164,6 +167,9 @@ data:
{{- with or .Values.splunk.hec.port .Values.global.splunk.hec.port }}
hec_port {{ . }}
{{- end }}
{{- with or .Values.splunk.hec.endpoint .Values.global.splunk.hec.endpoint }}
hec_endpoint {{ . | quote }}
{{- end }}
{{- with or .Values.splunk.hec.fullUrl .Values.global.splunk.hec.fullUrl }}
full_url {{ . | quote }}
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ metadata:
heritage: {{ .Release.Service }}
component: collector
engine: fluentd
{{- if .Values.extraLabels }}
{{ toYaml .Values.extraLabels | indent 4 }}
{{- end }}
spec:
updateStrategy:
type: RollingUpdate
Expand All @@ -27,6 +30,9 @@ spec:
heritage: {{ .Release.Service }}
component: collector
engine: fluentd
{{- if .Values.extraLabels }}
{{ toYaml .Values.extraLabels | indent 8 }}
{{- end }}
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
checksum/config: {{ include (print $.Template.BasePath "/configMap.yaml") . | sha256sum }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ metadata:
release: {{ .Release.Name }}
heritage: {{ .Release.Service }}
component: aggregator
{{- if .Values.extraLabelsAgg }}
{{ toYaml .Values.extraLabelsAgg | indent 4 }}
{{- end }}
spec:
strategy:
type: RollingUpdate
Expand All @@ -24,6 +27,9 @@ spec:
chart: {{ template "splunk-kubernetes-metrics.chart" . }}
release: {{ .Release.Name }}
component: aggregator
{{- if .Values.extraLabelsAgg }}
{{ toYaml .Values.extraLabelsAgg | indent 8 }}
{{- end }}
annotations:
scheduler.alpha.kubernetes.io/critical-pod: ''
checksum/config: {{ include (print $.Template.BasePath "/configMapMetricsAggregator.yaml") . | sha256sum }}
Expand Down
Loading