Configuring Search Hub
Search Hub uses background searches, a summarization metric index, and KV Store data to deliver a faster Scheduled Searches experience. Atlas Admins complete the initial setup and resolve dependency issues. Atlas Creators and Atlas Admins manage Search Governance rules after Search Hub is available.
Roles and Responsibilities
- Atlas Viewers: Can review search activity and governance results, but cannot change Search Hub configuration or rules.
- Atlas Creators: Can create, edit, enable, disable, and test governance rules after Search Hub is configured.
- Atlas Admins: Can configure Search Hub, recover required dependencies, and manage governance automation.
Search Hub States
- Configured: Search Hub loads normally and Scheduled Searches, Search Governance, and Impact views are available.
- Not Configured - Atlas Admin: Search Hub opens the setup page so an Atlas Admin can select a summarization metric index, choose a minimum performance history requirement, and enable the required searches.
- Not Configured - Not Atlas Admin: Search Hub explains that an Atlas Admin must complete configuration before the feature can be used fully.
If searches are tampered with and disabled, then the application will attempt to enter a 'Not Configured' state.
Required Search Hub Dependencies
Search Hub depends on the following background searches:
| Search | Purpose | Schedule |
|---|---|---|
| Atlas Scheduled Searches Inventory | Builds an inventory of scheduled searches, including schedule, time range, parsed search details, and expanded search content such as macros, eventtypes, and tags. | Daily |
| Atlas Scheduled Searches Snapshot | Queries summarized performance data to populate Search Hub views and governance snapshots. | Daily |
| Atlas Scheduled Search Summarization | Populates the Search Hub summarization metric index with scheduled search performance metrics. | Every 5 minutes |
Search Hub stores summarized scheduled search performance data in the selected Summarization Metric Index and uses KV Store data to populate the Scheduled Searches experience quickly. Search details are expanded before governance evaluation so rules can reason over the effective search content instead of only the raw saved SPL.
Configure Search Hub
- Open Search Hub as an Atlas Admin. If Search Hub is not configured, the setup page appears automatically.
- Review the status of the required Search Hub background searches.
- Select the Summarization Metric Index used to store Search Hub scheduled search performance data.
- Select the Minimum Performance History requirement for Search Hub.
- Select Confirm to enable required background searches and start the initial backfill when needed.
Minimum Performance History and Backfill
- Search Hub checks the earliest summarized performance data available against the selected minimum history requirement.
- If minimum history is not met, Search Hub backfills data until the requirement is satisfied, skipping time ranges that already have coverage.
- Backfill Needs Met is a warning or informational indicator. It highlights that Search Hub is still collecting the requested history, but it is not a hard blocker for setup.
- Twenty-four hours of history is sufficient for most initial Search Hub workflows.
Search Governance Automation
Atlas Admins use Search Governance Configuration to select environments, configure notifications, and control how scheduled searches move from Warning to Escalation and automatic disabling.
Enable Search Governance
- Open the Search Hub configuration experience and open Search Governance Configuration.
- Enable Enable Automation.
- Under Target Environments, select the Splunk environments where Atlas evaluates scheduled searches against enabled governance rules.
- Under Admin Contact(s), enter each administrator email address and press Enter. Add at least one contact when any Notify Admin option is enabled.
An environment is eligible when a representative server is configured as both a Splunk search peer and an Atlas Target.
Configure Governance Statuses
The configuration table provides separate Enable, Notify Owner, and Notify Admin settings for each governance status.
- Warning Status: Atlas assigns this status when a scheduled search violates an enabled rule. Warning is always enabled. Notifications can include the violation reason, a direct link to the search, and an administrator contact.
- Escalation Status: Atlas assigns this status after a search remains in Warning for the number of days set in Warning Duration Before Escalation. When enabled, Atlas can send a daily notification explaining that an administrator may edit or disable the search.
- Auto-Disable Searches: Atlas disables a scheduled search after it remains in Escalation for the number of consecutive days set in Escalation Duration Before Disable Search.
For each available status, enable either or both notification options:
- Notify Owner: Sends the status email to the scheduled search owner.
- Notify Admin: Sends the status email to the addresses entered under Admin Contact(s).
The notification options operate independently. If both are off, Atlas does not send an email for that status.
Configuration Dependencies
- Warning remains enabled and cannot be turned off.
- When Escalation Status is disabled, its notification controls and Auto-Disable Searches are unavailable.
- When Auto-Disable Searches is disabled, its notification controls are unavailable.
- Enabling Notify Admin without an administrator contact prevents the configuration from being applied.
Select Apply to save the configuration. Select Cancel or close the modal to discard unsaved changes.
Best Practices
- Start with Warnings: Configure rules to warn before enabling escalations or auto-remediation.
- Notify Owners Early: Ensure owners are contacted before disabling their searches.
- Audit Regularly: Use action logs to review what governance actions have taken place.
- Align with Limits: Configure rules to reflect Splunk system and license limits for maximum effectiveness.
Search Governance Rules
After Search Hub is configured, Atlas Creators and Atlas Admins can add or modify Search Governance rules through the Search Governance Rules page.
- Rule Name: A descriptive title of the governance rule.
- Description: An explanation of what the rule detects and why it matters.
- Resolution Guidance: Instructions shown to search owners alongside searches flagged by the rule. Describe the steps owners can take to resolve the condition.
- Condition: The criteria that must be met, such as searches running too frequently or searches producing excessive results.
New rules start disabled when they are created. Search Governance expands macros, eventtypes, and tags before evaluating rules, which improves rule behavior for searches that rely on reusable search logic. After adding or modifying a rule, Atlas can rerun the governance search so findings update before the next scheduled execution.
Condition Description
Atlas Creators and Admins can leverage these fields when creating a rule.
- savedsearch_name: Name of search.
- savedsearch_app: App of search.
- savedsearch_owner: Splunk owner of search.
- generating_command: The raw text of the first line of the Splunk query. This is useful for identifying searches with wildcards.
- earliest_time: Earliest time configuration for search.
0is for all time. - latest_time: Relative latest time configuration of the search. For example,
-1d@dwould be the start of the previous day. - timerange_is_inline: Returns
1if there is a time range denoted in the SPL of the search,0if not. - window_minutes: Number of minutes between earliest and latest time.
- cron_schedule: String of the cron schedule.
- interval_min: Number of minutes between configured scheduled runs. For instance, if a search is scheduled to run every 5 minutes, this will be
5. - interval_max: Maximum number of minutes between scheduled searches in the time range. This is useful if searches do not have set pattern schedules.
- misconfig_minutes: Difference between interval and time range window. Positive is when the window is larger than the interval, negative if there is a coverage gap.
- avg_runtime: Average runtime of the search in seconds.
- perc90_runtime: Runtime in the 90th percentile.
- avg_latency: Average latency of the search in seconds.
- skip_rate: Skip rate of the search as a percentage.
1would be a 100 percent skip rate. - skip_count: Skip count of the search.
3would mean the search skipped 3 times. - run_count: Number of times the search runs in the last 24 hours.
- avg_svcs: Average SVC consumption in the last 24 hours on Splunk Cloud.
- tot_svcs: Total SVC consumption in the last 24 hours on Splunk Cloud.
- perc90_svcs: SVC usage in the 90th percentile.
Atlas Search Governance also supports all standard saved search knowledge object fields.
Preview in Search
Use Preview in Search to test a rule condition against the current Scheduled Searches inventory before relying on the rule. Atlas opens a Splunk Search page with the condition applied, showing the searches that match and would be captured by the rule.
You can preview a condition from either location:
- Create Rule or Edit Rule modal: Enter or update the Condition, then select Preview in Search.
- Rule actions: Open a rule's kebab menu on the Search Governance Rules page and select Preview in Search.
Use the preview results to confirm that the condition returns the intended searches and does not unintentionally include or exclude searches. Previewing a condition does not create, update, enable, or disable the rule.
Conditional Logic
The fields can leverage Splunk conditional logic similar to a where command. Usage of >, >=, like(), and similar operators can help create useful rules.