Hi,
Is it possible to use / configure custom log date formats?
We are troubleshooting an application which uses a format which Dynatrace does not recognize.
Hi,
Is it possible to use / configure custom log date formats?
We are troubleshooting an application which uses a format which Dynatrace does not recognize.
Hi Tarjei,
Unfortunately, if a log format is used that is not supported by Dynatrace, it will generate an Incorrect date format error and will not be analyzed or stored (only the file status will be reported). See here. I will suggest you create a Request For Enhancement (RFE) here detailing your use case to see if this feature can be added in the future
Thanks
NJ
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:
/ (slash)- (dash). (period)T (Combined date and time in UTC, ISO 8601 format), (comma)@ (ampersand)[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)?
"