# Grok for auditbeat log

**URL:** <https://discuss.elastic.co/t/grok-for-auditbeat-log/225213>\
**Category:** Beats\
**Tags:** auditbeat\
**Created:** [March 26, 2020, 2:18pm UTC](https://discuss.elastic.co/t/grok-for-auditbeat-log/225213 "2020-03-26T14:18:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Burga](https://avatars.discourse-cdn.com/v4/letter/b/9d8465/32.png) [@Burga](https://discuss.elastic.co/u/Burga)\
**Post date:** [March 26, 2020, 2:18pm UTC](https://discuss.elastic.co/t/grok-for-auditbeat-log/225213/1 "2020-03-26T14:18:08Z")

</div>

Hi , I'm trying to set grok for auditbeat pipeline but getting grokparsefailure

maybe someone has a sample audit grok configuration ?

thanks in advance.

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [March 26, 2020, 8:12pm UTC](https://discuss.elastic.co/t/grok-for-auditbeat-log/225213/2 "2020-03-26T20:12:17Z")

</div>

You are trying to ingest the log output from Auditbeat? I suggest configuring the Beat to output JSON logs. That should make it easier to parse.

[https://www.elastic.co/guide/en/beats/auditbeat/current/configuration-logging.html#\_logging\_json](https://www.elastic.co/guide/en/beats/auditbeat/current/configuration-logging.html#_logging_json)

`logging.json: true`

---

<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 16, 2020, 8:12pm UTC](https://discuss.elastic.co/t/grok-for-auditbeat-log/225213/3 "2020-04-16T20:12:28Z")

</div>

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