On This Page

Home / Search/ Language Reference/ Functions/ Scalar Functions/Dynamic Functions

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.

NameDescription
bag_has_keyChecks whether a property bag contains a given key.
bag_keysLists all root keys of a property bag.
bag_mergeMerges multiple property bags, discarding duplicate keys.
bag_packCreates a property bag from an alternating list of keys and values.
bag_pack_columnsCreates a property bag from a list of columns.
bag_remove_keysRemoves key-value pairs from a property bag.
bag_set_keyAdds or overwrites a key-value pair in a property bag.
bag_zipCreates a property bag from two dynamic arrays.
make_bagCreates a property bag from multiple input bags.
make_bag_ifCreates a property bag from those input bags that meet the specified condition.
zipMerges dynamic arrays, grouping elements by index.

The following string functions support dynamic types as well:

FunctionUsage 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.