Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion x-pack/filebeat/input/awss3/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,10 @@ func (c *config) Validate() error {
enabled = append(enabled, configs[i])
}
}

if len(enabled) == 0 {
logp.NewLogger(inputName).Warnf("neither queue_url, bucket_arn, non_aws_bucket_name were provided, input %s will stop", inputName)
logp.NewLogger(inputName).Warnf("Neither queue_url, bucket_arn nor non_aws_bucket_name were provided, input %s will stop."+
"Starting from v8.0 this will prevent Filebeat to start.", inputName)
return nil
} else if len(enabled) > 1 {
return fmt.Errorf("queue_url <%v>, bucket_arn <%v>, non_aws_bucket_name <%v> "+
Expand Down