This the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

    Captures

    Sysdig capture files contain system calls and other OS events that can be analyzed with either the open-source sysdig or csysdig (curses-based) utilities, and are displayed in the Captures module.

    The Captures module contains a table listing the capture file name, the host it was retrieved from, the time frame, and the size of the capture. When the capture file status is uploaded, the file has been successfully transmitted from the Sysdig agent to the storage bucket, and is available for download and analysis.

    This section describes how to create capture files in Sysdig Secure.

    This feature is available in the Enterprise tier of the Sysdig product. See https://sysdig.com/pricing for details, or contact sales@sysdig.com.

    If upgrading from Essentials to Enterprise, users must go to Settings>Teams><Your Team> and check the Enable Captures box. They must then log out and log in again. See also: User and Team Administration.

    From June, 2021, the Captures module has moved under the Investigate menu in the nav bar.

    Configure Capture Files

    Store Capture Files

    Sysdig capture files are stored in Sysdig’s AWS S3 storage (for SaaS environments), or in the Cassandra DB (for on-premises environments) by default.

    Create a Capture File

    Capture files can be created in Sysdig Secure either by configuring them as part of a policy, or by manually creating them from the Captures module.

    For more information on creating a capture as part of a policy, see Manage Policies.

    To create a capture file manually:

    1. From the Captures module, click the Take Capture button to open the capture creation window.

    2. Define the name of the capture.

    3. Configure the host and container the capture file should record system calls from.

    4. Define the duration of the capture. The maximum length is 300 seconds (five minutes).

    5. Click the Start button.

    The Sysdig agent will be signaled to start a capture and send back the resulting trace file. The file will then be displayed in the Captures module.

    Delete a Capture File

    1. From the Captures module, select the capture file(s) to be deleted.

    2. Click the Delete (trash can) icon:

    3. Click the Yes (tick) icon to confirm deleting the capture, or the No (cross) icon to cancel.

    Review Capture Files

    Review the Capture File with Sysdig Inspect

    To review the capture file in Sysdig Inspect:

    1. From the Captures module, select the capture file to be deleted.

    2. Click the Inspect (Sysdig logo) icon to open Sysdig Inspect in a new browser tab:

    See also: Quick Menu to Captures from Runtime Events.

    Download a Capture File

    To download a capture file:

    1. From the Captures module, select the target capture file.

    2. Click the Download icon to download the capture file.

    The capture file will now be downloaded to the local machine.

    Disable Capture Functionality

    Sometimes, security requirements dictate that capture functionality should NOT be triggered at all (for example, PCI compliance for payment information).

    To disable Captures altogether, edit the agent configuration file as described in Disable Captures.