Get the kubernetees application logs to Elasticsearch which is setup in Infra VM

Hi Team , I have a ELK enterprise version setup in 7 node (RHEL) , 2 Logstash servers(RHEL) , 1 Kibana Windows server in infra within GCP. I have a requirement to monitor application logs within kubernetees . How can I send the logs within kubernetees to ouside where my ELK is setup. Please suggest.

There are examples of deploying filebeat on kubernetes in the beats repo here:

Thanks Anya.How can I send the data collected from filebeats within Kubernets nodes to Elasticsearch which is outside the kubernetes cluster?
My Elasticserach VM's are not under kubernetes cluster.