Sending network devices logs to Elastic search using syslog server

Hello, Good day Everyone.
I am beginner in Elastic Cloud. would like to send our network devices to Elastic Cloud using Syslog server.
I had install the elastic agent into the server but not capturing any data.
Anyone have any advise on the best approach or share any syslog server config?

Thanks in advance