Get node hostname/ip on which the container is hosted

Is there a way to get node hostname/ip on which the container is hosted using filebeat dynamically, as a field in the ES index. Right now it gives the container id/ip as hostname/ip ? I am not using logstash.