Decompressing logs

Note

Note

Access Gateway logs are downloaded as .tar.gz files and require tools such tar and gunzip to decompress.

To decompress a log file:

  1. Navigate to the directory where the combination log was downloaded and then uncompress.

    cd ~/Downloads/
    tar -xvf oag.okta.com-20200624.tar.gz oag.okta.com/ x oag.okta.com/access/ x oag.okta.com/access/access.log.gz . . . x oag.okta.com/unbound/ x oag.okta.com/unbound/unbound.log.gz

  2. 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