Absent Member.
Absent Member.
184 views

Mix of US & Europe timestamps?

Hello,

I'm writing a FlexConnector (multiple folders) to parse several log files. Problem: files are exported from several sites around the world and the timestamp formats are not configured in the same way:

Some formats are: "dd/MM/yyyy HH:mm:ss"

Others: "dd/MM/yyyy hh:mm:ss aa" (with AM/PM)

Can a FlexConnector be configured to handle both formats at the same time and avoid subMessages?

/x

Labels (2)
0 Likes
1 Reply
Fleet Admiral
Fleet Admiral

There is a function called mutable time stamp which should do the trick for you. The problem that you will have is that if the log message time stamp doesn't have a timezone, the message will be assumed to be in the same time stamp as the connector.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.