Skip to content

Commit 1605aef

Browse files
committed
Merge remote-tracking branch 'upstream/master' into feature/beats-tester-commit
* upstream/master: (25 commits) [CI] set env variable for the params (elastic#22143) Fix zeek connection pipeline (elastic#22151) Fix Google Cloud Function configuration file issues (elastic#22156) Remove old TODO on kubernetes node update (elastic#22074) [CI] Enable winlogbeat (elastic#22142) [CI] support windows-10 (elastic#19804) Use default config when creating the input (elastic#22126) Change x509 mappings from file. to tls.server. (elastic#22097) Add fleet settings image (elastic#22065) Edit 7.9.3 changelog (elastic#22117) Edit 6.8.13 release notes (elastic#22120) Incorporate librpm fix feedback (elastic#22098) [libbeat] Add more disk queue unit tests and fix a size-check bug (elastic#22107) docs: move kerberos include (elastic#22109) Check context.Canceled and fix s3 input config (elastic#22036) Add max_number_of_messages into aws filebeat fileset vars (elastic#22057) Remove suricata.eve.timestamp alias (elastic#22095) [Ingest Manager] Use symlink path for reexecutions (elastic#21835) chore: use ubuntu 18 as linux agent (elastic#22084) docs: Prepare Changelog for 7.9.3 (elastic#22073) (elastic#22075) ...
2 parents 43b878d + 5501ce8 commit 1605aef

File tree

70 files changed

+1124
-168
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+1124
-168
lines changed

.ci/packaging.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pipeline {
4343
}
4444
stages {
4545
stage('Filter build') {
46-
agent { label 'ubuntu && immutable' }
46+
agent { label 'ubuntu-18 && immutable' }
4747
when {
4848
beforeAgent true
4949
anyOf {
@@ -117,7 +117,7 @@ pipeline {
117117
}
118118
stages {
119119
stage('Package Linux'){
120-
agent { label 'ubuntu && immutable' }
120+
agent { label 'ubuntu-18 && immutable' }
121121
options { skipDefaultCheckout() }
122122
when {
123123
beforeAgent true
@@ -181,7 +181,7 @@ pipeline {
181181
}
182182
}
183183
stage('Run E2E Tests for Packages'){
184-
agent { label 'ubuntu && immutable' }
184+
agent { label 'ubuntu-18 && immutable' }
185185
options { skipDefaultCheckout() }
186186
steps {
187187
runE2ETests()

CHANGELOG.asciidoc

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,31 @@
33
:issue: https://github.com/elastic/beats/issues/
44
:pull: https://github.com/elastic/beats/pull/
55

6+
[[release-notes-7.9.3]]
7+
=== Beats version 7.9.3
8+
https://github.com/elastic/beats/compare/v7.9.2...v7.9.3[View commits]
9+
10+
==== Bugfixes
11+
12+
*Affecting all Beats*
13+
14+
- The `o365audit` input and `o365` module now recover from an authentication problem or other fatal errors, instead of terminating. {pull}21258[21258]
15+
16+
*Auditbeat*
17+
18+
- system/socket: Fix a crash due to concurrent map read and write. {issue}21192[21192] {pull}21690[21690]
19+
20+
*Filebeat*
21+
22+
- Add field limit check for AWS Cloudtrail flattened fields. {pull}21388[21388] {issue}21382[21382]
23+
24+
*Metricbeat*
25+
26+
- Fix `remote_write` flaky test. {pull}21173[21173]
27+
- Fix panic in Kubernetes autodiscovery caused by storing stateless keystores. {issue}21843[21843] {pull}21880[21880]
28+
- Remove redundant dockersock volume mount to avoid problems on Kubernetes deployments that do not use docker as the container runtime. {pull}22009[22009]
29+
30+
631
[[release-notes-7.9.2]]
732
=== Beats version 7.9.2
833
https://github.com/elastic/beats/compare/v7.9.1...v7.9.2[View commits]
@@ -2575,6 +2600,46 @@ https://github.com/elastic/beats/compare/v6.5.0...v7.0.0-alpha1[View commits]
25752600
- Added support to calculate certificates' fingerprints (MD5, SHA-1, SHA-256). {issue}8180[8180]
25762601
- Support new TLS version negotiation introduced in TLS 1.3. {issue}8647[8647].
25772602

2603+
[[release-notes-6.8.13]]
2604+
=== Beats version 6.8.13
2605+
https://github.com/elastic/beats/compare/v6.8.12...v6.8.13[View commits]
2606+
2607+
==== Added
2608+
2609+
*Filebeat*
2610+
2611+
- Add container image in Kubernetes metadata. {pull}13356[13356] {issue}12688[12688]
2612+
2613+
[[release-notes-6.8.12]]
2614+
=== Beats version 6.8.12
2615+
https://github.com/elastic/beats/compare/v6.8.11...v6.8.12[View commits]
2616+
2617+
==== Bugfixes
2618+
2619+
*Filebeat*
2620+
2621+
- Fix Filebeat OOMs on very long lines {issue}19500[19500], {pull}19552[19552]
2622+
2623+
[[release-notes-6.8.11]]
2624+
=== Beats version 6.8.11
2625+
https://github.com/elastic/beats/compare/v6.8.10...v6.8.11[View commits]
2626+
2627+
==== Bugfixes
2628+
2629+
*Metricbeat*
2630+
2631+
- Fix bug incorrect parsing of float numbers as integers in Couchbase module {issue}18949[18949] {pull}19055[19055]
2632+
2633+
[[release-notes-6.8.10]]
2634+
=== Beats version 6.8.10
2635+
https://github.com/elastic/beats/compare/v6.8.9...v6.8.10[View commits]
2636+
2637+
==== Bugfixes
2638+
2639+
*Affecting all Beats*
2640+
2641+
- Fix `add_cloud_metadata` to better support modifying sub-fields with other processors. {pull}13808[13808]
2642+
25782643
[[release-notes-6.8.9]]
25792644
=== Beats version 6.8.9
25802645
https://github.com/elastic/beats/compare/v6.8.8...v6.8.9[View commits]

CHANGELOG.next.asciidoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
8080
- Add support for GMT timezone offsets in `decode_cef`. {pull}20993[20993]
8181
- Fix parsing of Elasticsearch node name by `elasticsearch/slowlog` fileset. {pull}14547[14547]
8282
- API address and shard ID are required settings in the Cloud Foundry input. {pull}21759[21759]
83+
- Remove `suricata.eve.timestamp` alias field. {issue}10535[10535] {pull}22095[22095]
8384

8485
*Heartbeat*
8586

@@ -286,6 +287,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
286287
- Fix checkpoint module when logs contain time field. {pull}20567[20567]
287288
- Add field limit check for AWS Cloudtrail flattened fields. {pull}21388[21388] {issue}21382[21382]
288289
- Fix syslog RFC 5424 parsing in the CheckPoint module. {pull}21854[21854]
290+
- Fix incorrect connection state mapping in zeek connection pipeline. {pull}22151[22151] {issue}22149[22149]
289291

290292
*Heartbeat*
291293

@@ -378,6 +380,8 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
378380
- Fix azure storage event format. {pull}21845[21845]
379381
- Fix panic in kubernetes autodiscover related to keystores {issue}21843[21843] {pull}21880[21880]
380382
- [Kubernetes] Remove redundant dockersock volume mount {pull}22009[22009]
383+
- Revert change to report `process.memory.rss` as `process.memory.wss` on Windows. {pull}22055[22055]
384+
- Add a switch to the driver definition on SQL module to use pretty names {pull}17378[17378]
381385

382386
*Packetbeat*
383387

@@ -397,6 +401,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
397401
- Do not need Google credentials if not required for the operation. {issue}17329[17329] {pull}21072[21072]
398402
- Fix dependency issues of GCP functions. {issue}20830[20830] {pull}21070[21070]
399403
- Fix catchall bucket config errors by adding more validation. {issue}17572[16282] {pull}20887[16287]
404+
- Fix Google Cloud Function configuration issue. {issue}20864[20864] {pull}22156[22156]
400405

401406
==== Added
402407

@@ -820,3 +825,6 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
820825
==== Known Issue
821826

822827
*Journalbeat*
828+
829+
830+

Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ pipeline {
1212
agent { label 'ubuntu-18 && immutable' }
1313
environment {
1414
AWS_ACCOUNT_SECRET = 'secret/observability-team/ci/elastic-observability-aws-account-auth'
15+
AWS_REGION = "${params.awsRegion}"
1516
REPO = 'beats'
1617
BASE_DIR = "src/github.com/elastic/${env.REPO}"
1718
DOCKERELASTIC_SECRET = 'secret/observability-team/ci/docker-registry/prod'
@@ -438,7 +439,7 @@ def withCloudTestEnv(Closure body) {
438439
error("${AWS_ACCOUNT_SECRET} doesn't contain 'secret_key'")
439440
}
440441
maskedVars.addAll([
441-
[var: "AWS_REGION", password: params.awsRegion],
442+
[var: "AWS_REGION", password: "${env.AWS_REGION}"],
442443
[var: "AWS_ACCESS_KEY_ID", password: aws.access_key],
443444
[var: "AWS_SECRET_ACCESS_KEY", password: aws.secret_key],
444445
])

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ GOLINT=golint
1212
GOLINT_REPO=golang.org/x/lint/golint
1313
REVIEWDOG=reviewdog
1414
REVIEWDOG_OPTIONS?=-diff "git diff master"
15-
REVIEWDOG_REPO=github.com/haya14busa/reviewdog/cmd/reviewdog
15+
REVIEWDOG_REPO=github.com/reviewdog/reviewdog/cmd/reviewdog
1616
XPACK_SUFFIX=x-pack/
1717

1818
# PROJECTS_XPACK_PKG is a list of Beats that have independent packaging support

auditbeat/Jenkinsfile.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,14 @@ stages:
6969
- "windows-2012"
7070
branches: true ## for all the branches
7171
tags: true ## for all the tags
72+
windows-10:
73+
mage: "mage build unitTest"
74+
platforms: ## override default labels in this specific stage.
75+
- "windows-10"
76+
when: ## Override the top-level when.
77+
comments:
78+
- "/test auditbeat for windows-10"
79+
labels:
80+
- "windows-10"
81+
branches: true ## for all the branches
82+
tags: true ## for all the tags

auditbeat/docs/configuring-howto.asciidoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ include::./reload-configuration.asciidoc[]
4242

4343
include::{libbeat-dir}/outputconfig.asciidoc[]
4444

45+
ifndef::no_kerberos[]
46+
include::{libbeat-dir}/shared-kerberos-config.asciidoc[]
47+
endif::[]
48+
4549
include::{libbeat-dir}/shared-ssl-config.asciidoc[]
4650

4751
include::{libbeat-dir}/shared-ilm.asciidoc[]

dev-tools/mage/dockerbuilder.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import (
2626
"os/exec"
2727
"path/filepath"
2828
"strings"
29+
"time"
2930

3031
"github.com/magefile/mage/sh"
3132
"github.com/pkg/errors"
@@ -71,7 +72,13 @@ func (b *dockerBuilder) Build() error {
7172

7273
tag, err := b.dockerBuild()
7374
if err != nil {
74-
return errors.Wrap(err, "failed to build docker")
75+
fmt.Println(">> Building docker images again (after 10 seconds)")
76+
// This sleep is to avoid hitting the docker build issues when resources are not available.
77+
time.Sleep(10)
78+
tag, err = b.dockerBuild()
79+
if err != nil {
80+
return errors.Wrap(err, "failed to build docker")
81+
}
7582
}
7683

7784
if err := b.dockerSave(tag); err != nil {

filebeat/Jenkinsfile.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,16 @@ stages:
5757
- "windows-2016"
5858
branches: true ## for all the branches
5959
tags: true ## for all the tags
60+
windows-10:
61+
mage: "mage build unitTest"
62+
platforms: ## override default labels in this specific stage.
63+
- "windows-10"
64+
when: ## Override the top-level when.
65+
comments:
66+
- "/test filebeat for windows-10"
67+
labels:
68+
- "windows-10"
69+
branches: true ## for all the branches
70+
tags: true ## for all the tags
71+
branches: true ## for all the branches
72+
tags: true ## for all the tags

filebeat/docs/configuring-howto.asciidoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ include::./reload-configuration.asciidoc[]
4444

4545
include::{libbeat-dir}/outputconfig.asciidoc[]
4646

47+
ifndef::no_kerberos[]
48+
include::{libbeat-dir}/shared-kerberos-config.asciidoc[]
49+
endif::[]
50+
4751
include::{libbeat-dir}/shared-ssl-config.asciidoc[]
4852

4953
include::../../libbeat/docs/shared-ilm.asciidoc[]

0 commit comments

Comments
 (0)