tweak metric output

This commit is contained in:
Max U 2018-06-21 13:13:46 -07:00
parent 08a11d7bfd
commit 9c4b52256d
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