News for hackers. Stuff that matters.
Re:The boring technology behind a one-person Internet compan... by grouseway on Wednesday November 03, 2021 @04:48PM (#29100067)
I'm currently reading logs via command line by ssh as you describe for a simple service and not satisfied with this. What would be a step up without a lot of extra infrastructure?
Re:The boring technology behind a one-person Internet compan... by cbzbc on Wednesday November 03, 2021 @06:46PM (#29101473)
Log forwarding to a single server running rsyslogd, and then view consolidated logs there.
Re:The boring technology behind a one-person Internet compan... by dfinninger on Wednesday November 03, 2021 @05:49PM (#29100771)
I’ve personally used Graylog[1] with success in the past. However, I’ve had an excellent time with Grafana and have been following their Loki[2] project. My company uses other solutions, so I haven’t needed it, but the Grafana stack might suit your use case.

[1] https://www.graylog.org/products/open-source [2] https://grafana.com/docs/loki/latest/

Re:The boring technology behind a one-person Internet compan... by Sammi on Wednesday November 03, 2021 @05:54PM (#29100830)
The question was: "What would be a step up [from ssh] without a lot of extra infrastructure?"

I think you just way overshot it.

My attempt at a simple step up would be mounting the logs with sshfs and using your favorite editor.

Re:The boring technology behind a one-person Internet compan... by bckygldstn on Wednesday November 03, 2021 @08:53PM (#29102491)
Run vector [1] on each host to collect logs and send them to New Relic's free tier.

No need to manage extra infrastructure for logging, New Relic works pretty well and also has alerts, and Vector makes it easy to move to a new provider or self-hosted solution without reinstalling agents: just add a new sink to your config file.

[1] https://github.com/vectordotdev/vector

Re:The boring technology behind a one-person Internet compan... by turtlebits on Wednesday November 03, 2021 @06:43PM (#29101423)
New Relic has a free tier, just install their agent (or another compatible logging agent).