File Forwarder 다중 행에 대한 디버그 정보
File Forwarder 다중 행 플러그인에는 File Forwarder의 동작에 대한 자세한 정보를 제공하는 새 디버그 행이 포함되어 있습니다.
이러한 행을 사용으로 설정하려면 TRACE 또는 DEBUG 레벨을 허용하도록 로그 구성 설정을 변경하십시오. 로그 구성에 대한 자세한 정보는 로그 구성을 참조하십시오.
이제 소스 설정 중에 설정된 필터를 표시하는 debug문이 있습니다.
02-15 11:50:12.731 DEBUG Device.Source.Local.TestFF : Start filter: ^(\d\d\d\d[-]\d\d[-]\d\d\s\d\d[:]\d\d[:]\d\d[.]\d\d\d\d).*
02-15 11:50:12.732 DEBUG Device.Source.Local.TestFF : End filter: .*(TheSessionID\s=\s([\d-\w]+))이벤트 처리 중에 일치 여부를 나타내는 trace문이 있습니다.
02-15 11:50:24.091 TRACE Device.FileReader.test.log : NextLine: 2021-11-17 09:36:09.5092|INFO|99|This is a test for multiline events
02-15 11:50:24.091 TRACE Device.Source.Local.TestFF : Match found for starting filter/regex line: 2021-11-17 09:36:09.5092|INFO|99|This is a test for multiline events
02-15 11:50:24.091 TRACE Device.FileReader.test.log : NextLine: this is the second line of a multiline event
02-15 11:50:24.092 TRACE Device.FileReader.test.log : NextLine: this is the third and last line of the multiline event. TheSessionID = 111111-ab12-c345-6d78-90e12345fghi7
02-15 11:50:24.094 TRACE Device.Source.Local.TestFF : Match found for ending filter/regex line: this is the third and last line of the multiline event. TheSessionID = 111111-ab12-c345-6d78-90e12345fghi7