# 6 支持的函数

|函数组|<|函数| |-|------------|------------------------------------ -----| |聚合函数|<|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, fuzzytime, last, logeventid, logseverity, logsource, 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| |运算符函数|<|之间，在| |预测函数|<|forecast, timeleft| |字符串函数|<|ascii, bitlength, bytelength, char, concat, insert, left, length, ltrim, mid, repeat, replace, right, rtrim, trim|

Foreach 函数仅支持 聚合计算

<%= selection %>
To toggle highlighting press: Ctrl+Alt+H
Have an improvement suggestion for this page? Select a text that could be improved and press Ctrl+Enter to send it to editors.
To toggle highlighting press: Command+Alt+H
Have an improvement suggestion for this page? Select a text that could be improved and press Command+Enter to send it to editors.
Suggest an example