Skip to content

Commit 27adc68

Browse files
leehinmanmauri870
andauthored
fix setting namespace for non beat receivers (#42292)
* fix setting registry for non beat receivers * Update CHANGELOG.next.asciidoc Co-authored-by: Mauri de Souza Meneguzzo <mauri870@gmail.com> --------- Co-authored-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
1 parent fe4882c commit 27adc68

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

CHANGELOG.next.asciidoc

+1
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff]
125125
- Prevent panic if libbeat processors are loaded more than once. {issue}41475[41475] {pull}41857[51857]
126126
- Allow network condition to handle field values that are arrays of IP addresses. {pull}41918[41918]
127127
- Fix a bug where log files are rotated on startup when interval is configured and rotateonstartup is disabled {issue}41894[41894] {pull}41895[41895]
128+
- Fix setting unique registry for non beat receivers {issue}42288[42288] {pull}42292[42292]
128129

129130
*Auditbeat*
130131

libbeat/cmd/instance/beat.go

+2
Original file line numberDiff line numberDiff line change
@@ -1142,6 +1142,8 @@ func (b *Beat) configure(settings Settings) error {
11421142
debug.SetGCPercent(gcPercent)
11431143
}
11441144

1145+
b.Info.Monitoring.Namespace = monitoring.GetNamespace("dataset")
1146+
11451147
b.Beat.BeatConfig, err = b.BeatConfig()
11461148
if err != nil {
11471149
return err

0 commit comments

Comments
 (0)