Skip to content

Instantly share code, notes, and snippets.

@wpcarro
Created February 18, 2023 02:26
Show Gist options
  • Save wpcarro/e044539e35c189636fca3491becb4510 to your computer and use it in GitHub Desktop.
Save wpcarro/e044539e35c189636fca3491becb4510 to your computer and use it in GitHub Desktop.
Debugging benthos pipeline
input:
sql_raw:
driver: mssql
dsn: sqlserver://${USER}:${PASS}@some.place.com
query: |
select * from blah
output:
file:
path: '/tmp/stuff/${! json("filename") }'
codec: all-bytes
processors:
- mapping: |
root = this.binaryid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment