flexagent date time token problem
so i've a log file that starts with a date time and continues, the rest is ok but the date time part is a bit problematic. one log line is something like that
Jun 6 04:04:19 etc etc etc
I created a regex and tokenize the date and time fileds
token.format=MMM dd HH:mm:ss
when i tested the flexagent with regex tool i receive an error due to date-time field format.
Exception setting event values, please verify that the data type for [Date-Time]
type [class java.lang.String] and value [Sun Jun 06 04:04:19 EEST 2010] matches
the data type of [deviceReceiptTime(DateTime)] (java.util.Date cannot be cast t
Do anybody has a clue how to deal with this ???
Re: flexagent date time token problem
hi gary thanks for your quick reply , i found the same date time syntax and a sample regex in the flexagent dev guide's under sub-messages section 🙂 By the way do you know why are all the regex samples in dev guide are all single slash and the actually working regex that the flexagent uses are double slash ???