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

Add metrics for grok parse failures #104

Closed runningman84 closed 4 years ago

runningman84 commented 7 years ago

These are the current metrics:

{
        "id" : "syslog_grok_1",
        "events" : {
          "duration_in_millis" : 101,
          "in" : 103,
          "out" : 103
        },
        "matches" : 103,
        "patterns_per_field" : {
          "message" : 1
        }

Please add the number of grok parse failures?

https://github.com/elastic/logstash/issues/6405#issuecomment-267383156

jsvd commented 4 years ago

added in https://github.com/logstash-plugins/logstash-filter-grok/pull/85 (see here)