DPL Evaluations
This page contains the comprehensive list of available evaluations in Data Processing Language (DPL).
The evaluation functions are used to evaluate an event based expression which returns a result. These functions can be used with eval
, fieldformat
and where
transforms but also as part of eval expressions with other transforms.
Only linked functions are currently implemented in Teragrep |
Evaluation function | Description |
---|---|
Returns the absolute value for the number |
|
Calculates the arc cosine of given value |
|
Calculates the arc hyperbolic cosine of given value |
|
Calculates the arc sine of given value |
|
Calculates the arc hyperbolic sine of given value |
|
Calculates the arc tangent of two given values |
|
Calculates the arc tangent of given value |
|
Calculates the arc hyperbolic tangent of given value |
|
Returns the first value that evaluates to TRUE |
|
Rounds up to the next highest integer |
|
Returns the first arbitrary taken argument value which is not NULL |
|
Calculates the cosine of an angle of given value radians |
|
Calculates the hyperbolic cosine of given value radians |
|
Returns the exponential function for the number |
|
Returns FALSE |
|
Rounds down to the next lowest integer |
|
Calculates the hypotenuse of the triangle |
|
Returns either the first or the second argument for boolean expression |
|
in() |
Returns TRUE if one of the specified values matches with the table row |
Returns TRUE if the value is boolean |
|
Returns TRUE if the value is not NULL |
|
Returns TRUE if the value is NULL |
|
Returns TRUE if the value is a number |
|
Returns TRUE if the value is a string |
|
json_append() |
|
json_array_to_mv() |
|
json_array(<value>) |
|
json_extend() |
|
json_extract(<json>,<paths>) |
|
json_keys(<json>) |
|
json_object(<members>) |
|
Returns the count of character amount in the string |
|
Returns TRUE if the first stated value matches with the second one |
|
Returns the natural logarithm for the number |
|
Returns the logarithm of the first value using the second value as the base |
|
Converts the string to lowercase |
|
Trims the specified characters from the left side of string |
|
Returns either TRUE or FALSE, based on whether RegEx matches with the subject |
|
Returns the maximum of the string or the numeric values |
|
Computes the md5 hash for provided value |
|
Returns the minimum of the string or the numeric values |
|
mv_to_json_array() |
|
mvzip() |
|
Returns the search start time |
|
Returns NULL |
|
Returns NULL if the first specified value matches with the second one |
|
Returns the constant pi |
|
Returns the first value to the power of the second given value |
|
printf() |
Creates a string based on provided string format and specified arguments |
Returns the pseudo-random integer, ranging from zero to 231-1 |
|
Returns the UNIX time which is adjusted by the relative time specifier |
|
Replaces specified strings with a new specified string |
|
Rounds the value to the amount of decimal specified in the second given value |
|
Trims the specified characatres from the right side |
|
Returns TRUE if the search string matches with the table row |
|
Calculates the sha1 hash for the provided value |
|
Calculates the sha512 hash for the provided value |
|
Calculates the sha256 hash for the provided value |
|
Calculates the sine of given value |
|
Calculates the hyperbolic sine of given value |
|
Based on the location path, extracts the value from a structured data type (XML or JSON) |
|
Splits the first given value by the second delimited given value |
|
Returns the square root of the value |
|
Takes the UNIX time and renders into a human readable format |
|
Takes the human readable time and renders into the UNIX time |
|
Returns a substring based on the starting position and the length |
|
Calculates the tangent of given value |
|
Calculates the hyperbolic tangent of given value |
|
Creates a new timestamp by obtaining the current instant from the system clock |
|
Converts the value to a number |
|
Converts the value to a string |
|
Trims the specified characters from both sides of the string |
|
Returns TRUE |
|
Returns a string which indicates the type |
|
Converts the string to uppercase |