r/linuxadmin • u/Entire_Yoghurt_6381 • 4d ago
Our security lead asked who ran sudo on the database servers last quarter and logrotate kept four weeks
[removed]
0
Upvotes
r/linuxadmin • u/Entire_Yoghurt_6381 • 4d ago
[removed]
8
u/EmbeddedEntropy 4d ago
We copy all logs to remote servers owned by the security team. It’s up to them to decide when or if their remote copies are finally purged. It’s also easier for them to run and rerun their various security scans to their hearts’ content too without impacting prod.
7
u/autotom 4d ago
Really depends how big the environment is, and how important that data is to you.
Got a SIEM already? if so, use that.
Otherwise, check out OpenSearch
19
u/chrisnetcom 4d ago edited 4d ago •
Heads up: this account appears to exist mainly to promote Logmanager. The OP seems to post from several alternate accounts to push the product, and comments that call this out tend to get buried in downvotes. Worth keeping in mind before taking any recommendations here at face value. All these accounts are already banned by BotBouncer.
https://imgur.com/a/RfxVF6y
https://imgur.com/a/KxbD64Y
https://imgur.com/a/NNqwLLH
https://imgur.com/a/DzesTjN
https://imgur.com/a/qDC6fFP
6
u/Loud_Posseidon 4d ago
Based on https://www.reddit.com/r/linuxadmin/s/nBxth3RcVb, I'd totally avoid LogManager with their shady business practices.
Given we live in an AI world, I'd just go with something like rsyslog and/or ELK stack asking AI for full steps to build data lake for such data.
5
u/notmylargeautomobile 4d ago
I’d suggest implementing something like Wazuh.
5
u/gzk 4d ago •
Do people not run syslog servers anymore? I mean if you want to integrate your syslog data with a fancy observability / logging pipeline, you can certainly do that, but the simplest and most direct answer to your question that doesn't involve increasing local retention in logrotate is to use a central syslog service
4
u/buzzsawcode 4d ago
Central log server - can be as simple as a syslog server (rsyslog + RELP recommended), or fancy like a Splunk or Graylog.
3
u/xonxoff 4d ago
Opentelemetry paired either anyofnthe following : opensearch, clickhouse or greptime are all decent options for remote logging.
2
u/Runnergeek 4d ago
Absolutely DO NOT use Logmanager, its a trash product. There are lots of free solutions. rsyslog does a great job, you can great multiple systems and load balance so you have HA.
1
u/kingnicky9 2d ago
OpenSearch