grok parser func unexported

This commit is contained in:
Max U 2018-06-28 14:45:14 -07:00
parent 892c95aa6e
commit 04f09d65bf
1 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ func NewParser(config *Config) (Parser, error) {
config.Separator, config.Separator,
config.Templates) config.Templates)
case "grok": case "grok":
parser, err = NewGrokParser( parser, err = newGrokParser(
config.MetricName, config.MetricName,
config.Patterns, config.Patterns,
config.NamedPatterns, config.NamedPatterns,
@ -142,7 +142,7 @@ func NewParser(config *Config) (Parser, error) {
return parser, err return parser, err
} }
func NewGrokParser(metricName string, func newGrokParser(metricName string,
patterns []string, patterns []string,
nPatterns []string, nPatterns []string,
cPatterns string, cPatterns string,