-
How can I test the created Correlation rule? I am writing a sample correlation rule Rule version v1.0.0
However, it cannot generate alarms, how can I check why it does not generate, or how can I create this rule correctly. logx.traefik.message {"ClientAddr":"94.55.60.203:45707","ClientHost":"94.55.60.203","ClientPort":"45707","ClientUsername":"-","DownstreamContentSize":0,"DownstreamStatus":404,"Duration":1225165,"OriginContentSize":0,"OriginDuration":1063088,"OriginStatus":204,"Overhead":162077,"RequestAddr":"api.xxxx.com","RequestContentSize":0,"RequestCount":1388894,"RequestHost":"api.xxxx.com","RequestMethod":"OPTIONS","RequestPath":"/api/UserVallet/GetUserVallet","RequestPort":"-","RequestProtocol":"HTTP/2.0","RequestScheme":"https","RetryAttempts":0,"RouterName":"backend-app-https@swarm","ServiceAddr":"10.0.1.246:5005","ServiceName":"backend-app@swarm","ServiceURL":"http://10.0.1.246:5005","StartLocal":"2025-01-20T14:45:14.225476445Z","StartUTC":"2025-01-20T14:45:14.225476445Z","TLSCipher":"TLS_AES_128_GCM_SHA256","TLSVersion":"1.3","entryPointName":"https","level":"info","msg":"","time":"2025-01-20T14:45:14Z"} |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @oguz6578 your rule code is wrong, the 'save' part has not allowed aliases, please check our documentation. Best regards |
Beta Was this translation helpful? Give feedback.
-
After the rule is ok, you must generate logs according to the conditions (5 occurrences of status 404 within 5 minutes). |
Beta Was this translation helpful? Give feedback.
Hi @oguz6578 your rule code is wrong, the 'save' part has not allowed aliases, please check our documentation.
Best regards