the complete log from wazuh-manager is 329MB which i would need to sanitise 1st, obviously it wont be possible to supply this file.
However the ossec log for the 17th (date mentioned in last post) is only 15MB but this still seems too large to sanitise and upload.
if there is any way we could use grep to output the logs you require that would be most helpful.
here is the output from the agent which seems to match the date/timestamp of the logs i previously supplied. note the hostname has been sanitised to CLIENT-HOSTNAME and the server IP has been sanitised to SERVER-IP:
2021/10/17 00:00:10 wazuh-agentd: INFO: Starting new log after rotation.
2021/10/17 00:44:20 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 00:44:20 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 01:43:18 sca: INFO: Starting Security Configuration Assessment scan.
2021/10/17 01:43:18 sca: INFO: Starting evaluation of policy: '/var/ossec/ruleset/sca/cis_debian10.yml'
2021/10/17 01:43:57 sca: INFO: Evaluation finished for policy '/var/ossec/ruleset/sca/cis_debian10.yml'
2021/10/17 01:43:57 sca: WARNING: Found duplicated check ID: 2500. First appearance at policy 'cis_debian10'
2021/10/17 01:43:57 sca: WARNING: Error found while validating policy file: '/var/ossec/etc/shared/hardening.yml'. Skipping it.
2021/10/17 01:43:57 sca: INFO: Security Configuration Assessment scan finished. Duration: 39 seconds.
2021/10/17 01:44:21 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 01:44:21 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 01:44:45 wazuh-syscheckd: INFO: (6008): File integrity monitoring scan started.
2021/10/17 01:44:54 wazuh-syscheckd: INFO: (6009): File integrity monitoring scan ended.
2021/10/17 01:45:37 rootcheck: INFO: Starting rootcheck scan.
2021/10/17 01:45:37 rootcheck: ERROR: No rootcheck_files file: 'etc/shared/rootkit_files.txt'
2021/10/17 01:45:37 rootcheck: ERROR: No rootcheck_trojans file: 'etc/shared/rootkit_trojans.txt'
2021/10/17 01:46:05 rootcheck: INFO: Ending rootcheck scan.
2021/10/17 02:44:22 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 02:44:23 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 03:44:23 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 03:44:24 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 04:44:24 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 04:44:25 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 05:44:26 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 05:44:26 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 06:44:27 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 06:44:27 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 07:24:07 wazuh-agentd: WARNING: Server unavailable. Setting lock.
2021/10/17 07:24:07 wazuh-agentd: INFO: Closing connection to server (SERVER-IP:1514/tcp).
2021/10/17 07:24:07 wazuh-agentd: INFO: Trying to connect to server (SERVER-IP:1514/tcp).
2021/10/17 07:24:47 wazuh-agentd: INFO: (4102): Connected to the server (SERVER-IP:1514/tcp).
2021/10/17 07:24:47 wazuh-agentd: INFO: Server responded. Releasing lock.
2021/10/17 07:44:28 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 07:44:28 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 08:44:29 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 08:44:29 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 08:59:40 wazuh-agentd: WARNING: Server unavailable. Setting lock.
2021/10/17 08:59:40 wazuh-agentd: INFO: Closing connection to server (SERVER-IP:1514/tcp).
2021/10/17 08:59:40 wazuh-agentd: INFO: Trying to connect to server (SERVER-IP:1514/tcp).
2021/10/17 09:00:03 wazuh-logcollector: WARNING: Process locked due to agent is offline. Waiting for connection...
2021/10/17 09:00:50 wazuh-agentd: INFO: Closing connection to server (SERVER-IP:1514/tcp).
2021/10/17 09:00:50 wazuh-agentd: INFO: Trying to connect to server (SERVER-IP:1514/tcp).
2021/10/17 09:02:00 wazuh-agentd: INFO: Closing connection to server (SERVER-IP:1514/tcp).
2021/10/17 09:02:00 wazuh-agentd: INFO: Trying to connect to server (SERVER-IP:1514/tcp).
2021/10/17 09:03:10 wazuh-agentd: INFO: Closing connection to server (SERVER-IP:1514/tcp).
2021/10/17 09:03:10 wazuh-agentd: INFO: Trying to connect to server (SERVER-IP:1514/tcp).
2021/10/17 09:04:08 wazuh-syscheckd: WARNING: Process locked due to agent is offline. Waiting for connection...
2021/10/17 09:04:20 wazuh-agentd: INFO: Closing connection to server (SERVER-IP:1514/tcp).
2021/10/17 09:04:20 wazuh-agentd: INFO: Trying to connect to server (SERVER-IP:1514/tcp).
2021/10/17 09:06:20 wazuh-agentd: WARNING: Polling server 'SERVER-IP' failed. Skipping enrollment.
2021/10/17 09:06:30 wazuh-agentd: WARNING: (4101): Waiting for server reply (not started). Tried: 'SERVER-IP'.
2021/10/17 09:06:30 wazuh-agentd: WARNING: Unable to connect to any server.
2021/10/17 09:06:30 wazuh-agentd: INFO: Closing connection to server (SERVER-IP:1514/tcp).
2021/10/17 09:06:30 wazuh-agentd: INFO: Trying to connect to server (SERVER-IP:1514/tcp).
2021/10/17 09:07:40 wazuh-agentd: INFO: Closing connection to server (SERVER-IP:1514/tcp).
2021/10/17 09:07:40 wazuh-agentd: INFO: Trying to connect to server (SERVER-IP:1514/tcp).
2021/10/17 09:08:50 wazuh-agentd: INFO: Closing connection to server (SERVER-IP:1514/tcp).
2021/10/17 09:08:50 wazuh-agentd: INFO: Trying to connect to server (SERVER-IP:1514/tcp).
2021/10/17 09:10:00 wazuh-agentd: INFO: Closing connection to server (SERVER-IP:1514/tcp).
2021/10/17 09:10:00 wazuh-agentd: INFO: Trying to connect to server (SERVER-IP:1514/tcp).
2021/10/17 09:11:10 wazuh-agentd: INFO: Closing connection to server (SERVER-IP:1514/tcp).
2021/10/17 09:11:10 wazuh-agentd: INFO: Trying to connect to server (SERVER-IP:1514/tcp).
2021/10/17 09:12:12 wazuh-agentd: INFO: Requesting a key from server: SERVER-IP
2021/10/17 09:12:12 wazuh-agentd: INFO: No authentication password provided
2021/10/17 09:12:12 wazuh-agentd: INFO: Using agent name as: CLIENT-HOSTNAME
2021/10/17 09:12:12 wazuh-agentd: INFO: Waiting for server reply
2021/10/17 09:12:12 wazuh-agentd: INFO: Valid key received
2021/10/17 09:12:12 wazuh-agentd: INFO: Waiting 20 seconds before server connection
2021/10/17 09:12:32 wazuh-agentd: INFO: (1410): Reading authentication keys file.
2021/10/17 09:12:32 wazuh-agentd: INFO: Closing connection to server (SERVER-IP:1514/tcp).
2021/10/17 09:12:32 wazuh-agentd: INFO: Trying to connect to server (SERVER-IP:1514/tcp).
2021/10/17 09:12:32 wazuh-agentd: INFO: (4102): Connected to the server (SERVER-IP:1514/tcp).
2021/10/17 09:12:32 wazuh-agentd: INFO: Server responded. Releasing lock.
2021/10/17 09:12:33 wazuh-syscheckd: INFO: Agent is now online. Process unlocked, continuing...
2021/10/17 09:12:33 wazuh-logcollector: INFO: Agent is now online. Process unlocked, continuing...
2021/10/17 09:12:33 wazuh-agentd: INFO: Agent is restarting due to shared configuration changes.
2021/10/17 09:12:33 wazuh-modulesd:syscollector: INFO: Stop received for Syscollector.
2021/10/17 09:12:33 wazuh-modulesd:syscollector: INFO: Module finished.
2021/10/17 09:12:33 wazuh-logcollector: INFO: (1225): SIGNAL [(15)-(Terminated)] Received. Exit Cleaning...
2021/10/17 09:12:34 wazuh-syscheckd: INFO: (1225): SIGNAL [(15)-(Terminated)] Received. Exit Cleaning...
2021/10/17 09:12:34 wazuh-agentd: INFO: (1225): SIGNAL [(15)-(Terminated)] Received. Exit Cleaning...
2021/10/17 09:12:34 wazuh-execd: INFO: (1314): Shutdown received. Deleting responses.
2021/10/17 09:12:34 wazuh-execd: INFO: (1225): SIGNAL [(15)-(Terminated)] Received. Exit Cleaning...
2021/10/17 09:12:34 wazuh-execd: INFO: Started (pid: 4159071).
2021/10/17 09:12:35 wazuh-agentd: INFO: (1410): Reading authentication keys file.
2021/10/17 09:12:35 wazuh-agentd: INFO: Using notify time: 10 and max time to reconnect: 60
2021/10/17 09:12:35 wazuh-agentd: INFO: Version detected -> Linux |CLIENT-HOSTNAME |5.4.0-81-generic |#91-Ubuntu SMP Thu Jul 15 19:09:17 UTC 2021 |x86_64 [Ubuntu|ubuntu: 20.04.3 LTS (Focal Fossa)] - Wazuh v4.2.1
2021/10/17 09:12:35 wazuh-agentd: INFO: Started (pid: 4159082).
2021/10/17 09:12:35 wazuh-agentd: INFO: Server IP Address: SERVER-IP
2021/10/17 09:12:35 wazuh-agentd: INFO: Using AES as encryption method.
2021/10/17 09:12:35 wazuh-agentd: INFO: Trying to connect to server (SERVER-IP:1514/tcp).
2021/10/17 09:12:36 wazuh-syscheckd: INFO: Started (pid: 4159095).
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6003): Monitoring path: '/bin', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | scheduled'.
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6003): Monitoring path: '/boot', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | scheduled'.
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6003): Monitoring path: '/etc', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | scheduled'.
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6003): Monitoring path: '/sbin', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | scheduled'.
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6003): Monitoring path: '/usr/bin', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | scheduled'.
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6003): Monitoring path: '/usr/sbin', with options 'size | permissions | owner | group | mtime | inode | hash_md5 | hash_sha1 | hash_sha256 | scheduled'.
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6206): Ignore 'file' entry '/etc/mtab'
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6206): Ignore 'file' entry '/etc/hosts.deny'
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6206): Ignore 'file' entry '/etc/mail/statistics'
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6206): Ignore 'file' entry '/etc/random-seed'
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6206): Ignore 'file' entry '/etc/random.seed'
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6206): Ignore 'file' entry '/etc/adjtime'
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6206): Ignore 'file' entry '/etc/httpd/logs'
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6206): Ignore 'file' entry '/etc/utmpx'
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6206): Ignore 'file' entry '/etc/wtmpx'
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6206): Ignore 'file' entry '/etc/cups/certs'
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6206): Ignore 'file' entry '/etc/dumpdates'
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6206): Ignore 'file' entry '/etc/svc/volatile'
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6207): Ignore 'file' sregex '.log$|.swp$'
2021/10/17 09:12:36 wazuh-syscheckd: INFO: (6004): No diff for file: '/etc/ssl/private.key'
2021/10/17 09:12:37 wazuh-agentd: INFO: (4102): Connected to the server (SERVER-IP:1514/tcp).
2021/10/17 09:12:37 wazuh-logcollector: INFO: Monitoring output of command(360): df -P
2021/10/17 09:12:37 wazuh-logcollector: INFO: Monitoring full output of command(360): netstat -tulpn | sed 's/\([[:alnum:]]\+\)\ \+[[:digit:]]\+\ \+[[:digit:]]\+\ \+\(.*\):\([[:digit:]]*\)\ \+\([0-9\.\:\*]\+\).\+\ \([[:digit:]]*\/[[:alnum:]\-]*\).*/\1 \2 == \3 == \4 \5/' | sort -k 4 -g | sed 's/ == \(.*\) ==/:\1/' | sed 1,2d
2021/10/17 09:12:37 wazuh-logcollector: INFO: Monitoring full output of command(360): last -n 20
2021/10/17 09:12:37 wazuh-logcollector: INFO: (1950): Analyzing file: '/var/log/apache2/error.log'.
2021/10/17 09:12:37 wazuh-logcollector: INFO: (1950): Analyzing file: '/var/log/apache2/access.log'.
2021/10/17 09:12:37 wazuh-logcollector: INFO: (1950): Analyzing file: '/var/ossec/logs/active-responses.log'.
2021/10/17 09:12:37 wazuh-logcollector: INFO: (1950): Analyzing file: '/var/log/auth.log'.
2021/10/17 09:12:37 wazuh-logcollector: INFO: (1950): Analyzing file: '/var/log/syslog'.
2021/10/17 09:12:37 wazuh-logcollector: ERROR: (1103): Could not open file '/var/log/squid/access.log' due to [(2)-(No such file or directory)].
2021/10/17 09:12:37 wazuh-logcollector: INFO: (1950): Analyzing file: '/var/log/squid/access.log'.
2021/10/17 09:12:37 wazuh-logcollector: INFO: (1950): Analyzing file: '/var/log/dpkg.log'.
2021/10/17 09:12:37 wazuh-logcollector: INFO: (1950): Analyzing file: '/var/log/kern.log'.
2021/10/17 09:12:37 wazuh-logcollector: INFO: Started (pid: 4159107).
2021/10/17 09:12:38 wazuh-modulesd: INFO: Started (pid: 4159124).
2021/10/17 09:12:38 wazuh-modulesd:agent-upgrade: INFO: (8153): Module Agent Upgrade started.
2021/10/17 09:12:38 wazuh-modulesd:ciscat: INFO: Module disabled. Exiting...
2021/10/17 09:12:38 wazuh-modulesd:osquery: INFO: Module disabled. Exiting...
2021/10/17 09:12:38 sca: INFO: Module started.
2021/10/17 09:12:38 wazuh-modulesd:control: INFO: Starting control thread.
2021/10/17 09:12:38 sca: INFO: Loaded policy '/var/ossec/ruleset/sca/cis_debian10.yml'
2021/10/17 09:12:38 sca: INFO: Starting Security Configuration Assessment scan.
2021/10/17 09:12:38 wazuh-modulesd:syscollector: INFO: Module started.
2021/10/17 09:12:38 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 09:12:38 sca: INFO: Starting evaluation of policy: '/var/ossec/ruleset/sca/cis_debian10.yml'
2021/10/17 09:12:38 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 09:12:41 wazuh-syscheckd: INFO: (6000): Starting daemon...
2021/10/17 09:12:41 wazuh-syscheckd: INFO: (6010): File integrity monitoring scan frequency: 43200 seconds
2021/10/17 09:12:41 wazuh-syscheckd: INFO: (6008): File integrity monitoring scan started.
2021/10/17 09:12:41 rootcheck: INFO: Starting rootcheck scan.
2021/10/17 09:12:50 wazuh-syscheckd: INFO: (6009): File integrity monitoring scan ended.
2021/10/17 09:13:07 rootcheck: INFO: Ending rootcheck scan.
2021/10/17 09:13:17 sca: INFO: Evaluation finished for policy '/var/ossec/ruleset/sca/cis_debian10.yml'
2021/10/17 09:13:17 sca: INFO: Security Configuration Assessment scan finished. Duration: 39 seconds.
2021/10/17 09:13:39 sca: INFO: Integration checksum failed for policy '/var/ossec/ruleset/sca/cis_debian10.yml'. Resending scan results in 147 seconds.
2021/10/17 09:16:15 sca: INFO: Integration checksum failed for policy '/var/ossec/ruleset/sca/cis_debian10.yml'. Resending scan results in 75 seconds.
2021/10/17 09:17:39 sca: INFO: Integration checksum failed for policy '/var/ossec/ruleset/sca/cis_debian10.yml'. Resending scan results in 159 seconds.
2021/10/17 09:21:09 wazuh-logcollector: INFO: (1904): File not available, ignoring it: '/var/log/squid/access.log'.
2021/10/17 10:12:39 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 10:12:40 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 11:12:40 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 11:12:41 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 12:12:41 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 12:12:42 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 13:12:42 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 13:12:43 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 14:12:43 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 14:12:44 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 15:12:45 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 15:12:46 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 16:12:46 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 16:12:47 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 17:12:47 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 17:12:48 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 18:12:48 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 18:12:49 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 19:12:50 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 19:12:50 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 20:12:51 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 20:12:51 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 21:12:38 sca: INFO: Starting Security Configuration Assessment scan.
2021/10/17 21:12:38 sca: INFO: Starting evaluation of policy: '/var/ossec/ruleset/sca/cis_debian10.yml'
2021/10/17 21:12:51 wazuh-syscheckd: INFO: (6008): File integrity monitoring scan started.
2021/10/17 21:12:52 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 21:12:52 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 21:13:08 wazuh-syscheckd: INFO: (6009): File integrity monitoring scan ended.
2021/10/17 21:13:08 rootcheck: INFO: Starting rootcheck scan.
2021/10/17 21:13:17 sca: INFO: Evaluation finished for policy '/var/ossec/ruleset/sca/cis_debian10.yml'
2021/10/17 21:13:17 sca: INFO: Security Configuration Assessment scan finished. Duration: 39 seconds.
2021/10/17 21:13:36 rootcheck: INFO: Ending rootcheck scan.
2021/10/17 22:12:53 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 22:12:53 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/17 23:12:54 wazuh-modulesd:syscollector: INFO: Starting evaluation.
2021/10/17 23:12:54 wazuh-modulesd:syscollector: INFO: Evaluation finished.
2021/10/18 00:00:10 wazuh-agentd: INFO: Running daily rotation of log files.