you will only need to define a Syslog Input on Graylog and after that configure your devices to send their syslog message to that created input.
http://docs.graylog.org/en/2.3/pages/sending_data.html#syslog
You might find some of the available content packs and descriptions in the marketplace useful.