Ive created a custom rule below, when i run it through the test it seems fine - also below but it never appears in the security events in my dashboard
Phase 2: Completed decoding.
name: 'json'
agent.id: '036'
agent.ip: '192.168.16.2'
agent.name: 'WOSL-RRAS-001'
data.win.eventdata.binary: '2C030000'
data.win.eventdata.data: '{BD9BB82F-9A61-0000-5C4B-14BE619AD901}, dddd, 80.209.187.162, The connection was prevented because of a policy configured on your RAS/VPN server. Specifically, the authentication method used by the server to verify your username and password may not match the authentication method configured in your connection profile. Please contact the Administrator of the RAS server and notify them of this error., 0x70'
data.win.system.channel: 'System'
data.win.system.computer: 'WOSL-RRAS-001.Oil.local'
data.win.system.eventID: '20271'
data.win.system.eventRecordID: '26615'
data.win.system.keywords: '0x80000000000000'
data.win.system.level: '3'
data.win.system.message: '"CoId={BD9BB82F-9A61-0000-5C4B-14BE619AD901}: The user dddd connected from 80.209.187.162 but failed an authentication attempt due to the following reason: The connection was prevented because of a policy configured on your RAS/VPN server. Specifically, the authentication method used by the server to verify your username and password may not match the authentication method configured in your connection profile. Please contact the Administrator of the RAS server and notify them of this error."'
data.win.system.providerName: 'RemoteAccess'
data.win.system.severityValue: 'WARNING'
data.win.system.systemTime: '2023-06-14T13:33:31.883184400Z'
data.win.system.task: '0'
decoder.name: 'windows_eventchannel'
full_log: '{"win":{"system":{"providerName":"RemoteAccess","eventID":"20271","level":"3","task":"0","keywords":"0x80000000000000","systemTime":"2023-06-14T13:33:31.883184400Z","eventRecordID":"26615","channel":"System","computer":"WOSL-RRAS-001.Oil.local","severityValue":"WARNING","message":"\"CoId={BD9BB82F-9A61-0000-5C4B-14BE619AD901}: The user dddd connected from 80.209.187.162 but failed an authentication attempt due to the following reason: The connection was prevented because of a policy configured on your RAS/VPN server. Specifically, the authentication method used by the server to verify your username and password may not match the authentication method configured in your connection profile. Please contact the Administrator of the RAS server and notify them of this error.\""},"eventdata":{"binary":"2C030000","data":"{BD9BB82F-9A61-0000-5C4B-14BE619AD901}, dddd, 80.209.187.162, The connection was prevented because of a policy configured on your RAS/VPN server. Specifically, the authentication method used by the server to verify your username and password may not match the authentication method configured in your connection profile. Please contact the Administrator of the RAS server and notify them of this error., 0x70"}}}'
id: '1686749671.2647051532'
location: 'EventChannel'
manager.name: 'pnts-wazuh-001'
timestamp: '2023-06-14T13:34:31.238+0000'
**Phase 3: Completed filtering (rules).
id: '800001'
level: '12'
description: 'Remote Access Failure'
groups: '['RRAS', 'authentication_failed']'
firedtimes: '1'
mail: 'True'
**Alert to be generated.