Downloading the Instance Console History

Download the instance console history.

    1. Navigate to the Compute Instances list page. If you need help finding the list page, see Listing Instances.
    2. Select an instance.
    3. Select the option you see:
      • From the OS Management tab, scroll down to Console history.
      • Under Resources, select Console history.
    4. In the console history list, for the console history capture that you want to download, from the actions menu (3 dots) select Download, and then save the file.
  • Use the compute console-history get-content command and required parameters to download the instance console history:

    oci compute console-history get-content --file <file_name> --instance-console-history-id <instance-console-history-id>

    Or use a JSON file to set parameters:

    oci compute console-history get-content --from-json <file://path/to/file.json>

    <file://path/to/file.json> is the path to a JSON file that defines the instance details. For information about how to generate an example of the JSON file, see Advanced JSON Options.

    For a complete list of flags and variable options for the Compute service CLI commands, see the command line reference for Compute.

  • For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.

    Use this API operation to download the console history: