Collect Cribl Stream logs
Parser Version: 1.0
This document explains how to ingest Cribl Stream logs to Google Security Operations using the built-in Google SecOps destination. Cribl Stream produces operational data in the form of logs, metrics, and events. This integration lets you send these logs to Google SecOps for analysis and monitoring.
Before you begin
Make sure you have the following prerequisites:
- A Google SecOps instance.
- Access to Cribl Stream management console or cluster.
- Google Cloud service account credentials.
Get Google SecOps credentials
To authenticate Cribl Stream to Google SecOps, choose one of the following methods:
- New deployments: Use the Chronicle API (Option 1).
- Legacy deployments: Continue using the ingestion authentication file (Option 2) until the Ingestion API is discontinued on July 20, 2027.
Option 1: Create a service account for the Chronicle API (recommended)
- Sign in to the Google Cloud console and select the Google Cloud project that is linked to your Google SecOps instance.
- Go to IAM & Admin > Service Accounts.
- Click Create service account.
- Provide the following configuration details:
- Service account name: Enter a name for the account (for example,
cribl-stream-ingest). - Service account description: Enter a description (for example,
Cribl Stream log ingestion).
- Service account name: Enter a name for the account (for example,
- Click Create and continue.
- In the Grant this service account access to project section, click Select a role and select Chronicle Editor.
- Click Continue, and then click Done.
- Click the service account you created, and then go to the Keys tab.
- Click Add key > Create new key.
- Select JSON and click Create. The key file is downloaded to your computer.
- Save the key file securely for use in the Cribl Stream destination configuration.
Option 2: Download the ingestion authentication file (legacy)
- Sign in to the Google SecOps console.
- Go to SIEM Settings > Collection Agents.
- Download the ingestion authentication file.
- Save the file securely for use in the Cribl Stream destination configuration.
Configure Google SecOps destination in Cribl Stream
- Sign in to the Cribl Stream Management Console.
- Go to Data > Destinations.
- Click Add Destination.
- Select Google Cloud > Security Operations (SecOps).
- Provide the following configuration details:
- Output ID: Enter a unique name (for example,
google-secops-destination). - Description: Enter a description for this destination.
- Send events as: Select Unstructured (recommended for standard log parsing).
- API version: Select V2.
- Default log type: Select CRIBL_STREAM from the list.
- Optional: Namespace: Enter a namespace to identify logs from this source (for example,
cribl-logs).
- Output ID: Enter a unique name (for example,
- In the Authentication section:
- Authentication method: Service account (JSON).
- Service account key: Upload or paste the JSON credentials file content.
- In the Processing section:
- Log text field: Optionally enter
_raw. If not set, Cribl will send JSON representation of the entire event; use_rawonly if you actually store raw text in this field.
- Log text field: Optionally enter
- Click Save.
Create a route to send Cribl Stream logs
- Go to Data > Routes.
- Click Add Route.
- Provide the following configuration details:
- Route name: Enter a meaningful name (for example,
cribl-logs-to-secops). - Filter: Enter
source.match(/cribl.*/)to capture Cribl internal logs (operational logs from Cribl itself). - Output: Select the Google SecOps destination created in the previous section.
- Pipeline: Select passthru or create a custom pipeline for log enrichment.
- Route name: Enter a meaningful name (for example,
- Click Save.
- Commit & Deploy the configuration to apply changes.
Configure log filtering and enrichment (Optional)
If you need to filter or enrich Cribl Stream logs before sending to Google SecOps:
- Go to Data > Pipelines in Cribl Stream.
- Click Add Pipeline.
- Provide the following configuration details:
- Pipeline ID: Enter a meaningful name (for example,
cribl-log-processing). - Description: Enter a description for the pipeline.
- Pipeline ID: Enter a meaningful name (for example,
- Add functions as needed:
- Eval: Add metadata fields or modify existing fields.
- Regex Extract: Extract specific information from log messages.
- Drop: Remove unnecessary events or fields.
- Mask: Redact sensitive information.
- Click Save.
- Update your route to use this pipeline instead of passthru.
Change Log
View the Change Log for this parser
Need more help? Get answers from Community members and Google SecOps professionals.