Vacuuming only deletes archived journal files. The file journald is writing to right now is never touched, so a cleanup on a busy box can free less than you hoped.
--rotate asks journald to close the active files and start new ones. The old ones become archived files that vacuum may remove:
sudo journalctl --rotate
sudo journalctl --vacuum-time=1d
You can put both on one line, and the man page says rotation then happens first:
sudo journalctl --rotate --vacuum-time=1d
After a rotate the journal directory holds a fresh system.journal next to an archived [email protected] file with a long ID in its name. Those @ files are the ones the vacuum options work on.
This is the one for a service that went mad and wrote gigabytes of debug lines in one day, when you want that space back right away rather than waiting for the normal size limit to kick in.
I’d be sure before doing it. Vacuum deletes for real, and with a short time like 1d combined with a fresh rotate you throw away almost all history, including logs you may want for the problem that filled the disk. Copy anything you need first, or use a size limit that leaves some history behind.
Further reading: journalctl man page