Custom logs not accepting timestamp format

84740737 1 Reputation point
2021-07-27T12:35:11.16+00:00

I am defining a custom log on Azure, which should have the following format:

[TIMESTAMP] MESSAGE

I tried creating manually a file with one of the format which the custom logs should recognize:

[27/Jul/2021:12:11:00 UTC] avviato
[27/Jul/2021:12:12:00 UTC] avviato
[27/Jul/2021:12:13:00 UTC] avviato
[27/Jul/2021:12:14:00 UTC] avviato
[27/Jul/2021:12:15:00 UTC] avviato
[27/Jul/2021:12:16:00 UTC] avviato

The timestamp should match the "dd/MMM/yyyy:HH:mm:ss zzz" format, however it says it couldn't parse it and to select a different format.

Why is it not recognizing the timestamp format? what am I doing wrong?

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,273 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. SwathiDhanwada-MSFT 18,766 Reputation points
    2021-07-29T05:02:55.83+00:00

    @TassinariMatteo-3448 Thanks for bringing this to our notice. I have reproduced the issue from my end and I was facing similar issue. I have reached out to product team for a fix for this. I will provide an update on this soon.

    As an alternative , kindly parse the logs with line breaks. Once the issue is fixed from our end, you can parse it using Timestamp format.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.