I want to save my logs into /var/log
so that I can send them to the Siem platform, because the platform is unable to receive them from /opt/log
. The logs are saved into /opt/log
because I am using a third party application.
Asked
Active
Viewed 422 times
0

Bovine
- 534
1 Answers
0
You could use a symbolic link to point the directory /opt/log
to /var/log
instead.
First make a backup copy of /opt/log
:
sudo mv /opt/log /opt/log_backup
Then create the link:
sudo ln -s /var/log /opt/log

Bovine
- 534
/opt/logs
that points to/var/log
? – Bovine Jan 09 '22 at 04:16