condense telegraf.conf
This commit is contained in:
parent
bacee88ac0
commit
41c174dc29
|
@ -1,12 +1,8 @@
|
|||
|
||||
[[inputs.reader]]
|
||||
|
||||
files = ["/var/log/test.log"]
|
||||
|
||||
data_format = "json"
|
||||
|
||||
name_override = "json_reader"
|
||||
|
||||
|
||||
[[outputs.file]]
|
||||
files = ["stdout"]
|
|
@ -17,7 +17,6 @@ func TestRefreshFilePaths(t *testing.T) {
|
|||
}
|
||||
|
||||
r.refreshFilePaths()
|
||||
//log.Printf("filenames: %v", filenames)
|
||||
assert.Equal(t, len(r.Filenames), 2)
|
||||
}
|
||||
func TestJSONParserCompile(t *testing.T) {
|
||||
|
|
Loading…
Reference in New Issue