기타 함수

PantherFlow 기타 함수

circle-info

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

coalesce()

coalesce(value1: any, value2: any, valueN: any, ... ) -> any

인수 목록에서 첫 번째로 null이 아닌 값을 반환합니다.

예:

panther_logs.public.aws_alb
| project firstArn=coalesce(targetGroupArn, chosenCertArn)

toscalar()

toscalar(query: tabular) -> any

쿼리를 스칼라 값으로 변환합니다. 행에 값이 여러 개인 경우 그 값들 중 하나를 임의로 선택합니다. 쿼리가 여러 행을 반환하면 첫 번째 행을 선택합니다.

예:

panther_logs.public.aws_alb
| extend avgBytes = toscalar(panther_logs.public.aws_alb | summarize agg.avg(receivedBytes) by ip_address)
| project biggerMsg = receivedBytes - avgBytes > 0, receivedBytes

마지막 업데이트

도움이 되었나요?