# What does "Incorrect date format" mean with logs?

**URL:** <https://community.dynatrace.com/t/what-does-incorrect-date-format-mean-with-logs/10995>\
**Category:** Logs\
**Tags:** log-monitoring-class\
**Created:** [March 1, 2018, 2:54pm UTC](https://community.dynatrace.com/t/what-does-incorrect-date-format-mean-with-logs/10995 "2018-03-01T14:54:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![chad\_christenso](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chad_christenso/32/32781_2.png) [@chad\_christenso](https://community.dynatrace.com/u/chad_christenso)\
**Post date:** [March 1, 2018, 2:54pm UTC](https://community.dynatrace.com/t/what-does-incorrect-date-format-mean-with-logs/10995/1 "2018-03-01T14:54:05Z")

</div>

We are new to Dynatrace and for our log files (log4j and access), we see “(Incorrect date format)” on the Log Files screen. Does anyone know what that means and how we correct it? Our file names are like “FOO01.bar\_8443.20180228.xml”. We are unable to select the file in Dynatrace, presumably from this error.

---

<div class="post-metadata">

**Author:** ![rastislav\_danis](https://avatars.discourse-cdn.com/v4/letter/r/b9bd4f/32.png) [@rastislav\_danis](https://community.dynatrace.com/u/rastislav_danis)\
**Post date:** [March 1, 2018, 3:04pm UTC](https://community.dynatrace.com/t/what-does-incorrect-date-format-mean-with-logs/10995/2 "2018-03-01T15:04:51Z")

</div>

not sure if dynamics means dynatrace in this post 😉 anyway, incorrect date format means that log structure contains unrecognized timestamps

---

<div class="post-metadata">

**Author:** ![chad\_christenso](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chad_christenso/32/32781_2.png) [@chad\_christenso](https://community.dynatrace.com/u/chad_christenso)\
**Post date:** [March 1, 2018, 3:16pm UTC](https://community.dynatrace.com/t/what-does-incorrect-date-format-mean-with-logs/10995/3 "2018-03-01T15:16:14Z")

</div>

Thanks for the reply. I fixed the typos. Any idea what format we would need to use to correct it?

---

<div class="post-metadata">

**Author:** ![pawel\_brzoska](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pawel_brzoska/32/18892_2.png) [@pawel\_brzoska](https://community.dynatrace.com/u/pawel_brzoska)\
**Post date:** [March 2, 2018, 7:43am UTC](https://community.dynatrace.com/t/what-does-incorrect-date-format-mean-with-logs/10995/4 "2018-03-02T07:43:44Z")

</div>

It is most likely due to XML format that is not supported currently.

---

<div class="post-metadata">

**Author:** ![caio\_marfil](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@caio\_marfil](https://community.dynatrace.com/u/caio_marfil)\
**Post date:** [March 13, 2018, 12:01pm UTC](https://community.dynatrace.com/t/what-does-incorrect-date-format-mean-with-logs/10995/5 "2018-03-13T12:01:56Z")

</div>

What are the supported log file formats? We were told some that are not supported, but none which is supported.

---

<div class="post-metadata">

**Author:** ![pawel\_brzoska](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/pawel_brzoska/32/18892_2.png) [@pawel\_brzoska](https://community.dynatrace.com/u/pawel_brzoska)\
**Post date:** [March 14, 2018, 7:14am UTC](https://community.dynatrace.com/t/what-does-incorrect-date-format-mean-with-logs/10995/6 "2018-03-14T07:14:16Z")

</div>

See:

> **[Log data formats (Logs Classic)](https://docs.dynatrace.com/docs/analyze-explore-automate/log-monitoring/log-monitoring-configuration/log-data-format-classic)**
>
> This topic lists all the log formats supported by Log Monitoring.

---

<div class="post-metadata">

**Author:** ![ak00571736](https://avatars.discourse-cdn.com/v4/letter/a/57b2e6/32.png) [@ak00571736](https://community.dynatrace.com/u/ak00571736)\
**Post date:** [October 5, 2018, 7:42am UTC](https://community.dynatrace.com/t/what-does-incorrect-date-format-mean-with-logs/10995/7 "2018-10-05T07:42:59Z")

</div>

What are the  
Dynatrace supported log formats? we are also facing the incorrect date format  
issue with one of our application log. Log file name  
is MSTRLog10042018\_1.log but its contains XML tags(PFA screenshot).

 ![18522-invalidlogformat.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/f/bf381176e5f6fbec7ed62667a179e73a4bf36dfb.png)

Does dynatrace  
support xml log entry format?

---

<div class="post-metadata">

**Author:** ![jaroslaw\_orlows](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/jaroslaw_orlows/32/29074_2.png) [@jaroslaw\_orlows](https://community.dynatrace.com/u/jaroslaw_orlows)\
**Post date:** [October 5, 2018, 10:13am UTC](https://community.dynatrace.com/t/what-does-incorrect-date-format-mean-with-logs/10995/8 "2018-10-05T10:13:33Z")

</div>

Ajit, the help topic Pawel mentioned in the first post is still valid. Unfortunately the XML structured files are not supported as of now.

- Any plain text log file as long as it contains a timestamp that meets these basic requirements:
- A timestamp must appear at the beginning of each log entry.

See more at: [Log data formats (Logs Classic) — Dynatrace Docs](https://www.dynatrace.com/support/help/shortlink/log-analytics-supported-format)

---

<div class="post-metadata">

**Author:** ![Orlando\_Chapa](https://avatars.discourse-cdn.com/v4/letter/o/9e8a1a/32.png) [@Orlando\_Chapa](https://community.dynatrace.com/u/Orlando_Chapa)\
**Post date:** [October 21, 2021, 4:26pm UTC](https://community.dynatrace.com/t/what-does-incorrect-date-format-mean-with-logs/10995/9 "2021-10-21T16:26:24Z")

</div>

Is there a way to omit or bypass checking the format and just have the log scanned as a simple text file?
