Tengo macOS unificado de registros de Sistema en .logarchive formato. Cualquier intento de analizar la .logarchive en el Sistema B usando log show
comando proporciona la siguiente error:
bash-3.2#log show /tmp/unifiedlogsv2/unifiedlogs.logarchive
==========
/private/tmp/unifiedlogsv2/unifiedlogs.logarchive
==========
log: Archive format needs updating (to version 3), doing so will render the archive unreadable by older tools.
Re-run log with --force if you want to allow this upgrade
Cuando se ejecuta con --force
opción, se muestra el siguiente error:
bash-3.2# log show --force /tmp/unifiedlogsv2/unifiedlogs.logarchive|more
log: warning: The log archive contains partial or missing metadata
log: Could not open log archive: The log archive format is corrupt and cannot be read
==========
/private/tmp/unifiedlogsv2/unifiedlogs.logarchive
==========
El mismo logarchive abre bien en la Consola. Mi objetivo es analizar la logarchive el uso de la log show
comando. Alguna sugerencia de cómo hacerlo?