in grok.go [182:194]
func (grok *Grok) ParseTyped(text []byte) (map[string]interface{}, error) {
captures, err := grok.captureTyped(text)
if err != nil {
return nil, err
}
captureBytes := make(map[string]interface{})
for k, v := range captures {
captureBytes[k] = v
}
return captureBytes, nil
}