I am able to get logs from my clients back to the servers, but the logs are not going back in the correct format, instead of going back as one entry the logs are going back as several entries and I can't work out how to get them back correctly I have supplied my nxlog config and an example of what I am trying to get back so anything that starts with {<DATE>; <TIME>} should be one entry back to the server, any help or pointing in the right direction would be great
Code: Select all
<Input Phonebook>
Module im_file
File 'E:\CallLogs\Phonebook\Phonebook.log'
SavePos False
ReadFromLast False
Exec $Message = $raw_event;
</Input>Code: Select all
{16:03:21; 15:08:29.684} DEBUG [w I/O worker #5] [me.ProtocolMessagePackagerImpl] New message #2
{16:03:21; 15:08:29.934} DEBUG [.defaultInvoker] [mons.broker.EventBrokerService] Notifying 4 subscribers...
{16:03:21; 15:08:29.934} DEBUG [.defaultInvoker] [stom.status.CurrentAgentStatus] Agent: Test_Agent Status: 4 : READY
{16:03:21; 15:08:29.934} DEBUG [w I/O worker #5] [commons.protocol.DuplexChannel] Handling message: 'EventInfo' (2) attributes:
TM_LENGTH [int] = 0
REQ_ID [int] = 61787
VOID_VALUE [object] = ObjectValue: AgentStatus {
AgentId = Test_Agent
LoginId = 1234561
Status = 4
Time = 1615907309
Place = PlaceStatus {
PlaceId = GSEP_39172
PlaceStatus = 4
Time = 1615907309
DnStatuses = DnStatusesCollection (size=1) [
[0] DnStatus {
DN Id = 39172
SwitchId = HADN_SIPSw_05
GSW DN TYPES = 1
DN Status = 4
Time = 1615907309
Actions = DnActionCollection (size=0) [
]
}
]
}
}
USER_REQ_ID [int] = -1
TM_SERVER [int] = 1615907309
LONG_VALUE [int] = 0
{16:03:21; 15:08:29.934} DEBUG [w I/O worker #5] [commons.protocol.DuplexChannel] Complete message handling: 2