Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
AndersonQ committed Feb 11, 2025
1 parent af58194 commit 4c32ff3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions filebeat/input/log/input.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ func NewInput(
// The outlet generated here is the underlying outlet, only closed
// once all workers have been shut down.
// For state updates and events, separate sub-outlets will be used.
// TODO: there is neither ID in the context nor on inputConfig. It seems
// there is no ID at all. It's not publishing input metrics anyway. Where
// did that chart come from? https://github.com/elastic/beats/issues/42325#issuecomment-2648776284
out, err := outlet.Connect(cfg)
if err != nil {
return nil, err
Expand Down
2 changes: 1 addition & 1 deletion libbeat/publisher/pipeline/pipeline.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func (p *Pipeline) Connect() (beat.Client, error) {
// ConnectWith create a new Client for publishing events to the pipeline.
// The client behavior on close and ACK handling can be configured by setting
// the appropriate fields in the passed ClientConfig.
// If not set otherwise the defaut publish mode is OutputChooses.
// If not set otherwise the default publish mode is OutputChooses.
//
// It is responsibility of the caller to close the client.
func (p *Pipeline) ConnectWith(cfg beat.ClientConfig) (beat.Client, error) {
Expand Down

0 comments on commit 4c32ff3

Please sign in to comment.