Custom parser in test env. not working

Hi all, I keep getting this error:
Error: unable to install hub in '/home/ubuntu/crowdsec-v1.6.8/tests/hub/.tests/s00-unifi/runtime/hub': stage 'parsers' extracted from '/home/ubuntu/crowdsec-v1.6.8/tests/hub/parsers/parsers' doesn't exist in the hub
Error: unable to install hub in '/home/ubuntu/crowdsec-v1.6.8/tests/hub/.tests/s00-unifi/runtime/hub': stage 'parsers' extracted from '/home/ubuntu/crowdsec-v1.6.8/tests/hub/parsers/parsers' doesn't exist in the hub
parser path: /home/ubuntu/crowdsec-v1.6.8/tests/hub/parsers/s00-raw/s00-unifi-firewall.yaml The parsers path is correct and relative to the hub's root, as described in the docs. (https://docs.crowdsec.net/docs/parsers/create) This is my config:
parsers:
- crowdsecurity/syslog-logs
- ./parsers/s00-raw/s00-unifi-firewall.yaml
scenarios:
- ""
postoverflows:
- ""
log_file: s00-unifi.log
log_type: unifi
parsers:
- crowdsecurity/syslog-logs
- ./parsers/s00-raw/s00-unifi-firewall.yaml
scenarios:
- ""
postoverflows:
- ""
log_file: s00-unifi.log
log_type: unifi
.tests path: /home/ubuntu/crowdsec-v1.6.8/tests/hub/.tests/s00-unifi
3 Replies
CrowdSec
CrowdSec3mo ago
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type /unresolve
© Created By WhyAydan for CrowdSec ❤️
PintjesBier
PintjesBierOP3mo ago
My god, I just had to put it in the crowdsecurity folder inside parsers. Wanted to smash my head into a wall searching for an hour for this.
CrowdSec
CrowdSec3mo ago
Resolving Custom parser in test env. not working This has now been resolved. If you think this is a mistake please run /unresolve

Did you find this page helpful?