Improve logparser README (#2664)

This commit is contained in:
Daniel Nelson
2017-04-14 13:47:43 -07:00
committed by GitHub
parent a12e082dbe
commit b90a5b48a1
2 changed files with 121 additions and 22 deletions

View File

@@ -168,6 +168,7 @@ func (p *Parser) ParseLine(line string) (telegraf.Metric, error) {
}
if len(values) == 0 {
log.Printf("D! Grok no match found for: %q", line)
return nil, nil
}