# Custom Access Log to JSON Format By Grok Pattern in Filebeat

**URL:** <https://discuss.elastic.co/t/custom-access-log-to-json-format-by-grok-pattern-in-filebeat/174584>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [March 29, 2019, 5:26pm UTC](https://discuss.elastic.co/t/custom-access-log-to-json-format-by-grok-pattern-in-filebeat/174584 "2019-03-29T17:26:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mortezaipo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mortezaipo/32/43159_2.png) [@mortezaipo](https://discuss.elastic.co/u/mortezaipo)\
**Post date:** [March 29, 2019, 5:26pm UTC](https://discuss.elastic.co/t/custom-access-log-to-json-format-by-grok-pattern-in-filebeat/174584/1 "2019-03-29T17:26:05Z")

</div>

I have a custom Access log and I want to send it ('output') by Gork pattern. I don't have any access to the Logstash server, and I just can config my Filebeat to send Access log messages in a Grok pattern.

I have a Graylog server and I added a Logstash 'input'. Now I want to send the Acess log to the 'input' with my Grok pattern.

Is there anyway exists that I set my Grok pattern in Filebeat config?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 26, 2019, 5:26pm UTC](https://discuss.elastic.co/t/custom-access-log-to-json-format-by-grok-pattern-in-filebeat/174584/2 "2019-04-26T17:26:05Z")

</div>

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