Dynamic Functions
A list of all dynamic functions supported by Cribl Search.
Dynamic scalar functions allow you to manipulate objects by operating on dynamic
values, including dynamic arrays
and property bags.
Name | Description |
---|---|
bag_has_key | Checks whether a property bag contains a given key. |
bag_keys | Lists all root keys of a property bag. |
bag_merge | Merges multiple property bags, discarding duplicate keys. |
bag_pack | Creates a property bag from an alternating list of keys and values. |
bag_pack_columns | Creates a property bag from a list of columns. |
bag_remove_keys | Removes key-value pairs from a property bag. |
bag_set_key | Adds or overwrites a key-value pair in a property bag. |
bag_zip | Creates a property bag from two dynamic arrays. |
make_bag | Creates a property bag from multiple input bags. |
make_bag_if | Creates a property bag from those input bags that meet the specified condition. |
zip | Merges dynamic arrays, grouping elements by index. |
The following string functions support dynamic
types as well:
Function | Usage with dynamic data types |
---|---|
extractjson(`path,object`) | Uses path to navigate into object. |
parse_json(`source`) | Turns a JSON string into a dynamic object. |
range(`from,to,step`) | Generates an array of values. |