tweak metric output
This commit is contained in:
parent
08a11d7bfd
commit
9c4b52256d
|
@ -59,6 +59,10 @@ func (r *Reader) Gather(acc telegraf.Accumulator) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (r *Reader) compileParser() {
|
func (r *Reader) compileParser() {
|
||||||
|
if r.DataFormat == "" {
|
||||||
|
log.Printf("E! No data_format specified")
|
||||||
|
return
|
||||||
|
}
|
||||||
if r.DataFormat == "grok" {
|
if r.DataFormat == "grok" {
|
||||||
log.Printf("Grok isn't supported yet")
|
log.Printf("Grok isn't supported yet")
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue