{ "title": "a10_lsn_tcp_quota_exceeded", "description": "A10 ACOS LSN (Large Scale NAT/CGNAT): a subscriber hit their per-user TCP session quota - real service impact (new TCP connections for that user get dropped until it frees up). Built from real captured A10 syslog output. Note: a line can list multiple 'ip(count)' pairs (one per affected user in that batch) - this rule captures only the first for triage; the full list stays in the raw message.", "source": "rule \"a10_lsn_tcp_quota_exceeded\"\nwhen\n contains(to_string($message.message), \"LSN: TCP user-quota exceeded\")\nthen\n set_field(\"vendor\", \"a10\");\n set_field(\"event_type\", \"lsn_tcp_quota_exceeded\");\n set_field(\"severity_tag\", \"critical\");\n let m = regex(\"User\\\\(Count\\\\) (\\\\S+)\\\\((\\\\d+)\\\\)\", to_string($message.message), [\"ip\",\"count\"]);\n set_field(\"lsn_user_ip\", m[\"ip\"]);\n set_field(\"lsn_user_count\", to_long(m[\"count\"]));\nend" }