How to send Performance Events to a SIEM
A frequent request from IT organizations is to send Performance Events to a Security Information and Event Management (SIEM) system, so that their escalation teams can analyze Events details and patterns outside of the Tanium Performance Events page.
Using the Performance - Event Details sensor, first introduced in Tanium Performance 1.9.63, administrators can easily send Performance Events to external destinations such as a SIEM, database, or flat file. This allows for long-term storage and historical tracking of critical performance metrics or integration of Performance Events with external systems to perform additional correlation and analytics.
This blog will walk you through configuring this integration, utilizing results from the Performance - Event Details sensor and sending those results to an external destination using the Tanium Connect module.
Consolidating Results with a Saved Question
To send all performance metric categories (CPU, Memory, App Crash, System Crash, Disk Capacity, and Disk Latency) to the external system, you only need to create one saved question.
You no longer need to create separate saved questions for each category. The Performance - Event Details sensor now includes a parameter that allows you to specify all categories at once.
To create a saved question for all categories, paste the following text into the Question bar:
Get Computer Name and Performance - Event Details[All,1,1] from all machines with ( Performance - Configured equals configured and Performance - Event Match Counts[1h]:Matches matches \d+-\d+ )
The question results output will look like the following:
Detailed Breakdown of this Question
Let’s break down the saved question a bit more.
Get Computer Name
This sensor is used to get the computer names of the computers the events happened on, so it’s required to include this portion in the question.
and Performance - Event Details[ALL,1,1]
This sensor will give you the full Performance Event details for all performance metric categories.
The Performance - Event Details sensor
The Performance - Event Details sensor requires three input parameters.
-
The first parameter is the Event Category. As an example, we chose ALL. As mentioned previously, the available options, CPU, Memory, App Crash, System Crash, Disk Capacity, and Disk Latency, are included in ALL.
-
The second parameter is the number of hours to look back for event matches on the endpoint and can be any integer value between 1 and 24. We chose 1 hour so that we only pull back events from the last hour on each endpoint. Later in this article we will show you how to schedule the Connect job to run every hour as well.
-
The third parameter is a binary choice (1 for Yes, 0 for No) on whether to include Event Evidence in the results. Choosing 1 will give you a bit more detail related to the Event, such as the top processes consuming CPU resources on the endpoint.
Limiting Results to Only What is Relevant
Since we only care about computers where Performance is installed with a profile, choose this for the question filter:
from all machines with ( Performance - Configured equals Configured )
Use the additional filter below to remove any endpoints that have not raised any CPU events from the result set returned by the question:
and ( Performance - Event Details[ALL,1,1]:Event Category equals CPU )
Once you have desired Question Results, Save the question for re-use. Remember that tracking all Performance Event Categories (CPU, Memory, App Crash, System Crash, Disk Capacity, and Disk Latency) will result in only one saved question.
Sending Results Externally with Tanium Connect
Now that you have created the saved question, configure Tanium Connect to send the results of the saved question to an external system.
A connection in Tanium Connect consists of a Source (where the data is coming from within the Tanium platform) and a Destination (the external system where the data will be sent).
Because you have already configured the saved question, you need to specify the Saved Question Source type. We encourage using the following Source settings for each of the connections based on the Performance - Event Details results.
After choosing the Destination type that works best for your environment, configure that Destination to run on a schedule. To ensure data freshness and align with the one-hour lookback period that was configured in the Performance - Event Details parameters specified previously in the saved question, you will need to configure the connections to run hourly. You can use the settings below to configure the connection to run hourly:
Once the connection has successfully run, you will start seeing Performance Events in your SIEM.
Conclusion
Although reviewing Performance Events in the Tanium web console can illuminate issues that you may not be aware were occurring in your environment, in this article, we have shown how you can send Events surfaced by the Tanium Performance module to external systems for additional analysis and processing. By using the Performance - Event Details sensor to send results through the Tanium Connect module, organizations can send Performance Events to an external SIEM and receive notifications about Performance Events even when not logged into Tanium.