Hello,
I want to collect data from kubernetes cluster using filebeat.
I have copied configs from here:
And have the next config map:
---
apiVersion: v1
kind: ConfigMap
metadata:
name: filebeat-prospectors
namespace: kube-system
labels:
k8s-app: filebeat
kubernetes.io/cluster-service: "true"
data:
kubernetes.yml: |-
- type: docker
containers.ids:
- '*'
processors:
- add_kubernetes_metadata:
in_cluster: true
But, filebeat return error:
2018/03/05 10:18:48.857312 beat.go:268: INFO filebeat stopped.
2018/03/05 10:18:48.857347 beat.go:625: CRIT Exiting: invalid prospector type: docker. Change type
Exiting: invalid prospector type: docker. Change type
When I set type: log, everything working OK, but the data is not what I needed.
Can someone help me to solve the issue "invalid prospector type: docker"?
Thank you.