Configuring Splunk

As a Splunk administrator, create an index to store Tanium data, edit the search macro for the TA-Tanium add-on, and configure a network input to receive Tanium data.

Create an index

Splunk stores data in indexes. Tanium data sent to Splunk is stored in an events index. For more information about how Splunk indexes work with add-ons, see Add-ons and indexes in the Splunk Add-ons documentation.

Important:

Before modifying indexing in a production environment, consult Splunk support.

For more information about creating Splunk Indexes, see Splunk Enterprise Documentation: Create events indexes. For a standalone testing environment, configure a new events index named tanium.

  1. In Splunk Web, go to Settings > Indexes and click New.

  1. Name the index tanium and set the appropriate maximum storage size for the test environment.


Create an index

Review the search macro for TA-Tanium

Because the index you use for Tanium data can depend on your Splunk environment, the TA-Tanium add-on includes a macros.conf file with a definition setting of “index=tanium”.

Edit the search macro in the Splunk Console and the index used for Tanium data.

  1. In Splunk Web, go to Settings > Advanced Search > Search Macros.

  1. Click tanium_index.


    Edit the search macro for
  1. In the Definition field, edit the macro definition so that it specifies the appropriate index: index=your_index

    (For the standalone testing environment, enter index=tanium.)

Configure a network input

Splunk can accept syslog data directly from Tanium using TCP or HTTP data input.

Note:

In enterprise environments, Splunk might recommend using another syslog daemon. Consult Splunk Support before implementing a network input or a specific syslog daemon in production. For background on using alternative syslog daemons, see Splunk Blog: High Performance syslogging for Splunk using syslog-ng.

For more information about using a network listener in Splunk, see Splunk Enterprise Documentation: Get data from TCP and UDP ports and Splunk Enterprise Documentation: Set up and use HTTP Event Collector in Splunk Web.

Configure a network input on an indexer

  1. In Splunk Web, go to Add Data > Monitor > TCP / UDP.

  1. Select TCP and enter the Port you will use for communication between Tanium and Splunk.


Configure a network input
  1. Click Next.

  1. For Source Type, enter tanium.

  1. For Index, select the index that will store data from Tanium. (In the standalone test environment, select tanium.)


Configure a network input
  1. Click Review and review the settings. If all settings are correct, click Submit.

  1. Test that the network port is now open by running the following command on a computer that can connect to the Splunk instance: nc -v IP_ADDRESS PORT


Configure a network input

Configure an HTTP Event Collector

  1. In Splunk Web, go to Data Inputs and select Add New for HTTP Event Collector.

Important:

See the Splunk Documentation for other configurations that might be necessary for your specific Splunk Product.

  1. For Source name override, enter tanium.

  2. For Source Type, enter tanium.


Configure a network input

Configure a network input
  1. For Index, select the index that will store data from Tanium. (In the standalone test environment, select tanium.)

  2. Click Review and review the settings. If all settings are correct, click Submit.

  3. (Optional) Test the data input in curl or postman. For more information, see Splunk Enterprise Documentation: Use cURL to manage HTTP Event Collector tokens, events, and services.

To review or edit existing inputs In Splunk Web, go to Settings > Data Inputs.

Configuring Tanium

Export Tanium data to Splunk using Connect. The connection sources used in Connect include saved questions, events, and native sources from other modules. For the specific connection sources, see Reference: Connection sources.

Configure connections using Reports

For Tanium Report sourced Connections first use the Create Report button in Tanium Data > Reports and create your Report.

The following optional example is from the Report: Splunk Basic Asset and can be used to replace the matching Saved Question.

Note:

Prior Connect Sources using the Saved Question: Splunk Basic Asset should be disabled when this Report and Connection are created.


Configureconnectionusingreports

Build the report

  1. From the Main menu, go to Data > Create Report.

  2. In the Source Data panel, browse the sensors and click Add beside the following sensors:

    • Computer Name

    • Computer ID

    • ID >Endpoint ID

    • Last Logged in User

    • Domain Name

    • Operating System

    • IP Address

    • MAC Addres

    • Chassis Type

    • Manufacturer

    • Computer Serial Number

    • Risk Score > Tanium Risk Score

    • Endpoint Fingerprint

  3. Click Save Report.

    1. Enter Splunk Basic Asset in Report Name

    2. (Optional) Enter a description

    3. Verify Reporting is selected in Content Set.

  4. Click Save.

Note:

Customers can create this source as a Saved Question. Use the following question: Get Computer Name and Last Logged In User and Domain Name and Operating System and IP Address and MAC Address and "DHCP Enabled?" and Chassis Type and Manufacturer and Computer Serial Number from all machines

Source Data Reporting

Note:

Note: Existing deployments should disable any existing Saved Question called Splunk Basic Asset.

  1. From the Connect Overview page, click Create Connection.

  2. Enter a name for the connection.

  3. In the Configuration section, select Tanium Reporting (Source Data) for the Source.

  4. In the Report field, select Splunk Basic Asset , created in the previous step.

  5. In the Report View field, select source data.

  6. Verify Format is Syslog RFC 5424.

  7. Under Advanced, select the SD ID field and enter Question=Splunk Basic Asset


SplunkConnection1

SplunkConnection2

See the following for more information on Tanium Reporting.

Configure connections using saved questions

For saved question connection sources, prepare saved questions with the specific names used in the Splunk configuration, and then configure the connection in Connect.

Prepare saved questions

Each dashboard in the Tanium Splunk Application is based on data collected from saved questions listed in

Reference: Connection sources.

Note:

Enable only one dashboard at a time, so that you can more easily identify issues and mitigate any impact on the Tanium or Splunk infrastructure.

Create saved questions for each dashboard you want to use in Splunk.

  1. From the Main menu, go to Modules > Interact.

  2. Ask a question (or copy a saved question) that matches a listing in Reference: Connection sources. For more information about asking questions and managing saved questions, see Tanium Interact User Guide.

Note:

Make sure to remove extra characters or smart quotes that might be copied from another location.

  1. Click Save.


Configure connections using
  1. Name the saved question to match the listing in Reference: Connection sources. If you use a different name, you must also edit the Splunk configuration to retrieve the data from this question.

  1. Make sure that Reissue this question every is not selected (unless you are otherwise directed in Reference: Connection sources). Tanium Connect manages the scheduling and execution of the question.

  2. Click Create Saved Question.

Configure Connect to export data from saved questions

Configure Connect to execute saved questions and export the resulting data to Splunk.

  1. From the Main menu, go to Modules > Connect.

  2. Click Create Connection.

  3. For Name, enter the name of the saved question you created.

  4. In the Source section, click Saved Question and select the saved question you created.

  5. (Optional) Select a Computer Group for the question.

  6. For Destination, select Splunk (via a socket) or HTTP.

  7. Select the Destination Name for your Splunk destination, or create one if you have not yet done so.

  8. Set up your specific Splunk Destination:

    • For TCP Data, enter the Host and Port for your Splunk instance, and select TCP for Network Protocol.

    • For HTTP Event Collector Data, configure the settings shown.


Configure connections using
Note:

The URL is the raw Splunk Collector and the GUID that is created for this destination. The headers contain an Authorization field. Value should contain the word Splunk followed by a space and then the token created with the Splunk data input. See Splunk Documentation for details.


Configure connections using
Note:

Your Connection authentication configuration may look like the following. Please note Header Authentication is selected, Authorization is the Header Name, and the Secret should contain the word Splunk followed by a space and then the Token.


Configure connections using 2 2
  1. Expand the Configure Output section. For Format, select Syslog RFC 5424. Expand the Advanced subsection, and make sure that Send Question Source is selected.

Important:

You must follow the Format guidance.

  1. Expand the Schedule section and configure the times when Connect should send this saved question to the endpoints and return collected data to Splunk. For example, security questions might be asked every one to four hours, and operational questions might be asked every 4 to 24 hours. Work with your Splunk administrator and Tanium representative to configure and tune these values appropriately for your environment.


Configure connections using
  1. Click Save. To test the data connection, click Run Now.

Configure a connection for Threat Response alerts

Configure Connect to send events from Threat Response to Splunk.

Create a Threat Response connection

  1. From the Main menu, go to Modules > Connect.

  2. Click Create Connection.

  3. For Name, enter Tanium Threat Response Alerts.

  4. For Source, select Event, and for Event Group, select Tanium Threat Response. Select Match Alerts Raw.

Important:

Select only Match Alerts Raw. Make sure the other check boxes are not selected.

  1. For Destination, select Splunk (via a socket) or a HTTP destination for HEC.

  2. Select the Destination Name for your Splunk destination, or create one if you have not yet done so.

  3. (For a new destination) Enter the Host and Port for your Splunk instance, select TCP for Network Protocol or HTTP for HEC.


Create a Threat Response connection

Create a Threat Response connection
Note:

Your Connection authentication configuration may look like the following. Please note Header Authentication is selected, Authorization is the Header Name, and the Secret should contain the word Splunkfollowed by a space and then the Token.


Create a Threat Response connection
  1. For Format, select JSON.


Create a Threat Response connection
  1. Click Save.

Note:

Event connections cannot be scheduled, and the Run Now button is disabled. Alert events must be generated by Threat Response to pass through the Connection.

Important:

Do not use filters with this connection. Filters can interfere with the Match Details field in the results.

Configure connections for native sources from other modules

To configure connections using other modules as sources, see the connection settings and any additional instructions for the specific source in Reference: Connection sources. For general information about configuring connections, including using the listed settings for native sources from other modules, see Tanium Connect User Guide: Configuring SIEM destinations.