Example: Add a generic intelligence source to Splunk Enterprise Security
As a security analyst, you want to compare hosts seen in your network with the hosts associated with Spotify advertisements so that you can assess the risk that listening to Spotify Free during the work day poses to your network. The hosts associated with Spotify ads are not malicious, and you do not want to add them to Splunk Enterprise Security as threat intelligence. Instead, you can add them as generic intelligence.
Download the generic intelligence
First, create a download configuration for the list.
- Select Configure > Data Enrichment > Intelligence Downloads.
- Click New.
- Type a Name of
- Deselect the check box for Is Threat Intelligence.
- Type a Type of
- Type a Description of Hostnames of machines hosting Spotify ads.
- Type a URL of
- (Optional) Change the default Weight.
- (Optional) Change the default Interval.
- Type a delimiting regular expression of
- Type Fields of
- Type an Ignoring regular expression of
Verify that the intelligence downloads successfully
Using search, verify that the modular input is downloading information from the source.
| inputintelligence no_parse=1 spotify_ads
Verify that the intelligence parses correctly
Use the custom search command
inputintelligence to verify that the intelligence parses correctly.
| inputintelligence spotify_ads
If the intelligence does not seem to be parsing correctly, review
search.log for any error messages. In addition, you can change the parsing settings for the download using the optional arguments for the
inputintelligence command to determine the correct settings. See Use generic intelligence in search with inputintelligence.
Use the new intelligence source in a search
You can use the new intelligence source in many ways in searches.
Use Spotify ads in a subsearch
To return 100 URLs used by Spotify ads in a list with the following subsearch:
| search [| inputintelligence spotify_ads | return 100 url]
Use Spotify ads in join
Join the hosts in the Spotify ads intelligence source with another set of data with
... | join url [| inputintelligence spotify_ads | eval spotify_ad="true"] | search spotify_ad="true"
Add Spotify ads to a lookup table file
Add the hosts from Spotify ads to a lookup table file using a lookup generating search:
| inputintelligence spotify_ads | eval spotify_ad="true" | outputlookup spotify_ads.csv
After creating the lookup, use it in search with the following example search:
... | lookup spotify_ads.csv url OUTPUT spotify_ad | search spotify_ad="true"
Use generic intelligence in search with inputintelligence
Managing content in Splunk Enterprise Security
This documentation applies to the following versions of Splunk® Enterprise Security: 5.0.0, 5.0.1, 5.1.0, 5.1.1, 5.2.0, 5.2.1, 5.2.2, 5.3.0, 5.3.1, 6.0.0, 6.0.1, 6.0.2, 6.1.0, 6.1.1, 6.2.0