You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

1h 46m 24s logged

SSH Auth Log Pipeline

damn it was easier than i thought
so i made the complete SSH authentication failure and success events pipeline
__
what happens is the lil bro (agent) reads the systemd journal logs (yes it only supports this for now T__T) by executing the command journalctl -f -u sshd -o json --since now which basically makes it run the journalctl like tail command so it streams out the logs only when they are ingested.
__
the logs are in JSON format which then gets is handled by Auth Collector in agent, which has parser functions for password failure and success
then its just the normal event pipeline (create event -> send to queue -> worker sends the event to backend)
after that it is displayed on dashboard

next

threshold based rules (first hardcoded, then proper rule table and stuff)

0
2

Comments 0

No comments yet. Be the first!