Customize lookups to detect data sources in your environment
Update the lookups in Splunk Security Essentials (SSE) so that these lookups can detect all data sources in your environment even if the default regex patterns in the lookups don't match your data sources.
Default regex patterns defined in the lookups match the source or sourcetype values in your indexed data. These default patterns match only the common add-on configurations. However, if your environment uses different values based on your installed add-ons and your data collection methods, SSE might not detect a data source that is available. You can update the lookup to match your environment so that all data sources can be detected.
Lookup fields to update
- regex_pattern: This field is matched against your data to detect if the data source is available. If this field doesn't match, SSE doesn't recognize the data source.- default_sourcetype_search: The SPL filter that is used in searches once the data source is confirmed. If this is incorrect, searches return no results even after the data source is detected.
Troubleshooting common issues with lookups
- Missing wildcard character: A source pattern such as
source=WinEventLog:Application*misses theXmlWinEventLogvariant. To remedy this, you can add a leading wildcard such as:source=*WinEventLog:Application*to the lookup. - Incorrect field: Verify the
regex_fieldcolumn indicates the source or sourcetype to match the value that is set by your data. - Sourcetype mismatch: Some add-ons produce a different sourcetype than the expected value for the default entry. Update both the
regex_patternanddefault_sourcetype_searchto match.
Update the lookup
Use one of the following methods to update the lookup:
- Manual updates to the lookup file: Locate the lookup file and make the necessary changes manually.
$SPLUNK_HOME/etc/apps/Splunk_Security_Essentials/lookups/ - Use the Splunk app for Lookup File Editor: Open the Splunk app for Lookup File Editor, select
SSE-default-data-inventory-products.csvand edit the required rows such as updateregex_patternordefault_sourcetype_searchand save the changes.