Netskope Log Streaming supports sending log files to GCP Cloud Storage. Provide details for the selected destination type. Destinations supported might offer different features and capabilities. The fields to fill in differ depending on the destination type the user selects.
For the GCP Cloud Storage destination field, fill in the following fields:
- Name of Destination: A human-readable description for the destination.
- Bucket: The name of the storage bucket you created in your Google Cloud account. To learn more: Bucket naming conventions for Google Cloud Storage.
- Path: Optional. The path to the folder within your Google Cloud bucket where you want to store logs. In Google Cloud Storage, paths work as object names. When you enter a custom path, such as netskope/logs/{%Y}, Google Cloud Storage doesn’t create new Netskope, logs, and {%Y} folders in the bucket. Instead, the objects are stored in one bucket and named netskope/logs/{%Y}/filename. To learn more: Object naming guidelines for details.
- Private Key: The complete contents of the service account JSON key file generated and downloaded from your Google Cloud account. Paste the entire JSON object, including all fields such as
type,project_id,private_key_id,private_key,client_email, andclient_id. Do not paste only theprivate_keyvalue — entering the standalone private key (PEM format) results in a credential validation error.
Example format:
{ “type”: “service_account”, “project_id”: “your-project-id”, “private_key_id”: “…”, “private_key”: “—–BEGIN PRIVATE KEY—–\n…\n—–END PRIVATE KEY—–\n”, “client_email”: “your-sa@your-project-id.iam.gserviceaccount.com”, “client_id”: “…”, … }
To create a service account key, see Create and delete service account keys in the Google Cloud documentation.

After you save the destination, Netskope validates the credentials by writing a test file (
netskope-test-file.txt) to your bucket. The presence of this file confirms connectivity and permissions are working. Log stream initialization can take up to 1 hour before event files begin appearing in the bucket. Files are delivered with gzip compression (.gz extension) under the configured path prefix.
