tweak metric output
This commit is contained in:
parent
9901bd4ca8
commit
caad3b73cb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue