15
Logging for Unifi (lemmy.world)

Looking to setup a syslog service for my home lab, more to better troubleshoot issues with random hardline disconnects from the switches. I was told that syslog stack would be the best thing especially for long term use. My question is, that the best option or would y'all suggestion something else? I have been looking at greylog/elk/Loki, but can't decide nor does anyone in my circle use anything to help Collect syslogs 🙄

top 5 comments
sorted by: hot top controversial new old
[-] RespectfullyNo@sh.itjust.works 2 points 1 year ago

Splunk. The search tool is great, but has a bit of a learning curve to get it set up right. Watch some vids and you’ll be fine.

I only point a few devices at it and have been able to slide by with the free version for awhile now.

[-] Goombalover3000@lemmy.world 2 points 1 year ago
[-] RespectfullyNo@sh.itjust.works 3 points 1 year ago

If unifi supports syslog, then yes (I think it does but I don’t have it set up personally)

[-] InverseParallax@lemmy.world 0 points 1 year ago

My udm is basically running either debian or Ubuntu with all the major apt packages so everything should work, though I don't think most of the logs go through syslog, many go into their mongodb database I think.

[-] solidgrue@lemmy.world 2 points 1 year ago

Sure, you could set up any syslog receiver stack like Splunk (as the other OP suggested) or an ELK Stack or even just syslog-ng or rsyslog to disk. Anything that can ingest syslog format will handle Unifi logs.

Decide how you want to receive, store and parse your logstream data. Once you have a syslog receiver set up, set Unifi (System > Site > Enable Remote Logging) for the Syslog server remote address:port and start shipping logs.

Whatever you do with those logs is out of scope for this discussion, but your logger should at least ingest them and spool them.

this post was submitted on 01 Aug 2023
15 points (89.5% liked)

Selfhosted

39700 readers
668 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS