수학 함수

PantherFlow 수학 함수

circle-info

PantherFlow는 Panther 버전 1.110부터 오픈 베타 상태이며 모든 고객이 사용할 수 있습니다. 버그 리포트와 기능 요청은 Panther 지원팀에 공유해 주세요.

math.abs()

math.abs(value: number) -> number

숫자 식의 절대값을 반환합니다.

예:

panther_logs.public.aws_alb
| project net_bytes=math.abs(reveivedBytes-sentBytes)

math.ceil()

math.ceil(value: number [, precision: int]) -> number

다음을 반환합니다 지정된 값까지 올림합니다 정밀도 소수 자릿수.

예:

panther_logs.public.aws_alb
| summarize avg=agg.avg(receivedBytes) by ip_address
| project avg=math.ceil(avg, 2)

math.floor()

math.floor(value: number [, precision: int]) -> number

다음을 반환합니다 지정된 값까지 내림합니다 정밀도 소수 자릿수.

예:

math.round()

math.round(value: number [, precision: int]) -> float

지정된 정밀도로 반올림된 값을 반환합니다.

예:

마지막 업데이트

도움이 되었나요?