Mac OS Log Collection

%3CLINGO-SUB%20id%3D%22lingo-sub-1513437%22%20slang%3D%22en-US%22%3EMac%20OS%20Log%20Collection%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1513437%22%20slang%3D%22en-US%22%3E%3CP%3EReviewing%20the%20information%26nbsp%3B%20on%20Mac%20OS%20shell%20scripting%20I%20understand%20different%20logs%20can%20be%20collected%20and%20reported%20on.%3C%2FP%3E%3CP%3E-ERR%3AREF-NOT-FOUND-%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fintune%2Fapps%2Fmacos-shell-scripts%23collect-device-logs%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fintune%2Fapps%2Fmacos-shell-scripts%23collect-device-logs%3C%2FA%3E%3C%2FP%3E%3CP%3EHas%20anyone%20been%20able%20to%20pull%20all%20logs%20from%20the%20following%20directories%3F%3C%2FP%3E%3CUL%3E%3CLI%3E%3CSTRONG%3ESystem%20Log%20Folder%3C%2FSTRONG%3E%3A%20%2Fvar%2Flog%3C%2FLI%3E%3CLI%3E%3CSTRONG%3ESystem%20Log%3C%2FSTRONG%3E%3A%20%2Fvar%2Flog%2Fsystem.log%3C%2FLI%3E%3CLI%3E%3CSTRONG%3ESystem%20Application%20Logs%3C%2FSTRONG%3E%3CSPAN%3E%3A%20%2FLibrary%2FLogs%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FUL%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1513437%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Elog%20collection%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Elogs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMac%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Emac%20os%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
Occasional Contributor

Reviewing the information  on Mac OS shell scripting I understand different logs can be collected and reported on.

https://docs.microsoft.com/en-us/mem/intune/apps/macos-shell-scripts#collect-device-logs

Has anyone been able to pull all logs from the following directories?

  • System Log Folder: /var/log
  • System Log: /var/log/system.log
  • System Application Logs: /Library/Logs
0 Replies