give a warning in documentation if syslog-logs parser is missing (#120)

This commit is contained in:
FaricaUnknown 2020-07-08 10:43:16 +02:00 committed by GitHub
parent 98297f741f
commit 680c5c14ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,12 @@
!!! info !!! info
Please ensure that you have working env or setup test environment before writing your parser. Please ensure that you have working env or setup test environment before writing your parser.
!!! warning "Parser dependency"
The crowdsecurity/syslog-logs parsers is needed by the core parsing
engine. Deletion or modification of this could result of {{crowdsec.name}}
being unable to parse logs, so this should be done very carefully.
> In the current example, we'll write a parser for the logs produced by `iptables` (netfilter) with the `-j LOG` target. > In the current example, we'll write a parser for the logs produced by `iptables` (netfilter) with the `-j LOG` target.
> This document aims at detailing the process of writing and testing new parsers. > This document aims at detailing the process of writing and testing new parsers.
@ -410,4 +416,4 @@ statics:
- meta: http_path - meta: http_path
expression: "evt.Parsed.request" expression: "evt.Parsed.request"
``` ```
</details> --> </details> -->