The Metric 'Log File Monitoring' scans from line 1 or skips lines every time the metric is collected (Doc ID 1927637.1)

Last updated on MARCH 08, 2017

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.4.0 and later
Information in this document applies to any platform.

Symptoms

The metric, Log File Monitoring -> Log File Pattern Matched Line Count Metric scans the whole log file every time the metric is collected.
The expected behaviour should be that a configuration file should determine the file name and last line scanned so that the whole file is not
scanned every time.  The file scan should continue on from the last line scanned.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms