hub1/parsers/s00-raw/crowdsecurity/unifi-logs.md
raw| 1 | # Unifi syslog parser |
| 2 | |
| 3 | This is a parser for syslog logs received from an Unifi device. |
| 4 | |
| 5 | Those logs are sligthly non-conformant to the syslog standard, hence the need for a custom parser. |
| 6 | |
| 7 | ## Example configuration |
| 8 | |
| 9 | As crowdsec does not run easily directly on an UDM, you'll likely want to setup syslog export on your UDM, and use the following acquisition config: |
| 10 | |
| 11 | ``` |
| 12 | source: syslog |
| 13 | listen_addr: 0.0.0.0 |
| 14 | listen_port: 4242 |
| 15 | labels: |
| 16 | type: unifi |
| 17 | ``` |