logstash-plugins / logstash-filter-grok

Grok plugin to parse unstructured (log) data into something structured.
https://www.elastic.co/guide/en/logstash/current/plugins-filters-grok.html
Apache License 2.0
122 stars 97 forks source link

Ecs-ify unit test #188

Open robbavey opened 1 year ago

robbavey commented 1 year ago

Unit tests were failing due to the setting of ECS by default in Logstash v8. This commit updates the unit tests to work when ECS is disabled, or set to v1/v8, and to work with the default logstash distribution