Hello,
We seem to have issues getting the Filebeat Azure module to connect to our configured Azure namespace. Filebeat version is 7.5.1.
Filebeat logs:
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.680+0100 INFO input/input.go:114 Starting input of type: log; ID: 12745586555095090699
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.680+0100 INFO input/input.go:114 Starting input of type: kafka; ID: 6185338535981559342
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.681+0100 INFO input/input.go:114 Starting input of type: kafka; ID: 106786572547759836
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.681+0100 INFO kafka/log.go:53 kafka message: Initializing new client
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.681+0100 INFO input/input.go:114 Starting input of type: kafka; ID: 4120458769283177779
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.681+0100 INFO kafka/log.go:53 client/metadata fetching metadata for all topics from broker mynamespace.servicebus.windows.net:443
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.681+0100 INFO kafka/log.go:53 kafka message: Initializing new client
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.681+0100 INFO kafka/log.go:53 client/metadata fetching metadata for all topics from broker <no value>
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.681+0100 INFO kafka/log.go:53 kafka message: Initializing new client
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.682+0100 INFO kafka/log.go:53 client/metadata fetching metadata for all topics from broker <no value>
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.682+0100 INFO kafka/log.go:53 Failed to connect to broker <no value>: dial tcp: address <no value>: missing port in address
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.682+0100 INFO kafka/log.go:53 client/metadata got error from broker -1 while fetching metadata: dial tcp: address <no value>: missing port in address
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.682+0100 INFO kafka/log.go:53 kafka message: client/metadata no available broker to send metadata request to
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.682+0100 INFO kafka/log.go:53 client/brokers resurrecting 1 dead seed brokers
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.682+0100 INFO kafka/log.go:53 client/metadata retrying after 250ms... (3 attempts remaining)
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.682+0100 INFO kafka/log.go:53 Failed to connect to broker <no value>: dial tcp: address <no value>: missing port in address
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.682+0100 INFO kafka/log.go:53 client/metadata got error from broker -1 while fetching metadata: dial tcp: address <no value>: missing port in address
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.682+0100 INFO kafka/log.go:53 kafka message: client/metadata no available broker to send metadata request to
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.682+0100 INFO kafka/log.go:53 client/brokers resurrecting 1 dead seed brokers
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.682+0100 INFO kafka/log.go:53 client/metadata retrying after 250ms... (3 attempts remaining)
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.804+0100 INFO kafka/log.go:53 Failed to read SASL handshake payload : unexpected EOF
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.804+0100 INFO kafka/log.go:53 Error while performing SASL handshake mynamespace.servicebus.windows.net:443
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.804+0100 INFO kafka/log.go:53 Closed connection to broker mynamespace.servicebus.windows.net:443
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.805+0100 INFO kafka/log.go:53 client/metadata got error from broker -1 while fetching metadata: unexpected EOF
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.805+0100 INFO kafka/log.go:53 kafka message: client/metadata no available broker to send metadata request to
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.805+0100 INFO kafka/log.go:53 client/brokers resurrecting 1 dead seed brokers
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.805+0100 INFO kafka/log.go:53 client/metadata retrying after 250ms... (3 attempts remaining)
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.932+0100 INFO kafka/log.go:53 client/metadata fetching metadata for all topics from broker <no value>
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.932+0100 INFO kafka/log.go:53 client/metadata fetching metadata for all topics from broker <no value>
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.932+0100 INFO kafka/log.go:53 Failed to connect to broker <no value>: dial tcp: address <no value>: missing port in address
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.932+0100 INFO kafka/log.go:53 client/metadata got error from broker -1 while fetching metadata: dial tcp: address <no value>: missing port in address
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.932+0100 INFO kafka/log.go:53 Failed to connect to broker <no value>: dial tcp: address <no value>: missing port in address
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.932+0100 INFO kafka/log.go:53 client/metadata got error from broker -1 while fetching metadata: dial tcp: address <no value>: missing port in address
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.932+0100 INFO kafka/log.go:53 kafka message: client/metadata no available broker to send metadata request to
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.932+0100 INFO kafka/log.go:53 client/brokers resurrecting 1 dead seed brokers
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.932+0100 INFO kafka/log.go:53 client/metadata retrying after 250ms... (2 attempts remaining)
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.932+0100 INFO kafka/log.go:53 kafka message: client/metadata no available broker to send metadata request to
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.932+0100 INFO kafka/log.go:53 client/brokers resurrecting 1 dead seed brokers
Jan 16 11:42:31 myserver filebeat[26155]: 2020-01-16T11:42:31.932+0100 INFO kafka/log.go:53 client/metadata retrying after 250ms... (2 attempts remaining)
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.055+0100 INFO kafka/log.go:53 client/metadata fetching metadata for all topics from broker mynamespace.servicebus.windows.net:443
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.135+0100 INFO kafka/log.go:53 Failed to read SASL handshake payload : unexpected EOF
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.135+0100 INFO kafka/log.go:53 Error while performing SASL handshake mynamespace.servicebus.windows.net:443
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.135+0100 INFO kafka/log.go:53 Closed connection to broker mynamespace.servicebus.windows.net:443
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.135+0100 INFO kafka/log.go:53 client/metadata got error from broker -1 while fetching metadata: unexpected EOF
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.135+0100 INFO kafka/log.go:53 kafka message: client/metadata no available broker to send metadata request to
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.135+0100 INFO kafka/log.go:53 client/brokers resurrecting 1 dead seed brokers
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.135+0100 INFO kafka/log.go:53 client/metadata retrying after 250ms... (2 attempts remaining)
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.182+0100 INFO kafka/log.go:53 client/metadata fetching metadata for all topics from broker <no value>
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.182+0100 INFO kafka/log.go:53 client/metadata fetching metadata for all topics from broker <no value>
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.182+0100 INFO kafka/log.go:53 Failed to connect to broker <no value>: dial tcp: address <no value>: missing port in address
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.182+0100 INFO kafka/log.go:53 Failed to connect to broker <no value>: dial tcp: address <no value>: missing port in address
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.182+0100 INFO kafka/log.go:53 client/metadata got error from broker -1 while fetching metadata: dial tcp: address <no value>: missing port in address
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.182+0100 INFO kafka/log.go:53 client/metadata got error from broker -1 while fetching metadata: dial tcp: address <no value>: missing port in address
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.182+0100 INFO kafka/log.go:53 kafka message: client/metadata no available broker to send metadata request to
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.182+0100 INFO kafka/log.go:53 client/brokers resurrecting 1 dead seed brokers
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.182+0100 INFO kafka/log.go:53 client/metadata retrying after 250ms... (1 attempts remaining)
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.182+0100 INFO kafka/log.go:53 kafka message: client/metadata no available broker to send metadata request to
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.182+0100 INFO kafka/log.go:53 client/brokers resurrecting 1 dead seed brokers
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.182+0100 INFO kafka/log.go:53 client/metadata retrying after 250ms... (1 attempts remaining)
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.386+0100 INFO kafka/log.go:53 client/metadata fetching metadata for all topics from broker mynamespace.servicebus.windows.net:443
Jan 16 11:42:32 myserver filebeat[26155]: 2020-01-16T11:42:32.434+0100
We have no idea why it doesn't want to connect to mynamespace.servicebus.windows.net:443
Filebeat configuration:
- module: azure
activitylogs:
enabled: true
var:
namespace: "mynamespace.servicebus.windows.net:443"
eventhub: "Activitylog"
consumer_group: "dgfilebeat"
connection_string: "Endpoint=sb://mynamspace.servicebus.windows.net/;SharedAccessKeyName=ActivityLog;SharedAccessKey=mykey;EntityPath=activitylog"
Grtz
Willem