Skip to content

Conversation

@shedowe19
Copy link

Adds ShieldPM (https://github.com/shedowe19/ShieldPM) collection and parser.

  • Collection: shedowe19/shieldpm
  • Parser: shedowe19/shieldpm-logs (supports JSON access logs and error logs)

@shedowe19
Copy link
Author

?

# ShieldPM uses JSON log format for access logs
nodes:
# JSON Access Log Parser
- filter: "evt.Line contains '{' && evt.Line contains 'remote_addr'"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can most likely use the same functions as the traefik parser UnmarshalJSON its more performant as JsonExtract does a reflection each time called (more garbage collector strain)

@LaurenceJJones
Copy link
Member

LaurenceJJones commented Jan 23, 2026

One comment, the only thing I dont know how popular your fork of npmplus is? if its your own personal fork then it might just be best for you to have it as your own parser in your repo rather than committing it to the hub for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants