Configuring SMTP email destinations
You can send information from a connection source to a set of email addresses using SMTP servers. You can either include the results in the email body, or create an attachment.
Prerequisites
-
Email addresses for sending and receiving email results.
-
Information about your mail server, including host, port, user name, password, and authentication information.
Specify general connection information
Configure the connection source
The connection source determines what data you are sending to the destination. This data is usually information from Tanium, such as a saved question, question log, client status, or event. The settings vary depending on which source you choose.
If a Tanium solution or source shows Critical , the installed solution does not meet the minimum required version for proper compatibility and functionality. Upgrade the solution to the minimum required version or later.
For more information about available connection sources, see Connection sources.
Configure the Email (SMTP) results destination
Configure filters
(Optional) In the section, you can specify filters to modify the data that you are getting from your connection source before it is sent to the destination.
For more information about the types of filters you can configure, see Reference: Filtering options.
Format data for email
You can choose from any of the available formats for your email. The data is sent in the body of the email by default.
If you want to attach a file to the email instead of having the data in the body of the email, edit the Advanced settings for the Email destination and select Attachment. Specify a file name and whether the file should be compressed.
The data format for email destinations is HTML by default. You can choose the columns that appear in the resulting email.
In the section, you can change the Destination Label of each column and Value Type to force the column to be a String, Numeric, or Date/Time value.
If you choose Numeric for the value, you can specify a default value that is used if the data cannot be coerced into a numeric value. You can specify any negative or positive number.
If you choose Date/Time for the value, specify the format that you want to use for the column. For more information about how to use a variable, see Time stamp variables.
For more information about column customizations, see Reference: Column customizations.
Schedule the connection
Connections can run at a highly configurable time interval, such as multiple times per hour, day, week, or month.
Use the Schedule section to update the schedule:
-
Select Enable schedule.
-
In the Schedule Type, select Basic to build a schedule with the provided controls.
-
To view or edit the cron expression directly, select Advanced - Define as a Cron Expression, and use the Advanced field to edit the cron expression.
For more information about cron syntax, see Reference: Cron syntax for Connect.
Enable listening for an event
Connections with Event sources only run when a configured event is detected, and cannot be scheduled or manually run.
Use the Enablement section to send data when a configured event is detected:
-
Select Listen for this Event.