Skip to content

Commit

Permalink
fix setting namespace for non beat receivers (#42292)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
leehinman and mauri870 authored Jan 22, 2025
1 parent fe4882c commit 27adc68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff]
- Prevent panic if libbeat processors are loaded more than once. {issue}41475[41475] {pull}41857[51857]
- Allow network condition to handle field values that are arrays of IP addresses. {pull}41918[41918]
- Fix a bug where log files are rotated on startup when interval is configured and rotateonstartup is disabled {issue}41894[41894] {pull}41895[41895]
- Fix setting unique registry for non beat receivers {issue}42288[42288] {pull}42292[42292]

*Auditbeat*

Expand Down
2 changes: 2 additions & 0 deletions libbeat/cmd/instance/beat.go
Original file line number Diff line number Diff line change
Expand Up @@ -1142,6 +1142,8 @@ func (b *Beat) configure(settings Settings) error {
debug.SetGCPercent(gcPercent)
}

b.Info.Monitoring.Namespace = monitoring.GetNamespace("dataset")

b.Beat.BeatConfig, err = b.BeatConfig()
if err != nil {
return err
Expand Down

0 comments on commit 27adc68

Please sign in to comment.