Troubleshooting
Troubleshoot Connect by using log files and the solutions to common issues. If you cannot resolve the issues, collect support information.
Collect logs
The information is saved as a ZIP file that you can download with your browser. The ZIP file is also known as a support bundle.
To download logs:
Upgrading to Connect 5.18 or later
Connect 5.18 increases the minimum required version for several feature-specific solution dependencies. When you upgrade to Connect 5.18 or later, also upgrade all feature-specific solution dependencies to the new minimum required version. For more information about minimum versions, see Solution dependencies.
If you upgrade to Connect 5.18, and have feature-specific solution dependencies that do not meet the minimum version, connections that use the solution as a source prior to upgrade attempt to run, but log a warning and might return partial data or fail.
Configure per-connection log level
When you troubleshoot a connection or want to limit unnecessary logging, you can configure a log level that applies only to that connection without affecting the global log settings.
Collect a trace log for a connection
Use the Override Log Level option to collect a trace log for a single connection. You can review the trace log to debug the connection or upload the log to a support case.
- On the Connect Overview page, go to the Connections section. Click a connection, and then click Edit.
- In the General Information section, expand Advanced.
- Select Override Log Level to temporarily capture detailed log output for a set number of connection runs.
- Set Temporary Log Level to Trace.
- Set Number of Runs to 5.
- Click Save and Run.
- After the connection runs complete, click Download
to the right of the connection log.
- Review the trace log or upload the log to a support case.
For more information about the Override Log Level option, see Configure per-connection log level.
Configure general log settings
Adjust log expiration
To adjust the number of days before log files are removed, click Settings on the Connect Overview page and navigate to the Configuration tab. Edit the number of days in the Connection Run Log Expiration field and click Save.
Adjust log level
To adjust the log level, choose a log level from the Connect Service Log Level menu and click Save.
View logs
Service logs
In a TanOS environment, the Connect service records logs in the /opt/Tanium/TaniumModuleServer/services/connect-files/server.log file. In a Windows environment, the Connect service records logs in the \Program Files\Tanium\Tanium Module Server\services\connect-files\logs\server.log file. This file is in JSON format by default, but you can use the Bunyan CLI tool to view the logs. For example, from the \Program Files\Tanium\Tanium Module Server\services\connect-files\ directory in a Windows environment, run the following command:
..\connect-service\node ..\connect-service\node_modules\bunyan\bin\bunyan logs\server.log
Search this log for the following message to tell when the Connect service starts:
Tanium Connect Starting
Connection run logs
Connections generate a log file for each run of the connection. In a TanOS environment, the run logs are in the /opt/Tanium/TaniumModuleServer/services/connect-files/logs/connections/ directory. In a Windows environment, the run logs are in the \Program Files\Tanium\Tanium Module Server\services\connect-files\logs\connections\ directory.
Connect configuration state
Connect stores information about connections and user settings in a database managed by the Tanium RDB Service.
Test connections
You might have trouble running a connection for one of the following reasons:
-
The API token that Connect uses to run the connection was manually deleted or rotated
-
The user who owns the connection no longer has access to the connection
-
The persona used to run or schedule the connection is no longer associated with a user
You can sign in as the user that owns the connection and view the Connect Overview page, then run the connection outside of the scheduled intervals.
Troubleshoot issues
Issue: Cannot connect to Connect service
-
Verify that the Connect service is running on your Module Server.
To view the running services, click . Type services.msc and click OK. Verify that Connect is in the list and that the service is running.
-
Check the service logs for any errors or messages about insufficient rights for the user. In a TanOS environment, the Connect service records logs in the /opt/Tanium/TaniumModuleServer/services/connect-files/server.log file. In a Windows environment, the Connect service records logs in the \Program Files\Tanium\Tanium Module Server\services\connect-files\logs\server.log file.
Issue: Connection fails
There are multiple reasons that might cause connections to fail. When a connection fails, review the log of the connection to determine the reason why the connection failed:
-
From the Main menu, go to .
-
In the row of the connection that failed, click the date in the Last Run Status column.
-
Expand the log for a failed run to review any errors.
Alternatively, click Download
and review the log in your preferred editor.
Connection reached memory ceiling
Connect has a global memory ceiling of 8GB for all connections in addition to an individual limit that you can configure for each connection.
Symptom
When a connection reaches its individual memory ceiling, an error similar to the following appears in the log:
Connection Failed. The node process which was running this connection returned an exit code/status which indicates the process ran out of memory.
Resolution
Potential resolutions include the following:
-
Add filters to the connection to reduce the amount of data sent in the connection. For more information, see Reference: Filtering options.
-
Increase the memory ceiling of the connection.
-
From the Main menu, go to .
-
Click the name of the connection to view details for the connection, and then click Edit.
-
In the General Information section, expand the Advanced sub-section.
-
Edit the Memory Ceiling as necessary and then click Save.
-
Issue: <no value> in Tanium Data Service (TDS) output
-
Verify that the sensor for the saved question is registered with TDS. For more information, see View sensor registration details.
-
If the sensor is not registered, register it for collection. For more information, see Register or unregister sensors for collection.
Issue: Connection does not export all intended data
Connections use the role permissions of the owner to access content. If the connection owner has insufficient permission for content that a connection requires, such as inability to view a computer group, the connection might not fully export the data that you intend to export.
Update the permissions of the owner to allow access to intended content. For more information and descriptions of content sets and permissions, see Tanium Console User Guide: RBAC overview.
Issue: Scheduled connection owned by a deleted user no longer runs
Scheduled connections require an existing Tanium user account owner to run scheduled instances. If the scheduled connection owner is deleted, future scheduled instances of that connection do not run.
Export and import the scheduled connection to create a new scheduled connection. For more information, see Export connections and Import connections.
Issue: Tanium Audit Source connection fails with MaxNumberOfAuditEntriesPerCacheExceeded error
Connections configured with the Tanium Audit Source connection source might fail if you configure Days of History Retrieved as 0 or a very large value, and a large period of time elapses between connection runs. Update the Days of History Retrieved value to a small integer, such as 1 or 2. For more information, see Reference: Tanium Audit Source data.
Issue: Emails to Microsoft 365 destinations fail to send
Emails sent to Microsoft 365 destinations are subject to the following limitations:
-
The Email (O365) destination requires an email server profile. If you delete an email server profile configuration that is referenced by a scheduled connection, future scheduled instances of that connection fail. Recreate the email server profile configuration, then reference the new email server profile in the scheduled connection.
-
The Microsoft Graph API limits email requests to four concurrent requests. If you have multiple connections using the same email server profile configuration, emails over the four concurrent requests are queued for sending after prior requests resolve. Schedule connections using the same email server profile configuration to run at different times and minimize the number of requests sent simultaneously.
-
If you assign the
Mail.Readpermission to your Microsoft Entra ID (formerly Azure Active Directory) application, you can send emails with attachments up to a total of 3 MB, or emails with a body up to 3 MB. If your connections send more data than that per run, do one of the following:-
Schedule your connection to run more frequently, to try and reduce the size of each email.
-
Refine the connection source configuration to reduce the amount of data sent per connection run.
-
Assign the
Mail.ReadWritepermission to the Microsoft Entra ID application. This enables sending emails with attachments up to a total of 150 MB, subject to any other limits that you configure in your Azure environment.
-
Issue: Imported connections to Microsoft 365 destinations do not run
Exporting a connection that uses a Microsoft 365 destination from one environment and importing it in another does not also import the required email server profile configuration. To export a connection that uses a Microsoft 365 destination:
-
Export the connection from the originating environment, then import the connection in the target environment. For more information, see Export connections and Import connections.
-
Create the email server profile in the target environment. For more information, see Configure email server profile settings for Microsoft 365.
-
Edit the connection and select the Email Server Profile. For more information, see Configure the email results destination.
Issue: Created connection does not allowing editing of source or destination type
After you create a connection, you cannot update the connection source type or destination type, only the source configuration or destination configuration. If you want to change the source type or destination type, create a new connection.
Issue: Cannot authenticate connection to Splunk instance using HTTP destination
Connections to Splunk instances that use the HTTP destination cannot authenticate against the Splunk instance unless Splunk and a space precede the token string. Configure an HTTP header named Authorization. Then configure an HTTP header value in the format Splunk <token-string>.
-
From the Create Connection page, enter a Name and select a Source. Then select HTTP as the Destination.
-
Select Header Authentication from Use Authentication.
-
Enter Authorization in the Auth Header Name field.
-
Enter the Splunk token string in the Secret field, using the format Splunk <token-string>.
-
Enter other information required for the connection.
-
Click Save.
Uninstall Connect
The basic Connect module uninstallation is designed so that the data you have collected is restored if you later decide to reinstall Connect. In some cases, you might want to start "clean" and not restore the data. To do this, you must manually remove some files.
Uninstall Connect so data is restored on reinstall
-
Sign in to Tanium Console as a user with the Administrator role.
-
From the Main menu, go to .
-
Under Connect, click Uninstall.
-
Review the summary and click Uninstall.
-
When prompted to confirm, enter your password.
If you later import the Connect solution, the previous data is restored.
Uninstall Connect so you start fresh when you reinstall
-
Manually delete the connect-files directory. You have the following options:
-
In a Windows environment, manually delete the \Program Files\Tanium\Tanium Module Server\services\connect-files\ directory.
-
In a Linux environment, manually delete the /opt/Tanium/TaniumModuleServer/services/connect-files/ directory.
-
Deleting the connect-files directory removes all existing Connect data. All logs, output, the Connect database, and any other Connect data is deleted. If you later import the Connect solution, the previous data is not restored.
Contact Tanium Support
To contact Tanium Support for help, sign in to the Tanium Customer Community.
For more information about how to submit a support case, see Case Submission Form.