Skip to content

Commit

Permalink
Merge branch '8.17' into mergify/bp/8.17/pr-6329
Browse files Browse the repository at this point in the history
  • Loading branch information
andrzej-stencel authored Dec 19, 2024
2 parents 96cc37b + 0f87c8c commit 5b4d7a5
Show file tree
Hide file tree
Showing 47 changed files with 3,156 additions and 1,118 deletions.
730 changes: 471 additions & 259 deletions NOTICE.txt

Large diffs are not rendered by default.

32 changes: 32 additions & 0 deletions changelog/fragments/1734525166-update-otel-v0.116.0.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Kind can be one of:
# - breaking-change: a change to previously-documented behavior
# - deprecation: functionality that is being removed in a later release
# - bug-fix: fixes a problem in a previous version
# - enhancement: extends functionality but does not break or fix existing behavior
# - feature: new functionality
# - known-issue: problems that we are aware of in a given version
# - security: impacts on the security of a product or a user’s deployment.
# - upgrade: important information for someone upgrading from a prior version
# - other: does not fit into any of the other categories
kind: enhancement

# Change summary; a 80ish characters long description of the change.
summary: Update OTel components to v0.116.0

# Long description; in case the summary is not enough to describe the change
# this field accommodate a description without length limits.
# NOTE: This field will be rendered only for breaking-change and known-issue kinds at the moment.
#description:

# Affected component; usually one of "elastic-agent", "fleet-server", "filebeat", "metricbeat", "auditbeat", "all", etc.
component: elastic-agent

# PR URL; optional; the PR number that added the changeset.
# If not present is automatically filled by the tooling finding the PR where this changelog fragment has been added.
# NOTE: the tooling supports backports, so it's able to fill the original PR number instead of the backport PR number.
# Please provide it if you are adding a fragment for a different PR.
#pr: https://github.com/owner/repo/1234

# Issue URL; optional; the GitHub issue related to this changeset (either closes or is part of).
# If not present is automatically filled by the tooling with the issue linked to the PR number.
#issue: https://github.com/owner/repo/1234
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ inputs:
type: logs
exclude_files:
- .gz$
file_identity:
fingerprint: null
parsers:
- container:
format: auto
Expand All @@ -18,6 +20,8 @@ inputs:
- /var/log/containers/*${kubernetes.hints.container_id}.log
prospector:
scanner:
fingerprint:
enabled: true
symlinks: true
tags:
- forwarded
Expand All @@ -28,6 +32,8 @@ inputs:
type: logs
exclude_files:
- .gz$
file_identity:
fingerprint: null
multiline:
match: after
negate: true
Expand All @@ -40,6 +46,8 @@ inputs:
- /var/log/containers/*${kubernetes.hints.container_id}.log
prospector:
scanner:
fingerprint:
enabled: true
symlinks: true
tags:
- forwarded
Expand All @@ -62,7 +70,6 @@ inputs:
path: /api/jolokia/?ignoreErrors=true&canonicalNaming=false
period: ${kubernetes.hints.activemq.broker.period|kubernetes.hints.activemq.period|'10s'}
tags:
- forwarded
- activemq-broker
username: ${kubernetes.hints.activemq.broker.username|kubernetes.hints.activemq.username|'admin'}
- condition: ${kubernetes.hints.activemq.queue.enabled} == true or ${kubernetes.hints.activemq.enabled} == true
Expand All @@ -77,7 +84,6 @@ inputs:
path: /api/jolokia/?ignoreErrors=true&canonicalNaming=false
period: ${kubernetes.hints.activemq.queue.period|kubernetes.hints.activemq.period|'10s'}
tags:
- forwarded
- activemq-queue
username: ${kubernetes.hints.activemq.queue.username|kubernetes.hints.activemq.username|'admin'}
- condition: ${kubernetes.hints.activemq.topic.enabled} == true or ${kubernetes.hints.activemq.enabled} == true
Expand All @@ -92,7 +98,6 @@ inputs:
path: /api/jolokia/?ignoreErrors=true&canonicalNaming=false
period: ${kubernetes.hints.activemq.topic.period|kubernetes.hints.activemq.period|'10s'}
tags:
- forwarded
- activemq-topic
username: ${kubernetes.hints.activemq.topic.username|kubernetes.hints.activemq.username|'admin'}
data_stream.namespace: default
92 changes: 50 additions & 42 deletions deploy/kubernetes/elastic-agent-standalone/templates.d/apache.yml
Original file line number Diff line number Diff line change
@@ -1,46 +1,4 @@
inputs:
- name: filestream-apache
id: filestream-apache-${kubernetes.hints.container_id}
type: filestream
use_output: default
streams:
- condition: ${kubernetes.hints.apache.access.enabled} == true or ${kubernetes.hints.apache.enabled} == true
data_stream:
dataset: apache.access
type: logs
exclude_files:
- .gz$
parsers:
- container:
format: auto
stream: ${kubernetes.hints.apache.access.stream|'all'}
paths:
- /var/log/containers/*${kubernetes.hints.container_id}.log
prospector:
scanner:
symlinks: true
tags:
- apache-access
- condition: ${kubernetes.hints.apache.error.enabled} == true or ${kubernetes.hints.apache.enabled} == true
data_stream:
dataset: apache.error
type: logs
exclude_files:
- .gz$
parsers:
- container:
format: auto
stream: ${kubernetes.hints.apache.error.stream|'all'}
paths:
- /var/log/containers/*${kubernetes.hints.container_id}.log
processors:
- add_locale: null
prospector:
scanner:
symlinks: true
tags:
- apache-error
data_stream.namespace: default
- name: httpjson-apache
id: httpjson-apache-${kubernetes.hints.container_id}
type: httpjson
Expand Down Expand Up @@ -139,3 +97,53 @@ inputs:
period: ${kubernetes.hints.apache.status.period|kubernetes.hints.apache.period|'30s'}
server_status_path: /server-status
data_stream.namespace: default
- name: filestream-apache
id: filestream-apache-${kubernetes.hints.container_id}
type: filestream
use_output: default
streams:
- condition: ${kubernetes.hints.apache.access.enabled} == true or ${kubernetes.hints.apache.enabled} == true
data_stream:
dataset: apache.access
type: logs
exclude_files:
- .gz$
file_identity:
fingerprint: null
parsers:
- container:
format: auto
stream: ${kubernetes.hints.apache.access.stream|'all'}
paths:
- /var/log/containers/*${kubernetes.hints.container_id}.log
prospector:
scanner:
fingerprint:
enabled: true
symlinks: true
tags:
- apache-access
- condition: ${kubernetes.hints.apache.error.enabled} == true or ${kubernetes.hints.apache.enabled} == true
data_stream:
dataset: apache.error
type: logs
exclude_files:
- .gz$
file_identity:
fingerprint: null
parsers:
- container:
format: auto
stream: ${kubernetes.hints.apache.error.stream|'all'}
paths:
- /var/log/containers/*${kubernetes.hints.container_id}.log
processors:
- add_locale: null
prospector:
scanner:
fingerprint:
enabled: true
symlinks: true
tags:
- apache-error
data_stream.namespace: default
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ inputs:
type: logs
exclude_files:
- .gz$
file_identity:
fingerprint: null
multiline:
match: after
negate: true
Expand All @@ -22,6 +24,8 @@ inputs:
- /var/log/containers/*${kubernetes.hints.container_id}.log
prospector:
scanner:
fingerprint:
enabled: true
symlinks: true
tags:
- forwarded
Expand Down
46 changes: 25 additions & 21 deletions deploy/kubernetes/elastic-agent-standalone/templates.d/cef.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,4 @@
inputs:
- name: udp-cef
id: udp-cef-${kubernetes.hints.container_id}
type: udp
use_output: default
streams:
- condition: ${kubernetes.hints.cef.log.enabled} == true or ${kubernetes.hints.cef.enabled} == true
data_stream:
dataset: cef.log
type: logs
host: localhost:9003
processors:
- rename:
fields:
- from: message
to: event.original
- decode_cef:
field: event.original
tags:
- cef
- forwarded
data_stream.namespace: default
- name: tcp-cef
id: tcp-cef-${kubernetes.hints.container_id}
type: tcp
Expand Down Expand Up @@ -52,6 +31,8 @@ inputs:
type: logs
exclude_files:
- .gz$
file_identity:
fingerprint: null
parsers:
- container:
format: auto
Expand All @@ -67,8 +48,31 @@ inputs:
field: event.original
prospector:
scanner:
fingerprint:
enabled: true
symlinks: true
tags:
- cef
- forwarded
data_stream.namespace: default
- name: udp-cef
id: udp-cef-${kubernetes.hints.container_id}
type: udp
use_output: default
streams:
- condition: ${kubernetes.hints.cef.log.enabled} == true or ${kubernetes.hints.cef.enabled} == true
data_stream:
dataset: cef.log
type: logs
host: localhost:9003
processors:
- rename:
fields:
- from: message
to: event.original
- decode_cef:
field: event.original
tags:
- cef
- forwarded
data_stream.namespace: default
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ inputs:
type: logs
exclude_files:
- .gz$
file_identity:
fingerprint: null
parsers:
- container:
format: auto
Expand All @@ -30,6 +32,8 @@ inputs:
target: _temp_
prospector:
scanner:
fingerprint:
enabled: true
symlinks: true
tags:
- forwarded
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ inputs:
type: logs
exclude_files:
- .gz$
file_identity:
fingerprint: null
multiline.match: after
multiline.max_lines: 5000
multiline.negate: true
Expand All @@ -23,6 +25,8 @@ inputs:
- /var/log/containers/*${kubernetes.hints.container_id}.log
prospector:
scanner:
fingerprint:
enabled: true
symlinks: true
tags:
- forwarded
Expand All @@ -33,6 +37,8 @@ inputs:
type: logs
exclude_files:
- .gz$
file_identity:
fingerprint: null
parsers:
- container:
format: auto
Expand All @@ -43,6 +49,8 @@ inputs:
- add_locale: null
prospector:
scanner:
fingerprint:
enabled: true
symlinks: true
tags:
- forwarded
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ inputs:
type: logs
exclude_files:
- .gz$
file_identity:
fingerprint: null
parsers:
- container:
format: auto
Expand All @@ -54,6 +56,8 @@ inputs:
- add_locale: null
prospector:
scanner:
fingerprint:
enabled: true
symlinks: true
tags:
- forwarded
Expand Down
Loading

0 comments on commit 5b4d7a5

Please sign in to comment.