|
| 1 | +# Stream Network Activity to SentinelOne Singularity Data Lake |
| 2 | + |
| 3 | +[SentinelOne Singularity Data Lake](https://www.sentinelone.com/platform/data-lake/) provides a centralized repository for storing and analyzing security data across your organization. By streaming NetBird network activity events to SentinelOne Data Lake, you can correlate network connectivity events with endpoint security data for comprehensive threat detection and investigation. |
| 4 | + |
| 5 | +This integration leverages NetBird's Generic HTTP streaming capability with SentinelOne Singularity Data Lake-specific configurations to ensure seamless data ingestion into your Data Lake environment. |
| 6 | + |
| 7 | +<Note> |
| 8 | + This feature is only available in the cloud version of NetBird. |
| 9 | +</Note> |
| 10 | + |
| 11 | +## Prerequisites |
| 12 | + |
| 13 | +Before you start creating and configuring a SentinelOne Singularity Data Lake event streaming integration, ensure that you have the following: |
| 14 | +- A SentinelOne account with Singularity Data Lake access and appropriate permissions |
| 15 | +- Administrative access to create API keys in your SentinelOne console |
| 16 | + |
| 17 | +## Create a SentinelOne API Token |
| 18 | + |
| 19 | +- Log in to your SentinelOne Management Console and navigate to **Visibility** from the left menu |
| 20 | +- Click on your user email dropdown in the top right toolbar and select **API Keys** |
| 21 | +- Under the **Log Access Keys** section, click **Add Key** dropdown menu and select **Add Write Key** |
| 22 | +- A new API key will be created with access to write logs to Data Lake |
| 23 | +- Click **Copy to Clipboard** and store this token securely. You will need this token when configuring the integration in NetBird. |
| 24 | + |
| 25 | +<p> |
| 26 | + <img src="/docs-static/img/how-to-guides/activity-event-streaming/sentinelone-data-lake/api-key-generation.png" alt="API Key Generation" className="imagewrapper-big"/> |
| 27 | +</p> |
| 28 | + |
| 29 | +## Get the HEC Ingestion URL |
| 30 | + |
| 31 | +Navigate to `https://<your-tenant>.sentinelone.net/docs/en/http-event-collector--hec-.html#http-event-collector--hec-` (replace `<your-tenant>` with your actual SentinelOne tenant) |
| 32 | +to find and copy the HTTP Event Collector base URL from the documentation page. The URL format will be `https://ingest.<region>.sentinelone.net` where `<region>` is your deployment region. |
| 33 | + |
| 34 | +## Create an Integration in NetBird |
| 35 | + |
| 36 | +- Navigate to the **Integrations** tab in the NetBird dashboard and select **Event Streaming** |
| 37 | +- Find the **Generic HTTP** option and click **Connect Generic HTTP** |
| 38 | +- Configure the endpoint URL by entering the full HEC endpoint URL: `https://ingest.<region>.sentinelone.net/services/collector/event` |
| 39 | +- Select **Bearer Token** for authentication and provide the API token you created earlier |
| 40 | + |
| 41 | +<p> |
| 42 | + <img src="/docs-static/img/how-to-guides/activity-event-streaming/sentinelone-data-lake/general-settings.png" alt="General Settings Configuration" className="imagewrapper-big"/> |
| 43 | +</p> |
| 44 | + |
| 45 | +- Enable the custom body template and use the following template optimized for SentinelOne Singularity Data Lake: |
| 46 | + |
| 47 | +```json |
| 48 | +{ |
| 49 | + "id": "{{.ID}}", |
| 50 | + "time": "{{.Timestamp.UnixNano}}", |
| 51 | + "event": "{{.Message}}", |
| 52 | + "initiator_id": "{{.InitiatorID}}", |
| 53 | + "target_id": "{{.TargetID}}", |
| 54 | + "host": "netbird", |
| 55 | + "source": "netbird", |
| 56 | + "sourcetype": "json", |
| 57 | + "fields": "{{.Meta}}" |
| 58 | +} |
| 59 | +``` |
| 60 | + |
| 61 | +<p> |
| 62 | + <img src="/docs-static/img/how-to-guides/activity-event-streaming/sentinelone-data-lake/custom-template.png" alt="Custom Template Configuration" className="imagewrapper-big"/> |
| 63 | +</p> |
| 64 | + |
| 65 | +## Verify the Integration |
| 66 | + |
| 67 | +After configuring the SentinelOne Singularity Data Lake integration in NetBird, you can verify that the integration is working correctly by checking the SentinelOne Singularity Data Lake for incoming events. If the integration is successful, you should see test events from NetBird in your Data Lake. |
| 68 | + |
| 69 | +- Navigate to **Data Lake** > **Search** > **New Search** in your SentinelOne console |
| 70 | +- Select to search **All Data** and filter for recent events with source **netbird** |
| 71 | +- Verify the test events appear with the expected structure |
| 72 | + |
| 73 | +<p> |
| 74 | + <img src="/docs-static/img/how-to-guides/activity-event-streaming/sentinelone-data-lake/verify-integration.png" alt="Verify Integration" className="imagewrapper-big"/> |
| 75 | +</p> |
| 76 | + |
| 77 | +The integration is now set up and ready to stream network activity events to SentinelOne Singularity Data Lake. |
0 commit comments