수학 함수

PantherFlow 수학 함수

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

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

예시:

마지막 업데이트

도움이 되었나요?