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