cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

"Incorrect date format" error in Log viewer

nkobayashi1
Helper

Hi,

I'm trying
to display the custom log files of our application.
And
I'm facing the "Incorrect date format" error.

I tried
follows:

1. Set log
file path in the Process group settings > Log monitoring

/var/<application-name>/<application-name>.log
/var/cron
(this is for testing)
/var/<application-name>/messages
(this is copy of /var/log/messages, this is for testing)

2. In the
log files page, the name of log files are displayed. But the "incorrect
date format" is shown in the all of the log files I configured.

I also tried to
copy /var/log/messages and /var/log/cron to our application log directory, then set to the same process group, but
the same error occurred.

So, I'm confusing why /var/log/messages is displayed correctly in the Log viewer
and /var/log/<applicaton-name>/messages caused "Incorrect date format" error.

I have read
the document:
https://www.dynatrace.com/support/help/how-to-use-dynatrace/log-analytics/what-log-format-does-log-a...

The date
format of our application log is match to the correct pattern.
(The date format of our application log is very similar to the /var/log/messages)

How should
I configure to display the log files?

Thanks,
Noah
Kobayashi


2 REPLIES 2

ChadTurner
Leader

We had the same issue, it came down to tinkering with wildcard placeholders for the names of the files to show up correctly. are you still having this issue?

I would also check out this article as it goes over hot to configure the files manually.

https://www.dynatrace.com/support/help/how-to-use-dynatrace/log-monitoring/configuration/add-log-fil...

-Chad

borgesm
Frequent Guest

I am facing the same issue on Linux Red Hat 7! Files such as messages , cron , maillog under directory /var/log/* are have the same date format. Only messages and cron are working.