I made a project for this earlier this year: https://github.com/solomon-b/friendly-ghost/
You can can read from Loki or Journald and use regex or alert levels to filter what you pass to the LLM.
I've been using it with deepseek for my homelab. Its pretty helpful.