# Grok Lines for Windows Event Logs

**URL:** <https://discuss.elastic.co/t/grok-lines-for-windows-event-logs/359620>\
**Category:** Logstash\
**Created:** [May 16, 2024, 11:46am UTC](https://discuss.elastic.co/t/grok-lines-for-windows-event-logs/359620 "2024-05-16T11:46:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheDude2741](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thedude2741/32/134171_2.png) [@TheDude2741](https://discuss.elastic.co/u/TheDude2741)\
**Post date:** [May 16, 2024, 11:46am UTC](https://discuss.elastic.co/t/grok-lines-for-windows-event-logs/359620/1 "2024-05-16T11:46:32Z")

</div>

Good Evening,

I'm getting syslog data (port 514) sent to Elastic, but it's not parsed.

Does anyone have some Grok statements that manually parse the data I could use?

Everything is stuck in the message field and not really searchable.

Cheers

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [May 20, 2024, 1:54pm UTC](https://discuss.elastic.co/t/grok-lines-for-windows-event-logs/359620/2 "2024-05-20T13:54:35Z")

</div>

Classic syslog (for the most part RFC 3164) is used to send and receive unstrucuctured log messages. The syslog filter will [parse](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-syslog.html#plugins-inputs-syslog-grok_pattern) the minimal structure that it supports (priority, timestamp, facility, source host (maybe)). Everything else is up to you. We cannot help you parse the "unstructured" message field because you have not told us anything about what structure you expect grok to pick out.

RFC 5424 support structured name/value data in the message field. If you are receiving such messages you might be able to use a kv filter to parse them.

---

<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:** [June 17, 2024, 1:55pm UTC](https://discuss.elastic.co/t/grok-lines-for-windows-event-logs/359620/3 "2024-06-17T13:55:32Z")

</div>

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