On this page
5 支持的函数
点击相应的函数组以查看更多详细信息。
| 函数组 | 函数 | |
|---|---|---|
| 聚合函数 | avg, bucket_percentile, count, histogram_quantile, item_count, kurtosis, mad, max, min, skewness, stddevpop, stddevsamp, sum, sumofsquares, varpop, varsamp | |
| Foreach 函数 | avg_foreach, bucket_rate_foreach, count_foreach, exists_foreach, last_foreach, max_foreach, min_foreach, sum_foreach | |
| 位运算函数 | bitand, bitlshift, bitnot, bitor, bitrshift, bitxor | |
| 日期和时间函数 | date, dayofmonth, dayofweek, now, time | |
| 历史数据函数 | change, changecount, count, countunique, find, first, firstclock, fuzzytime, last, lastclock, logeventid, logseverity, logsource, logtimestamp, monodec, monoinc, nodata, percentile, rate | |
| 趋势函数 | baselinedev, baselinewma, trendavg, trendcount, trendmax, trendmin, trendstl, trendsum | |
| 数学函数 | abs, acos, asin, atan, atan2, avg, cbrt, ceil, cos, cosh, cot, degrees, e, exp, expm1, floor, log, log10, max, min, mod, pi, power, radians, rand, round, signum, sin, sinh, sqrt, sum, tan, truncate | |
| 运算符函数 | between, in | |
| 预测函数 | forecast, timeleft | |
| 字符串函数 | ascii, bitlength, bytelength, char, concat, insert, jsonpath, left, length, ltrim, mid, repeat, replace, right, rtrim, trim, xmlxpath | |
除非另有说明,这些函数支持以下场景:
Foreach 函数仅支持 聚合计算。