# Filebeat Nginx Module - Nginx log has a non default format

**URL:** <https://discuss.elastic.co/t/filebeat-nginx-module-nginx-log-has-a-non-default-format/106212>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [November 2, 2017, 3:14pm UTC](https://discuss.elastic.co/t/filebeat-nginx-module-nginx-log-has-a-non-default-format/106212 "2017-11-02T15:14:22Z")\
**Posts on this page:** 4\
**Page:** 1

<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:** [November 2, 2017, 3:14pm UTC](https://discuss.elastic.co/t/filebeat-nginx-module-nginx-log-has-a-non-default-format/106212/1 "2017-11-02T15:14:22Z")

</div>

Hi can I find out what my options are if my nginx logs are not in the default format? I could send the logs from filebeat to logstash and have logstash parse the message there but wasn't sure if that was the right solution. Thank you in advance!

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [November 2, 2017, 8:15pm UTC](https://discuss.elastic.co/t/filebeat-nginx-module-nginx-log-has-a-non-default-format/106212/2 "2017-11-02T20:15:06Z")

</div>

Apart from doing the parsing in Logstash, it is possible to add further Grok patterns in `module/nginx/access/ingest/pipeline.json` or `module/nginx/error/ingest/pipeline.json`. After you added the sufficient patterns, load it using Filebeat.

---

<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:** [November 3, 2017, 12:32am UTC](https://discuss.elastic.co/t/filebeat-nginx-module-nginx-log-has-a-non-default-format/106212/3 "2017-11-03T00:32:58Z")

</div>

Awesome. Thank you so much!

---

<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:** [December 1, 2017, 12:44am UTC](https://discuss.elastic.co/t/filebeat-nginx-module-nginx-log-has-a-non-default-format/106212/4 "2017-12-01T00:44:28Z")

</div>

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