Setting Up Data for Copilot
Before we can see Copilot in action with real-world examples, we need to create a data source and destination to work with& enable AI. This setup will provide the foundation for our hands-on exploration of Copilot's capabilities in the following sections.
Lets go to Stream > default Worker Group and create a datagen to generate some sample Palo Alto traffic logs.
Stream has an actual datagen built in for testing purposes. You can upload a sample of your data then configure Stream to push the data into itself at prescribed intervals.
Datagens allow you to apply functions to enrich and transform your data without being in production. Neat!
- In the left navigation pane, click on
Settings - Click
Global Settings - Scroll down to the
AI Settingssection - AI Settings > [X] I have read and understand the AI disclaimer
- Click
Turn On Cribl Copilot - Click
Stream HomeOn the left navigation
Let's configure a datagen to generate some sample Palo Alto traffic logs:
- Still in the
Stream > defaultWorker Group, at the top, click intoRouting > QuickConnect. - Click
Add Source. - Find and click on the
Datagentile. - For
Input ID, enterpalo_traffic. - For the
Datagen > Data Generator File, selectpalo_alto_traffic.log. - Click
Save.
Now, let's set up a destination in Cribl Lake to receive our sample data:
- Still on
Routing > QuickConnect, clickAdd Destinationat the top right - Select
Cribl Lakeand clickAdd New - Configure your new Lake Destination by filling in the following information:
- Output ID:
sbx_logs - Lake dataset:
default_logs
- Output ID:
- Click
Save - Click the
+on thepalo_trafficDatagen Source on the left, drag a connection over to thesbx_logsCribl Lake Destination on the right, and release - In the resulting pop-up, leave
Passthruselected and clickSave
Commit & Deploy Your Changes
Cribl.Cloud runs our products in a distributed architecture. What this means is that our changes, while saved, haven't been pushed out to our workers until we commit and deploy them.
- In the top right, click
Commit & DeployI don't have that button...If you are seeing separate
CommitandDeploybuttons, clickCommitinstead.
- In the resulting window, click
Commit & Deployin the bottom right. :::
Throughout the rest of this sandbox, whenever you see instructions to "Commit & Deploy", you'll need to follow these same steps to apply your changes. We won't repeat the detailed instructions each time.
With our data source and destination configured, we're now ready to explore Copilot's powerful capabilities for transforming logs, starting with the Copilot Editor in the next section.