@Mohamed Hussein Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this.
As you have enabled the application insights on the function app you can query the historical logs of the functions by query the request/traces tables using KQL queries.
If you want to see the complete execution logs of the function, I suggest you enable the diagnostic settings and thereby querying the FunctionAppsLogs table you can query the required data.
Refer to this documentation on how to analyze the functions telemetry using application insights.
Hope this helps, let me know if you have any further questions on this.