Discovery the Logstash service

Our applications connect to Logstash and send logs there. The Logstash service may be located on any ip on the net. I'd like not to write ip of Logstash to a config of a client app, but find it somehow on the net. Is it possible? Usually some applications send "discovery" UDP packets periodically to be found. Could Logstash do that?