Information: Forum is in read-only mode
For details and other support options see https://www.adiscon.com/news/support-forum-set-to-read-only-mode/

Problem with Line separators

Support, Questions and Discussions on MonitorWare Agent

Moderator: alorbach

Google Ads


Problem with Line separators

Postby jeffremiller » Wed Nov 08, 2006 11:15 pm

I cannot tell if this is a syslog server issue or a MWAgent issue but thought I would ask.

I am trying to get a prn file (print to file) into syslog in real time.

I have configured a file monitor and have it sending to the syslog but there seems to be an issue with some line separators recognized and others ignored. I end up with several entries wrapped into one line

Here are a few lines from the prn file.

11/08/2006 15:57.09 5057 Stephanie PowellROYAL Royal- Employee Entry 2Access Granted
11/08/2006 15:57.41 417 Walter GrudzinskiMT 2 MT2- 5E-BACKDOOR-NORTHWESTAccess Granted
11/08/2006 15:57.41 224 Debbie Calhoun MT 2 MT2- 5G-LAB Access Granted
11/08/2006 15:57.36 5326 Shirley Hisch ROYAL Royal- Employee Entry 2Access Granted
11/08/2006 15:57.51 2414 Jay VercellottiMT1 MT1- 4C-FRONT Access Granted
11/08/2006 15:57.50 4796 Kristi Krock ROYAL Royal- Main Entry 2Access Granted
11/08/2006 15:57.54 5852 Eugene Bogan ROYAL Royal- Employee Entry 2Access Granted
11/08/2006 15:58.26 2414 Jay VercellottiMT 2 MT2- 5E-BACKDOOR-NORTHWESTAccess Granted
11/08/2006 15:58.14 608 Phillip Titzer ANNEX Annex- 9D EAST FRONTAccess Granted
11/08/2006 15:58.44 947 Mark Allen MT1 MT1- 4C-FRONT Access Granted
11/08/2006 15:59.03 4235 Micha Gardner EAGLE CREST Eagle Crest- FILE ROOM 1Access Granted
11/08/2006 15:59.12 1176 Lori Brooks Clean ABMMT1-2 MT1- 4I - Cleaning Office- InsideAccess Granted
11/08/2006 15:59.25 1009 Julie Conner BLDG. #3 HQ3 - 3A-NORTH LOBBYAccess Granted
11/08/2006 15:59.31 947 Mark Allen MT 2 MT2- 5E-BACKDOOR-NORTHWESTAccess Granted
11/08/2006 15:59.33 4637 Erick Castillo ROYAL Royal- Main Entry 2Access Granted
11/08/2006 15:59.42 427 Ron Stratton BLDG.#2 HQ2 - 2G-EAST STAIRSAccess Granted
11/08/2006 15:59.39 643 Ryan Cosby MT-4 MT4- 7E-TECH AREA - INSIDEAccess Granted
11/08/2006 15:59.39 1017 Tania Herke CAFE HQ2 - 2H-GARAGE-2ND FLRAccess Granted

When they wrap in the syslog, it looks like this

IDEAccess Granted11/08/2006 15:03.14 1067 Jeff Kohut MT 2 MT2- 5G-LAB Access Granted11/08/2006 15:03.24 2149 Erik Ripper MT-4 MT4- 7F-INVENTORY RM - INSIDEAccess Granted11/08/2006 15:03.27 1049 Jeffrey Miller BLDG. #3 HQ3 - 3F-SECURITY - INSIDEA

Is there something I can set in the separator to fix this issue?

BTW these are fixed width log entries. That is why spaces are missing at times.
jeffremiller
New
 
Posts: 2
Joined: Wed Nov 08, 2006 11:09 pm

Postby rgerhards » Thu Nov 09, 2006 8:36 am

I would appreciate if you could send us the PRN file so that we can try it in our lab. I guess the issue is related to inconsistent control characters in the PRN file.

I suggest you send the file to support -at- adiscon.com. Please quote this forum thread.

Looking forward to the file,
Rainer Gerhards
Adiscon
rgerhards
Site Admin
 
Posts: 3807
Joined: Thu Feb 13, 2003 11:57 am

Postby jeffremiller » Thu Nov 09, 2006 2:19 pm

File sent. Thanks for the help.


rgerhards wrote:I would appreciate if you could send us the PRN file so that we can try it in our lab. I guess the issue is related to inconsistent control characters in the PRN file.

I suggest you send the file to support -at- adiscon.com. Please quote this forum thread.

Looking forward to the file,
Rainer Gerhards
Adiscon
jeffremiller
New
 
Posts: 2
Joined: Wed Nov 08, 2006 11:09 pm

Google Ads



Return to MonitorWare Agent

Who is online

Users browsing this forum: No registered users and 0 guests

cron