You are configuring a syslog-ng server to receive logs from multiple network devices. To ensure that logs from different departments are stored in separate directories based on the hostname, which directive should you utilize in the destination path?
Macros dynamically map incoming metadata to the directory structure.
Why this answer
The use of macros like $HOST or $YEAR allows for dynamic directory creation based on incoming log metadata.