Creating Tableau Server Log Files
Last Modified Date: 26 Sep 2013
Note: If you use an automated cleanup process, as described in the Server Backup and Maintenance article, the clean up command will remove all of your log files. To ensure that you have the ability to create log files, consider including your log files in your automated cleanup process. This will save your log files in case you need them.
Creating log files
Click the Start button, and then select All Programs > Accessories. Right-click Command Prompt and select Run as administrator.
- cd C:\Program Files\Tableau\Tableau Server\[version]\bin
- cd C:\Program Files (x86)\Tableau\Tableau Server\[version]\bin
Create the log file by typing the following command: tabadmin ziplogs -l -n -d mm/dd/yyyy
Note: The -l is lower case L. Also, replace mm/dd/yyyy with an actual date that is two days prior to the day you experienced the issue.
This creates a file named logs.zip in the Tableau Server "bin" folder that was created during installation.
Send Tableau this logs.zip file as an attachment when you report your issue.
Options for creating log files
There are additional options when using the tabadmin ziplogs command. You can run the command with -h to see the full list of options.
Below are some commonly used options.
Limit the included dump files to just the most recent to help reduce file size.
Force overwrite of existing file.
Includes information about which ports are in use and additional Netstat information.
-d, --minimumdate mm/dd/yyyy
Includes files created on or after date. Default is 7 days prior to current date.
Includes all files (ignore -d switch).
Includes PostgreSQL data folder ('psql/data'). A useful option when working with Tableau Support to diagnose issues.
Sending the Tableau Server log file
Follow the directions for sending large files in the article Sending Large Files. When attaching the file, be sure to browse to the logs.zip file in the "bin" folder of the Tableau Server directory.
If the file times out or otherwise fails to send, please contact Tableau Support for additional assistance.Alternate Search Terms: server, server logs, server log file, server log files, log files, data source, downloads, upgrades, licenses, installation,