condense telegraf.conf

This commit is contained in:
Max U 2018-06-26 13:18:43 -07:00
parent bacee88ac0
commit 41c174dc29
2 changed files with 3 additions and 8 deletions

View File

@ -1,12 +1,8 @@
[[inputs.reader]]
files = ["/var/log/test.log"]
data_format = "json"
name_override = "json_reader"
[[outputs.file]]
files = ["stdout"]

View File

@ -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) {