Getting strange errors after enabling kubernetes metadata in filebeat

Ok I see you are deploying in ELK namespace and seems that your service account serviceaccount:elk:filebeat can not perform the needed actions

Please advise from the below:

The service account should be in namespace beats/filebeat-kubernetes.yaml at main · elastic/beats · GitHub .

Please reconfigure accordingly and I think you should be ok