2017-04-12 1 views

답변

0

Splunk는 단일 또는 다중 수신자에게 트리거 된 경고를 보내는 옵션을 제공합니다. 15 초마다 경고음을 보내면 약간 극단적으로 들리며 검토해야 할 수도 있습니다 (단, 다른 이야기입니다).

link은 예약 된 알림을 만드는 방법에 대한 좋은 예입니다.

index=main | head 5 | sendemail to=<email address> server=<server info> subject="Here is an email notification" message="This is an example message" sendresults=true inline=true format=raw sendpdf=true 

를 아니면 약간의 독창적 인 공상 경우, 당신은 당신의 검색 출력에 따라 다른 수신자에게 이메일을 보낼 수 있습니다 :

또는, 당신은 또한 사용하여 검색 명령의 통지를 보낼 수 있습니다

을 검색이 경고로 저장됩니다
"error" | stats count | eval recipient=case(count > 3500, "[email protected]", count >= 500, "[email protected]", 1==1, null()) | where isnotnull(recipient) 

'받는 사람'받는 사람 필드에 다음 토큰 행동 '이메일 알림 보내기'를 구성합니다.

$result.recipient$ 
관련 문제