# Is it possible to have custom log date formats?

**URL:** <https://community.dynatrace.com/t/is-it-possible-to-have-custom-log-date-formats/20709>\
**Category:** Logs\
**Tags:** log-monitoring-class\
**Created:** [May 20, 2019, 10:16am UTC](https://community.dynatrace.com/t/is-it-possible-to-have-custom-log-date-formats/20709 "2019-05-20T10:16:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tarjei\_utnes](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/tarjei_utnes/32/26934_2.png) [@tarjei\_utnes](https://community.dynatrace.com/u/tarjei_utnes)\
**Post date:** [May 20, 2019, 10:16am UTC](https://community.dynatrace.com/t/is-it-possible-to-have-custom-log-date-formats/20709/1 "2019-05-20T10:16:14Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![nj\_njoku](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/nj_njoku/32/13710_2.png) [@nj\_njoku](https://community.dynatrace.com/u/nj_njoku)\
**Post date:** [May 20, 2019, 12:29pm UTC](https://community.dynatrace.com/t/is-it-possible-to-have-custom-log-date-formats/20709/2 "2019-05-20T12:29:58Z")

</div>

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](https://www.dynatrace.com/support/help/how-to-use-dynatrace/log-analytics/basic-concepts/what-log-format-does-log-analytics-support/). I will suggest you create a Request For Enhancement (RFE) [here](https://answers.dynatrace.com/spaces/483/view.html) detailing your use case to see if this feature can be added in the future

Thanks

NJ

---

<div class="post-metadata">

**Author:** ![MaciejNeumann](https://avatars.discourse-cdn.com/v4/letter/m/5e9695/32.png) [@MaciejNeumann](https://community.dynatrace.com/u/MaciejNeumann)\
**Post date:** [December 14, 2021, 9:48am UTC](https://community.dynatrace.com/t/is-it-possible-to-have-custom-log-date-formats/20709/3 "2021-12-14T09:48:31Z")

</div>

Here are the requirements for a time stamp in a plain-text log file in Log Monitoring v2:  
[Log data formats](https://www.dynatrace.com/support/help/shortlink/log-monitoring-supported-format)

"Any plain-text log file as long as it contains a time stamp that meets these basic requirements:

- The file must be encoded as&nbsp; **UTF-8** &nbsp;or&nbsp; **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)  
`/`&nbsp;(slash)  
`-`&nbsp;(dash)  
`.`&nbsp;(period)  
`T`&nbsp;(Combined date and time in UTC, ISO 8601 format)  
`,`&nbsp;(comma)  
`@`&nbsp;(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&nbsp; **BOTH** , the date and time.
- Time stamp time is in the following format:
  - 

```markup
[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)?

```

"
