Here are the requirements for a time stamp in a plain-text log file in Log Monitoring v2:
Log data formats
"Any plain-text log file as long as it contains a time stamp that meets these basic requirements:
- The file must be encoded as UTF-8 or UTF-16. All other encoded files will be recognized as binary.
- A time stamp must appear at the beginning of each log entry.
- The time stamp date can be separated using either of the following:
(space)
/(slash)
-(dash)
.(period)
T(Combined date and time in UTC, ISO 8601 format)
,(comma)
@(ampersand) - For the time stamp date, either month abbreviations or full names can be used in the date format.
By default, Log Monitoring recognizes only English month abbreviations and months represented by number (1-12 and jan-dec). - Time stamp must include BOTH, the date and time.
- Time stamp time is in the following format:
-
[0-9]{1,2}:[0-9]{2}:[0-9]{2}((\.|,)[0-9]{1,9})?( *AM|PM)? *((GMT|UTC)?[+-][0-9]{2,4})?(GMT|CEST|CET|OTHER_TZ_ABBREVIATION)?"
-