Hi Miguel,
Logcollector works in both Wazuh manager and agent.
Well, in this case what you can do to read the old logs is to to configure logcollector to monitor some particular file, for example:
<localfile> <log_format>syslog</log_format>
<location>/var/log/apache</location>
</localfile>
After restarting Wazuh, copy all the logs you want to analyze in the file you have just configured to monitor. For newer logs, just monitoring the original file (access.log) will be enough.
Regarding your question about the date of the logs, the alerts will be generated with the current date (now) but the logs will keep the original date. So, you will see the alerts with the current date but the detail will include the original date.
I hope this information helps.
Tomás Turina