Replay documentation is a great start!
What are the replay types I should use with : -type log_file_type
I would guess that these match the collection yaml tags.
such as:
cat /etc/crowdsec/collections/apache2.yaml
tags:
- linux
- apache2
- crawl
- scan
so we would have to put type: apache2 not apache or httpd but then I look at:
cat /etc/crowdsec/collections/modsecurity.yaml
tags:
- linux
- web
- waf
so if we want to manual inspect an apache / modsec stack
we have to manually run for each file:
Apache:
crowdsec -dsn file://var/log/httpd/NonDefaultSite/ssl_error_log-20211205-type apache2
crowdsec -dsn file://var/log/httpd/NonDefaultSite/error_log-20211205-type apache2
crowdsec -dsn file://var/log/httpd/NonDefaultSite/access_log-20211205-type apache2
ModSecurity:
crowdsec -dsn file://var/log/httpd/NonDefaultSite/modsec_audit.log-20211205 -type waf
crowdsec -dsn file://var/log/httpd/NonDefaultSite/mod_jk.log-20211205-type waf
crowdsec -dsn file://var/log/httpd/NonDefaultSite/mod_rewrite-20211205-type waf
Are the above collection types for manually loading files into Metabase dashboard correct?
Thank you!