
Standard Asset Bundle
Teraslice standard processor asset bundle
Operations
- accumulate
- accumulate_by_key
- add_key
- add_short_id
- copy_field
- copy_metadata_field
- count_by_field
- count_unique
- data_generator
- data_window_to_array
- date_router
- debug_routes
- dedupe
- drop_field
- drop_field_conditional
- extraction
- field_router
- filter
- filter_by_date
- filter_by_required_fields
- filter_by_unknown_fields
- group_by
- hash_router
- json_parser
- key_router
- match
- output
- post_process
- remove_empty_fields
- remove_key
- routed_sender
- sample_exact
- sample_exact_es_percent
- sample_random
- selection
- set_field
- set_field_conditional
- set_key
- sort
- stdout
- transform
- window
Entities
Releases
You can find a list of releases, changes, and pre-built asset bundles here.
Getting Started
This asset bundle requires a running Teraslice cluster. Documentation.
This project uses pnpm as its package manager. pnpm comes bundled with Node.js via Corepack, so no separate installation is needed. Just enable it:
corepack enable
# Step 1: make sure you have teraslice-cli installed
pnpm add -g teraslice-cli
# Step 2:
# teraslice-cli assets deploy <cluster_alias> <asset-name[@version]>
# deploy the latest release to a teraslice cluster
teraslice-cli assets deploy localhost terascope/standard-assets
# or deploy a specific version to a teraslice cluster
teraslice-cli assets deploy localhost terascope/standard-assets@1.3.4
# or build from source and deploy to a teraslice cluster
teraslice-cli assets deploy localhost --build
Development
Tests
Run the standard-assets tests
pnpm test
Build
Build a compiled asset bundle to deploy to a teraslice cluster.
Install Teraslice CLI:
pnpm add -g teraslice-cli
teraslice-cli assets build
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
MIT licensed.