5 February 2016
Do you administrate a Tableau Server? Do you wish it was easier to search through the log files for answers to questions? Then you need to check out Splunk.
Do you administrate an installation of Tableau Server? Do you get questions from your users like:
Set up a new Receiver:
Pop in a free port - the default is 9997, which is what I used.
Now you'll only need add either a Deployment server or a Receiving indexer. I used the Receiving indexer we set up in the previous step.
After that we can add the command to forward the Tableau Log files. The log files are stored in a few different locations, so we'll run a 'add monitor' command for all the locations we want. The command looks a bit like:
<install directory>Program FilesTableauTableau Serverdatatabsvclogs - This is the location of the logs of specific processes
<install directory>Program FilesTableauTableau Serverdatatabsvcvizqlserverlogs - This is the location of the vizql process logs
- I got an error, what caused it? Oh and now I can't reproduce it and no I didn't get a screen shot.
- When did someone last login and interact with my dashboard?
- How many concurrent users do we have on our Tableau Server?
- Is there a better way of monitoring extract refresh failures that doesn't rely on me logging in to the server to check it?
Step 1: Setting up a Splunk Receiver for your Tableau Server
Log in to your Splunk server via the web interface. From the menu select Settings and then Forwarding and receiving.


Step 2: Getting your Tableau Server data in to Splunk
Tableau Server logs record every user interaction, extract refresh, VizQL query and more. Imagine if we could easily search this wealth of information to really see what Tableau Server is doing behind the scenes? How useful would that be to your IT department and Tableau Server administrators?Now, you're going to want to get all your Tableau Server logs stored in your awesome Splunk database first. Ideally Splunk and Tableau Server are on different boxes. So we'll need to install the Splunk forwarder on to the Tableau Server box.We're running our Tableau Server on Windows Server 2012. So I downloaded the Universal Forwarder for that OS, but you can choose the Forwarder for your OS. Once downloaded, run the installation.

Step 3: Use the forwarder to push Tableau Logs to Splunk
I'm going to use the Command Line Interface of Splunk to set up the forwarding of the Tableau Server logs to Splunk.On your Tableau Server, open Command Prompt as an Administrator. Then navigate to the Splunk folder using the command: cd 'C:Program FilesSplunkUniversalForwarderbin' (if you've installed to the default location).
splunk add monitor '<directory path>'
The directories I've added to Splunk for our Tableau Server include:<install directory>Program FilesTableauTableau Serverlogs - This is the location of the tabadmin, tabconfig and licencing logs amongst others

