In order to set a custom TimeGenerated datetime into some ThinkServer events you need to insert pyhton code. The solution is using SendMessageToSmartConsole function inside monitor script.
This article describes how to use the function with separated Date and Time values.
First of all you have to take into account date and time formats.
Usually, when you are recollecting some events from a log, the monitor receives diferrent kind of datetime formats, like "DD/MM/YYYY HH:MM:SS" or "DD-MM-YYYY HH:MM:SS".
In order to use SendMessageToSmartConsole function you need to work wiht the following format:
Then spliting datetime into date and time you will have:
DateFormatted as "YYYY-MM-DD" and HourFormatted as "HH:MM:SS".
Finally, if you got the format of the values as above, you just have to deploy the function in order to insert records into the events database. The following codes are examples for SWIFT and MEP events:
Still have questions? We can help. Submit a case to Technical Support.