Can filebeat specify which ip to send data

My host has two IPs( i.e two network cards), can I configure filebeat to send data to the output(such as kafka) with one of the IP?