Thank you, I made a little bit progress but I think I got another issue with the ' charachter enclosing the username xxx.yyy
What my decoder looks like:
<decoder name="ArubaSwitchLogin">
<prematch>03362 auth:</prematch>
</decoder>
<decoder name="ArubaSwitchLoginParse">
<parent>ArubaSwitchLogin</parent>
<regex>User "[A-Za-z0-9]+(?:\.[A-Za-z0-9]+)*" logged in from "(\d+.\d+.\d+.\d+)" to SSH session</regex>
<order>user, srcip</order>
</decoder>
my testresult of the logline:
**Messages:
WARNING: (7003): 'c77161a0' token expires
INFO: (7202): Session initialized with token '7e52b9b3'
**Phase 1: Completed pre-decoding. full event: 'Apr 20 09:37:56 192.168.150.244 03362 auth: User 'xxx.yyy' logged in from 172.23.20.213 to SSH session'
timestamp: 'Apr 20 09:37:56'
hostname: '192.168.150.244'
**Phase 2: Completed decoding.
name: 'ArubaSwitchLogin'
**Phase 3: Completed filtering (rules).
id: '100005'
level: '5'
description: 'ArubaSwitch grouping rule'
groups: '["local","syslog","sshd"]'
firedtimes: '1'
mail: 'false'
**Alert to be generated.
As it seems the fields user and srcip do not get mapped. as soon as I want to escape the ' character the decoder will not save and gives me an error.