Hey gang,
I am trying the Filebeat Redis module on Kubernetes but can't seem to get past the following errors.
Error running input: error receiving slowlog data: dial tcp 127.0.0.1:6379: connect: connection refused
Error running input: error receiving slowlog data: redigo: unexpected response line (possible server error or unsupported concurrent read by application)
filebeat.yml: |-
filebeat.modules:
- module: system
syslog:
enabled: true
var.paths: ["/var/log/syslog"]
auth:
enabled: true
var.paths: ["/var/log/authlog"]
filebeat.config:
enabled: true
inputs:
path: /usr/share/filebeat/inputs.d/*.yml
reload.enabled: false
modules:
path: /usr/share/filebeat/modules.d/*.yml
reload.enabled: false
logging.metrics.enabled: false
filebeat.autodiscover:
providers:
- type: kubernetes
hints.enabled: true
templates:
- condition.contains:
kubernetes.labels.app: redis
config:
- module: redis
log:
enabled: true
input:
type: docker
containers.ids:
- ${data.kubernetes.container.id}
slowlog:
enabled: true
hosts: ["localhost:6379"]
var.hosts: ["${data.host}:${data.port}"] ```