I'd like to now if it is possible to insert patterns that were previously written in new regular expressions when using logstash.
For example, will the code like that be possible when implementing my own patterns?
EXPBEGIN (([A-Za-z0-9]{0,20})(\-)?([A-Za-z0-9]{0,20})(\.[A-Za-z0-9]{0,20})?(\,)*([A-Za-z0-9]{0,20}(\-?[A-Za-z0-9]{0,20})*)(\.[A-Za-z0-9]{0,20})?)+
EXP_1 ([a-z]{5,5})\s\-([A-Za-z])\s([a-z]{4,4})\s\-([A-Za-z])\s(?:%{EXPBEGIN})
EXP_2 (\-([A-Za-z]\s(?:%{EXPBEGIN})\s[a-z]{5,5})\s\-([A-Za-z])\s([a-z]{4,4}))
Aucun commentaire:
Enregistrer un commentaire