Decompress log files
Access Gateway logs are provided as .tar.gz files, which can be decompressed by using tools like tar and gunzip. To decompress a log file:
-
Navigate to the directory that contains the log file and use tar to decompress the file:cd ~/Downloads/ tar -xvf oag.okta.com-20211206.tar.gz oag.okta.com/ x oag.okta.com/access/ x oag.okta.com/access/access.log.gz . . . x oag.okta.com/audit/ x oag.okta.com/audit/audit.log x oag.okta.com/audit/sudoers.log . . x oag.okta.com/unbound/ x oag.okta.com/unbound/unbound.log.gz
-
Select the directory containing the log of interest and decompress.
cd ~/<instance-name>/all gunzip ics_all.log.gz ls -lha ics_all.log rw-r--r-- 1 <user> <group> 418K Jun 24 11:07 ics_all.log