Add timezone support to logparser timestamps (#2882)

This commit is contained in:
Sebastian Borza
2017-06-05 16:45:11 -05:00
committed by Daniel Nelson
parent a47e6e6efe
commit 035905d65e
6 changed files with 259 additions and 16 deletions

View File

@@ -102,9 +102,7 @@ func TestGrokParseLogFilesAppearLater(t *testing.T) {
assert.Equal(t, acc.NFields(), 0)
os.Symlink(
thisdir+"grok/testdata/test_a.log",
emptydir+"/test_a.log")
_ = os.Symlink(thisdir+"grok/testdata/test_a.log", emptydir+"/test_a.log")
assert.NoError(t, acc.GatherError(logparser.Gather))
acc.Wait(1)