Tuesday, March 5, 2013

[TABLEAU] Creating Tableau Server Log Files


            Creating Tableau Server Log Files

Creating logs in Tableau Server can be useful to assist Tableau in determining the causes of issues you experience. For most scenarios, you will not need to stop the Tableau Server to generate log files. Tableau Support will notify you if the Server must be stopped before running the log files. Use the directions below to generate and send log files to Tableau Support.

Note : If you use an automated cleanup process, 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

 
Step 1

Click the Start button, and then select  All Programs > Accessories. Right-click Command Prompt and select Run as administrator.


Step 2

Type one of the following commands, based on your operating system:

  • On a 32-bit machine: cd C:\Program Files\Tableau\Tableau Server\[version]\bin
  • On a 64-bit machine: cd C:\Program Files (x86)\Tableau\Tableau Server\[version]\bin

Note : Replace [version] with the version of Tableau Server that you are running.


Step 3

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.


Step 4

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.

  • -l, --with-latest-dump
    Includes latest Vizql dump files.
  • -f, --force
    Force overwrite of existing file.
  • -n, --with-netstat-info
    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.
  • -a, --all
    Includes all files (ignore -d switch).
  • -p
    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.










4 comments:

  1. Tableau online training
    Tableau online training Call Us-91-900-044-4287 21st Century Software Solutions Online Training 21st Century providing Online training and support on All Technologies. If you are seeking training and support you can reach me on 91-9000444287. Online training by real time Experts. Call us 001-309-200-3848 for online training
    Tableau Software—how it can change your world

    Power
    Speed
    Flexibility
    Simplicity Beauty

    Build the core—Tableau basics

    Download, install and open Tableau
    Connect to sample data and review the Tableau
    Interface “Show Me” Tableau in action
    Categorically clear views
    http://www.21cssindia.com/courses/tableau-online-training-226.html
    Go with the flow—more Tableau basics

    ReplyDelete
  2. well done! the blog is good and Creating Tableau Server Log Files it is useful for students and tableau Developers for more updates on Tableau follow the link

    tableau online training Bangalore

    For more info on other technologies go with below links

    Python Online Training

    ServiceNow Online Training

    mulesoft Online Training

    ReplyDelete
  3. Thank for sharing the information Excellent article Learn Mulesoft Online

    ReplyDelete