String Field To Regular Expression Comparison¶
This cube provides regular expression matching. A record will be sent one of the following ports based on the outcome of the match between the regular expression specified by the Regular Expression the value of the record fields specified by Comparison Field:
- match : if the regular expression matches the field value
- failure : if the regular expression does not match the field value
- missing : if the field is missing on the record
Parameter Details¶
Calculation Parameters¶
CPUs (integer) : The number of CPUs to run this cube withDefault: 1 Min: 1 Max: 128
Cube Metrics (string) : Set of metrics to be collectedChoices: cpu, disk, memory, network
Temporary Disk Space (MiB) (decimal) : The minimum amount of disk space in MiB (1048576 B) this cube requires. Due to overhead, request a couple hundred MiB more than required.Default: 5120.0 Min: 128.0 Max: 8589934592
GPUs (integer) : The number of GPUs to run this cube withDefault: 0 Max: 16
Instance Tags (string) : Only run on machines with matching tags (comma separated)Default: “”
Instance Type (string) : The type of instance that this cube needs to be run on
Memory (MiB) (decimal) : The minimum amount of memory in MiBs (1048576 B) this cube requires. Due to overhead, request a couple hundred MiB more than required.Default: 1800 Min: 256.0 Max: 8589934592
Metric Period (decimal) : How often to sample metrics, in secondsDefault: 60 Min: 1 Max: 300
Regular Expression (string) : The regular expression to which the field value will be compared.
Spot policy (string) : Control cube placement on spot market instancesDefault: ProhibitedChoices: Allowed, Preferred, NotPreferred, Prohibited, Required
Field parameters¶
Comparison Field (Field Type: String) : The field on the incoming record that will be matched to the regular expression.
Hardware Parameters¶
Machine hardware requirements
Memory (MiB) (decimal) : The minimum amount of memory in MiBs (1048576 B) this cube requires. Due to overhead, request a couple hundred MiB more than required.Default: 1800 Min: 256.0 Max: 8589934592
Temporary Disk Space (MiB) (decimal) : The minimum amount of disk space in MiB (1048576 B) this cube requires. Due to overhead, request a couple hundred MiB more than required.Default: 5120.0 Min: 128.0 Max: 8589934592
GPUs (integer) : The number of GPUs to run this cube withDefault: 0 Max: 16
CPUs (integer) : The number of CPUs to run this cube withDefault: 1 Min: 1 Max: 128
Instance Type (string) : The type of instance that this cube needs to be run on
Spot policy (string) : Control cube placement on spot market instancesDefault: ProhibitedChoices: Allowed, Preferred, NotPreferred, Prohibited, Required
Instance Tags (string) : Only run on machines with matching tags (comma separated)Default: “”
Metrics Parameters¶
Cube Metric Parameters
Metric Period (decimal) : How often to sample metrics, in secondsDefault: 60 Min: 1 Max: 300
Cube Metrics (string) : Set of metrics to be collectedChoices: cpu, disk, memory, network
Parallel String Field To Constant Value Comparison
The parallel version adds these extra parameters.
Number of messages to distribute at a time (integer) : The maximum number of messages to bundle together for a parallel cube.Default: 1 Min: 1 Max: 65535
Maximum Failures (integer) : The maximum number of times to attempt processing a work itemDefault: 10 Min: 1 Max: 100
Autoscale this Cube (boolean) : If True, let Orion manage the parallelism of this CubeDefault: True
Maximum number of Cubes (integer) : The maximum number of concurrently running copies of this CubeDefault: 1000 Min: 1
Minimum number of Cubes (integer) : The minimum number of concurrently running copies of this CubeDefault: 0
Tip
filename: snowball/logic/field_to_const_logic_str.py