Modify the local for logs

Hi, folks. I need to modify the directory to save the things about logs. Example: i want to save the logs collected for visualization on /mnt/log. So, how can i do that? Someone can give me anything for do?

Informations:
SO: Debian 11.9, alredy updated.

Graylog Version: 4.0 (Only graylog-server - the open)
Elastic Search Version: 7.10.2 (elasticsearch-oss)
MongoDB Version: v4.2.25 (mongodb-org)

Configurations is default

If someone can help my on thi problem… I just want to save all the logs recivied on the inputs in my /mnt/logs