--- title: "Exporting Logs in Command Line Interface" description: "To export logs in command line interface, use the following command: or where --include-system-logs is the option that allows Veeam Agent to collect and export dmesg system messages and log messages from /var/adm/messages*." canonical: "https://helpcenter.veeam.com/docs/agentforsolaris/userguide/logs_export_cmd.html" breadcrumb: "User Guide > Exporting Product Logs > Exporting Logs in Command Line Interface" dateModified: "2026-11-03" --- # Exporting Logs in Command Line Interface To export logs in command line interface, use the following command: ``` veeamsupporttool grab-logs [--include-system-logs] ``` or ``` veeamconfig grablogs [--include-system-logs] ``` where `--include-system-logs` is the option that allows Veeam Agent to collect and export `dmesg` system messages and log messages from `/var/adm/messages*`. ::: note For Veeam Agent versions earlier than 13.1, the `veeamconfig grablogs` command is the only way to export product logs from the command line interface. ::: Veeam Agent for Oracle Solaris will collect logs, export them to an archive file and save the archive to the current working directory. The name of the archive file depends on the Veeam Agent computer architecture: `veeam-logs_Solaris_x86__