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 Settings
section - AI Settings > [X] I have read and understand the AI disclaimer
- Click
Turn On Cribl Copilot
- Click
Stream Home
On the left navigation
Let's configure a datagen
to generate some sample Palo Alto traffic logs:
- Still in the
Stream > default
Worker Group, at the top, click intoRouting > QuickConnect
. - Click
Add Source
. - Find and click on the
Datagen
tile. - 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 Destination
at the top right - Select
Cribl Lake
and 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_traffic
Datagen Source on the left, drag a connection over to thesbx_logs
Cribl Lake Destination on the right, and release - In the resulting pop-up, leave
Passthru
selected 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 & Deploy
I don't have that button...If you are seeing separate
Commit
andDeploy
buttons, clickCommit
instead.
- In the resulting window, click
Commit & Deploy
in 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.