@Sergio Solorzano Thanks for reaching out. TimeGenerated property is the Record created at data source. If the data source doesn't set this value, then it will be set to the same time as _TimeReceived. For more details refer to this section.
When you use log.Information inside the function app then the TimeGenerated property is set as the time of the log as I can see in the below test. The same is documented here.
TimeGenerate : The timestamp (UTC) of the log.