Monitoring OPNSense Logs with Grafana Loki (roguesecurity.dev)
from starkzarn@infosec.pub to selfhosted@lemmy.world on 24 Apr 13:57
https://infosec.pub/post/27200076

My first blog series on headscale with traefik through podman quadlets was pretty well received on here. I’m just getting started with this blog, and thought the second topic I recently worked on might be popular in this crowd too: a lower resource method of centralizing logs for OPNSense with Grafana Loki (and Alloy) including geoIP!

#selfhosted

threaded - newest

justme@lemmy.dbzer0.com on 24 Apr 15:35 next collapse

Just what the doctor ordered :) I’ll definitely go through it soon. Thanks for sharing!

starkzarn@infosec.pub on 24 Apr 15:41 collapse

Certainly! Feel free to comment on any hardships, if I notice a glaring omission or something I’m happy to fix it. This is also a pretty new setup for me, so I’m still tweaking and working through what will become part 2 here in Grafana, currently.

fishynoob@infosec.pub on 24 Apr 18:29 next collapse

Oh hey, it’s you again. I hope your blog continues on for some time to come

starkzarn@infosec.pub on 24 Apr 18:38 collapse

🤘

domi@lemmy.secnd.me on 25 Apr 02:51 next collapse

You had me at “No Java”.

starkzarn@infosec.pub on 25 Apr 07:22 collapse

Isn’t it the best? Somehow all the big log and aggregation stacks are java… Elk, graylog, wazuh…

neons@lemmy.dbzer0.com on 26 Apr 14:56 next collapse

Serious question:

Why opensense over openwrt?

What would I want that OpenWRT doesn’t give me? Is there any reason for me to switch?

starkzarn@infosec.pub on 26 Apr 19:26 collapse

Great question, I’ve asked myself the same thing.

First, in my opinion they serve to achieve different things. While openwrt is a firewall, it’d a simple zone based firewall and it designed primarily as router firmware, not firewall software.

Opnsense is BSD based, openwrt is Linux based. Those both haves pros and cons. BSD has serious pedigree in the networking world. Juniper switches are still based on BSD even. Openwrt gets the Linux traffic shaping goodies like cake though.

I chose openwrt because it’s more suited to my environment, where I have 10 VLANs, a 10G fiber core, and want IDS/IPS. Openwrt is meant to be lighter weight, but is less feature-full.

Lem453@lemmy.ca on 26 Apr 15:02 collapse

Do you mind putting some screenshots of what the final dashboard looks like?

Also, how much IO wear and tear does this put on a solid-state drive?

starkzarn@infosec.pub on 26 Apr 19:27 collapse

I would love to if I had them! Haha. I’m working on the dashboard right now, which will be part two.

I don’t have a great answer on the IOPS requirement, but I imagine it’s less than something based on elasticsearch/open search based on the reindexing. I’ll try and benchmark it if possible.