Fixed bug with Grok filter not testing values correctly.
This commit is contained in:
@@ -69,7 +69,7 @@ namespace TimberWinR.UnitTests
|
||||
{
|
||||
{"LogFilename", @"C:\\Logs1\\test1.log"},
|
||||
{"Index", 7},
|
||||
{"Text", null},
|
||||
{"Text", "crap"},
|
||||
{"type", "Win32-FileLog"},
|
||||
{"ComputerName", "dev.vistaprint.net"}
|
||||
};
|
||||
@@ -82,7 +82,7 @@ namespace TimberWinR.UnitTests
|
||||
""condition"": ""\""[type]\"" == \""Win32-FileLog\"""",
|
||||
""match"":[
|
||||
""Text"",
|
||||
""""
|
||||
""crap""
|
||||
],
|
||||
""remove_field"":[
|
||||
""Index"",
|
||||
|
||||
Reference in New Issue
Block a user