Find and Fix Issues With Your Tanium Deployment by Automating the Configuration of Tanium Client Log Levels
For Tanium Administrators, the Tanium Client log is an important tool for monitoring the health of the Tanium deployment. Making sure the log is enabled on all managed endpoints is crucial for diagnosing issues.
Log level can be configured in the Tanium client installer package, but if this was not configured initially you may have a large number of endpoints that you need to perform this change on. This post will help you activate the Tanium Client log on systems where it has been disabled or was not set during the initial configuration. The below steps show how to configure an ongoing Scheduled Action that will find endpoints that have logging disabled, and then remediate by enabling logging on those endpoints.
The Interact question and package used to set this value is platform specific, so the targeting question below must include either Windows, Linux, or Mac, and must use the platform specific package.
It is recommend to leave the question targeted only at clients with 0 for the log level, so that if you have a need to increase the log level those endpoints will not be targeted by this Scheduled Action.
Automate Tanium Client Log Level Configuration on Windows
-
Run the following query in Interact:
Get Tanium Client Logging Level from all machines with ( Tanium Client Logging Level equals 0 and Is Windows equals True ) -
Select the line with 0 showing for the Tanium Client Logging Level, and click Deploy Action.
-
In the Action Details field where it lists the name of the action, give this a descriptive name such as
Set Windows Tanium Client Log level to 1so it is easy to find later. -
Select endpoints that returned 0 for the log level
-
Click Deploy Action, and type
Set Windows Tanium Client Logging Level -
Set the value to 1.
-
Choose a start time.
-
For Distribute Over, pick 1 hour.
-
For Re-issue Every, choose every 1 day (or as desired) to catch any new endpoints that are deployed without a log level set. Example:
-
Choose the action group representing All Computers, and click Show Preview To Continue.
-
Deploy the action.
As a precaution, if you have a large number of endpoints that meet these criteria you will be required to enter the number of endpoints in order to proceed.
Automate Tanium Client Log Level Configuration on Linux
-
Run the following query in Interact:
Get Tanium Client Logging Level from all machines with ( Tanium Client Logging Level equals 0 and Is Linux equals True )
-
Select the line with 0 showing for the Tanium Client Logging Level, and click Deploy Action.
-
In the Action Details field where it lists the name of the action, give this a descriptive name such as
Set Linux Tanium Client Log level to 1so it is easy to find later. -
Select endpoints that returned 0 for the log level
-
Click Deploy Action, and type
Set Linux Tanium Client Logging Level -
Set the value to 1.
-
Choose a start time.
-
For Distribute Over, pick 1 hour.
-
For Re-issue Every, choose every 1 day (or as desired) to catch any new endpoints that are deployed without a log level set.
-
Choose the action group representing All Computers, and click Show Preview To Continue.
-
Deploy the action.
As a precaution, if you have a large number of endpoints that meet these criteria you will be required to enter the number of endpoints in order to proceed.
For Mac endpoints, use the steps in the Linux instructions substituting “is Mac” in step 1, and using the “Set Mac Tanium Client Logging Level” package in step 3.