Hi people,
I have a set of questions around TEC logfile adapters. We are being asked by our application developers to provide them with a mechanism to read certain type of errors/messages from logfiles on home grown applications for alerting purposes.
The problem I have is that many of the applications have logfiles that either:
1) rotate everyday
2) rap after a X number of lines are in the logfile. So this causes new events to start in the beginning of the file and the old events are still there.
3) some applications rotate their logfiles but create new files with a date stamp for the day that the file was created.
The problems/questions that I have rgd the above 3 points is:
1) If a logfile rotates everyday will LFA simply reset it's internal pointer to 0 and start from the beginning of the file?
2) If the logfile wraps after say a 1000 lines will this confuse the LFA and will it now that it must now start reading from the beginning again ?
3) When the TEC ACF is configured you have to provide the path and file name of the file. How do you tell the adapter to read the same file where the name keeps changing because the date and timestamp are part of the log files name?
Thank You
Pritesh
I have a set of questions around TEC logfile adapters. We are being asked by our application developers to provide them with a mechanism to read certain type of errors/messages from logfiles on home grown applications for alerting purposes.
The problem I have is that many of the applications have logfiles that either:
1) rotate everyday
2) rap after a X number of lines are in the logfile. So this causes new events to start in the beginning of the file and the old events are still there.
3) some applications rotate their logfiles but create new files with a date stamp for the day that the file was created.
The problems/questions that I have rgd the above 3 points is:
1) If a logfile rotates everyday will LFA simply reset it's internal pointer to 0 and start from the beginning of the file?
2) If the logfile wraps after say a 1000 lines will this confuse the LFA and will it now that it must now start reading from the beginning again ?
3) When the TEC ACF is configured you have to provide the path and file name of the file. How do you tell the adapter to read the same file where the name keeps changing because the date and timestamp are part of the log files name?
Thank You
Pritesh