Searches generate Alerts. You can configure multiple Searches for each data source and assign a different schedule to each.
To create a new Search, click on the 'Create' button on the Search list page. Select a type from the dropdown and hit create.
Searches have a large number of configuration options. These are broken down into three tabs: Basic, Notifications and Advanced. For specifics, see the types listing below. This section will only cover the configurations options that available to all Search types.
The 'Basic' tab contains all the configuration for what and when the Search runs:
- Description: A helpful description of what the Search does.
- Category: A predefined category to group generated Alerts under.
- Tags: A series of tags to categorize this Search.
- Priority: A priority for generated Alerts.
- Frequency: How often to execute this Search. (You can alternatively specify a cron expression)
- Status: Whether this Search is enabled.
The 'Notifications' tab contains all the configuration for when and who emails are sent to.
- Notification Type: Whether to send out alert emails.
- On demand: As Alerts come in.
- Hourly: A rollup every hour.
- Daily: A rollup every day.
- Notification Format: Format of Alerts in emails
- Full: Show action buttons in addition to the contents of the Alert.
- Content only: Only show the contents of the Alert.
- Assignee: The user or group responsible for the Search.
- Owner: The user responsible for maintaining the Search.
- Source Link: A SEL expression to specify a custom 'Source' link for generated Alerts.
The 'Advanced' tab contains more complex functionality, like Filters and Targets.
- Autoclose: Whether to automatically resolve Alerts that don't see any activity for some time.
- Filters: A list of Filters to execute on Alerts.
- Targets: A list of Targets to send Alerts to.
Generates a dummy Alert with the content {null: "null"}
.
Queries an Elasticsearch cluster. Each document returned by ES generates an Alert. Check here for information on the syntax.
- The Logstash type allows you to query a logstash index.
- The Alert type allows you to query the 411 alerts index. (Generating alerts on your alerts)
- Result Type: The type of data to return.
- Fields: Return the individual fields from ES.
- Count: Return a count of how many results were received.
- No results: Return an Alert if NO results where received.
- Result Filter: A basic filter on the results that are return. Only valid for the
Fields
andCount
result types. - Fields: The list of fields to return from ES. Only valid for the
Fields
result type. - Time Range: How far back to query.
Queries one or more ES clusters using ECL. Some basic post processing can be done on the result sets before they're returned. See here for details.
- Time Range: How far back to query.
Queries ThreatExchange. Searches can be run for malware or threats on a specific timeframe. To do an exact match, specify the ID of the resource to retrieve.
- Search Type: The type of result to return.
- Malware: Return malware entries.
- Threat: Return threat indicator entries.
- Query: Free form text to do a fuzzy search on.
Executes a HTTP GET
request against a URL. If the response code and/or response content is unexpected, generates an Alert.
- URL: The URL to test.
- Code: The expected HTTP response code.
- Content Match: The expected HTTP response content based on some regular expression.
Fires off an ICMP ping against a host. If the ping fails, generates an Alert.
- Host: The host to test.
Allows you to push Alerts into 411 from an external source. See the How To for details.