tweak metric output

This commit is contained in:
Max U 2018-06-21 13:13:46 -07:00
parent 9901bd4ca8
commit caad3b73cb
1 changed files with 4 additions and 0 deletions

View File

@ -59,6 +59,10 @@ func (r *Reader) Gather(acc telegraf.Accumulator) error {
}
func (r *Reader) compileParser() {
if r.DataFormat == "" {
log.Printf("E! No data_format specified")
return
}
if r.DataFormat == "grok" {
log.Printf("Grok isn't supported yet")
return