# Using Laravel 5.5 to send log to Graylog

**URL:** <https://community.graylog.org/t/using-laravel-5-5-to-send-log-to-graylog/3488>\
**Category:** Graylog Central (peer support)\
**Created:** [December 13, 2017, 1:40pm UTC](https://community.graylog.org/t/using-laravel-5-5-to-send-log-to-graylog/3488 "2017-12-13T13:40:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![leandroruel](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/leandroruel/32/1406_2.png) [@leandroruel](https://community.graylog.org/u/leandroruel)\
**Post date:** [December 13, 2017, 1:40pm UTC](https://community.graylog.org/t/using-laravel-5-5-to-send-log-to-graylog/3488/1 "2017-12-13T13:40:04Z")

</div>

hello!  
i’m very new to Graylog, this is my first time here, and my first post too. i hope someone here can help with this question, i tried search on the forum for something related to my question too, but no result was found, i need send the logs from my application build in laravel to Graylog, i never tried it before, but a friend mine recommended me Graylog, so i’m giving it a try.

someone here already do it before? if yes, can give me any ideia of how i can do it?

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [December 13, 2017, 3:15pm UTC](https://community.graylog.org/t/using-laravel-5-5-to-send-log-to-graylog/3488/2 "2017-12-13T15:15:55Z")

</div>

Check the Graylog Marketplace for available PHP libraries which support GELF:

> **[Graylog](https://marketplace.graylog.org/addons?tag=PHP)**
>
> Graylog

---

<div class="post-metadata">

**Author:** ![leandroruel](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/leandroruel/32/1406_2.png) [@leandroruel](https://community.graylog.org/u/leandroruel)\
**Post date:** [December 13, 2017, 3:28pm UTC](https://community.graylog.org/t/using-laravel-5-5-to-send-log-to-graylog/3488/3 "2017-12-13T15:28:20Z")

</div>

where i can see the udp port on graylog? i need it to use at package

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [December 13, 2017, 3:58pm UTC](https://community.graylog.org/t/using-laravel-5-5-to-send-log-to-graylog/3488/4 "2017-12-13T15:58:00Z")

</div>

if you refer to the port where you like to send the logfiles, that can be customized on the Graylog installation.

I think you refer to the option to send GELF messages from your Application to Graylog. You should create a GELF UDP Input in Graylog and take the configured Port in your Application.

---

<div class="post-metadata">

**Author:** ![leandroruel](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/leandroruel/32/1406_2.png) [@leandroruel](https://community.graylog.org/u/leandroruel)\
**Post date:** [December 14, 2017, 12:18pm UTC](https://community.graylog.org/t/using-laravel-5-5-to-send-log-to-graylog/3488/5 "2017-12-14T12:18:11Z")

</div>

found this package, looks good, i’m testing it [https://github.com/hedii/laravel-gelf-logger](https://github.com/hedii/laravel-gelf-logger)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [December 28, 2017, 12:18pm UTC](https://community.graylog.org/t/using-laravel-5-5-to-send-log-to-graylog/3488/6 "2017-12-28T12:18:21Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
