Yes, I suggested the shutdown_timeout flag to solve the issue with repeated events in restarts.
I understood that the performance problems were solved with the other config changes. Let me know if the performance problems persist.
If you want to have exactly the same timestamp in @timestamp as you see in the logs, you need to parse the timestamp from the logs. For that you can use processors, or an ingest pipeline.