I’m managing a Linux server that generates a lot of large log files, you know. They can be moreover in gigabytes. I want an advanced technique to manage all these.
Viewing logs has been a problem, searching logs are slow, troubleshooting is hard, logrotate is not performing well, consumes a lot of disk space.
/var/log/myapp/*.log {
daily
rotate 7
compress
delaycompress
missingok
notifempty
create 0640 myuser mygroup
sharedscripts
postrotate
/usr/bin/systemctl reload myapp > /dev/null
endscript
}
Help me with this here
I need an efficient viewing tool software, fast searching methods, improved log rotation methods and better disk space management kinda thing.
Kindly, help me in this problem.
New contributor