npmplus parsing
i recently migrated from npm to npmplus and it appears the logs arent being parsed?

33 Replies
Important Information
Thank you for getting in touch with your support request. To expedite a swift resolution, could you kindly provide the following information? Rest assured, we will respond promptly, and we greatly appreciate your patience. While you wait, please check the links below to see if this issue has been previously addressed. If you have managed to resolve it, please use run the command
/resolve
or press the green resolve button below.Log Files
If you possess any log files that you believe could be beneficial, please include them at this time. By default, CrowdSec logs to /var/log/, where you will discover a corresponding log file for each component.
Guide Followed (CrowdSec Official)
If you have diligently followed one of our guides and hit a roadblock, please share the guide with us. This will help us assess if any adjustments are necessary to assist you further.
Screenshots
Please forward any screenshots depicting errors you encounter. Your visuals will provide us with a clear view of the issues you are facing.
© Created By WhyAydan for CrowdSec ❤️
Shows the NPM is tainted and i can’t figure out why it’s not liking it

if you run
cscli collections inspect ZoeyVid/npmplus
it should inform why it is tainted
I can see from the current files it only see the base nginx access log, did you configure all paths like zoeyvid stated in their repo?Yes. Also it’s saying tainted by base-http-scenario

okay did you modify or remove some scanerios?
then you can follow the chain
cscli collections inspect crowdsecurity/base-http-scenarios
No but I am coming from LePresidente NPM is there something I need to change
remediation and scenario are not tied so no.
😕
...why
you can run
cscli collections update ZoeyVid/npmplus --force
and it will force up the collection, but it may updat esome files you may want to keep
so run cscli parsers list
to see if any tained ones you want such as whitelistsunknown flag --force
would it be -f
okay use
install
instead of update
😂
ok its no longer tainted
but now does it work lol

what the configuration set?
the
acquis.d
yes acquis.d/npmplus.yaml
but i also have this in the root crowdsec foler from the lepresedente
appdata/crowdsec/acquis.yaml
f
hmm but from the metrics, I dont see
/data/nginx/
in it?is the path wrong...
is crowdsec in a container or bare metal?
container
and you mounted the npmplus volume / path to crowdsec?

i have docker_host set in crowdsec
and you no longer mounting any other files to
/var/log/nginx
?
so i would remove:
and then update npmplusyou think its interfering?
I think the type wrong
then in the
acquis.d/npmplus.yaml
add /var/log/nginx/*.log
to the filenamesso the acquis.yaml was interfering with the npmplus.yaml
kind off, the type set in the acquis.yaml is the default nginx-proxy-manager but npmplus has it own format
ok it appears to be parsing the logs
file:/var/log/nginx/access.log
but trying bf on radarr from a non local network isnt invoking a ban 😦
also if im giving access to the docker socket then why doesnt metrics show all the containers? do i need too manually list them in the acquis.yaml?