Network devices like switch and firewall logs not visible in ELk

network devices like switches and firewall logs are not visible in Elk.
we are using customized UDP ports for each location,