Build Your First Pipeline
Create a simple log processing pipeline using the Expanso Cloud pipeline builder.
What You'll Build
A pipeline that:
- Reads log files from your node
- Filters for ERROR-level logs
- Outputs to stdout (visible in daemon logs)
Create the Pipeline
- In your network, go to Pipelines tab
- Click Create Pipeline
- Enter name:
error-log-filter - Click Open Pipeline Builder
Configure Input
- Click Add Input
- Search for and select File
- Configure:
paths:
- /var/log/*.log - Click Save
This reads all .log files from /var/log/.
Add Processor
- Click + to add a processor
- Select Mapping (uses Bloblang)
- Add this filter:
# Only keep ERROR logs
root = if this.contains("ERROR") {
this
} else {
deleted()
} - Click Save
Configure Output
- Click Add Output
- Select STDOUT
- Configure:
codec: lines - Click Save
Deploy Pipeline
- Click Save & Deploy
- Select your node (or use label selectors)
- Click Deploy
The pipeline deploys to your node within seconds!
What's Next?
Tips
Visual flow: Your pipeline shows: File → Filter → STDOUT
Edit anytime: Click the pipeline to edit and redeploy
Multiple outputs: Add more outputs to send data to multiple destinations
Learn Bloblang: See Bloblang Guide for advanced transformations