Splunk ITSI's core machine learning workflow—predictive thresholding, anomaly detection, and service dependency analysis—generates KPIs and service health scores. AI integration connects at three key points: 1) Enriching ML outputs by analyzing the context of an anomaly (e.g., correlating a database latency spike with recent deployment logs), 2) Generating narrative explanations for why a predictive threshold was breached, translating statistical deviations into plain-language root cause hypotheses for on-call engineers, and 3) Orchestrating response by converting an ITSI notable event into a structured workflow, such as auto-creating a ServiceNow ticket with populated CMDB data and suggested runbooks.
Integration
AI Integration for Splunk ITSI Machine Learning

Where AI Fits in Splunk ITSI's Machine Learning Workflow
Integrating AI into Splunk IT Service Intelligence (ITSI) transforms its ML-driven analytics from a monitoring tool into a proactive, conversational operations partner.
Implementation typically involves deploying a lightweight AI agent service that subscribes to the itsi_notable_events index or listens to ITSI's REST API webhooks. When a notable event is created by ITSI's ML-driven glass tables or adaptive thresholding, the agent enriches it by querying related logs, metrics, and CMDB entries. Using a retrieval-augmented generation (RAG) pattern over your Splunk knowledge objects, the agent grounds its analysis in your specific environment before generating a summary and recommended actions. This enriched event can then be fed back into ITSI as a service analytic or forwarded to your ITSM platform, creating a closed-loop workflow where AI adds context to ITSI's ML detections.
Rollout should be phased, starting with read-only analysis for a single, high-value business service. Governance is critical: all AI-generated summaries and recommendations should be logged to a dedicated ai_audit index with traceability back to the source notable event. Implement a human-in-the-loop approval step for any automated action (like ticket creation) during the initial pilot. This approach allows teams to build trust in the AI's reasoning, measured by reduced Mean Time to Acknowledge (MTTA) and more accurate initial ticket routing, before scaling to more autonomous operations across the service portfolio.
Key Integration Surfaces Within Splunk ITSI
Automating Baseline & Anomaly Detection
Integrate AI directly into Splunk ITSI's KPI monitoring and predictive thresholding workflows. Instead of static thresholds, use models to analyze historical metric patterns (CPU, latency, error rates) and forecast normal bounds. AI can dynamically adjust thresholds based on seasonality (e.g., month-end processing) and business cycles, reducing alert fatigue.
Implementation Pattern: Deploy a lightweight inference service that consumes ITSI's KPI data via the ITSI REST API or HTTP Event Collector. The service returns dynamic threshold recommendations, which an automation script pushes back into ITSI to update KPI base searches or adaptive threshold configurations. This creates a closed-loop system where the model continuously learns from new data and false positives.
python# Example pseudocode for dynamic threshold API call response = requests.post( 'https://ai-service/infer_threshold', json={ 'kpi_id': 'app_response_time', 'historical_values': kpi_series, 'seasonality': 'weekly' } ) new_threshold = response.json()['upper_bound'] # Update ITSI via its REST API
High-Value AI Use Cases for ITSI Machine Learning
Move beyond static thresholds by integrating AI with Splunk ITSI's Machine Learning Toolkit and predictive analytics. These patterns show where AI can automate service modeling, enrich anomaly detection, and connect IT incidents to business impact.
Predictive Service Degradation Alerts
Use AI to analyze KPI trends across service dependencies and forecast degradation before static thresholds are breached. Models ingest ITSI's service health scores, entity metrics, and seasonal patterns to generate early-warning notable events, allowing proactive intervention.
Anomaly Correlation for Root Cause
Automatically correlate multiple ITSI ML-driven anomalies (e.g., from the Predictive Analytics app) into a single root-cause hypothesis. AI analyzes anomaly timing, impacted entities, and metric relationships to suggest the most likely failing component, reducing MTTR for complex service outages.
Dynamic Baseline Calibration
Continuously tune ITSI's adaptive thresholding and anomaly detection models using AI feedback loops. AI reviews false positive rates, seasonality shifts, and business calendar events (like product launches) to adjust baseline sensitivity, maintaining accuracy as the IT environment evolves.
IT-to-Business Impact Translation
Connect ITSI service health scores and ML anomalies to business metrics (e.g., transaction volume, cart abandonment). AI models ingest business service KPIs and IT telemetry to generate plain-language impact statements ("Database latency anomaly is impacting checkout conversion") for executive dashboards.
Automated Service Dependency Mapping
Use AI to analyze metric correlations and log patterns to suggest or validate service dependency maps in ITSI. This reduces manual modeling effort and ensures service topology reflects real-time interactions, especially in dynamic cloud and microservices environments.
Security Incident Correlation
Correlate ITSI performance anomalies with security events from Splunk ES. AI models analyze timing and entity overlap between ITSM notable events and security alerts to identify incidents like crypto-mining on a server or DDoS impacting service availability, bridging ITOps and SecOps.
Example AI-Augmented Workflows for ITSI Operations
These workflows demonstrate how to embed AI agents and models directly into Splunk ITSI's operational lifecycle, moving from reactive monitoring to predictive and prescriptive operations. Each pattern connects ITSI's KPIs, service health scores, and anomaly detection with generative AI for context, summarization, and action.
Trigger: ITSI's predictive thresholding or anomaly detection engine fires a service degradation alert for a business service (e.g., "Checkout Service Latency > 95th percentile").
Context Pulled:
- The ITSI service definition, impacted KPIs, and baseline values.
- Related entities (hosts, applications) and their recent metric history.
- Recent changes from the CMDB or change management system (via integration).
- Past incident history for this service from ServiceNow.
AI Agent Action:
- A lightweight agent receives the alert payload via webhook.
- It queries the ITSI API and related systems to gather the context above.
- An LLM synthesizes this data into a plain-English summary:
code
"Alert: Checkout Service latency spike predicted. Primary driver appears to be increased load on app-server-pool-03, which received a code deployment 2 hours ago. No recent infrastructure changes. Similar past incidents were resolved by scaling the app pool." - The agent evaluates the summary against a rule set to suggest a severity (e.g., P2 vs P3) and a recommended assignment group.
System Update:
- The enriched summary and suggested metadata are posted back to the ITSI event, or used to automatically create a pre-populated incident in ServiceNow via the ITSM integration.
- The human SRE or NOC engineer reviews the AI-generated context, accelerating triage from minutes to seconds.
Implementation Architecture: Data Flow and Model Integration
A practical guide to integrating AI with Splunk IT Service Intelligence (ITSI) for enhanced predictive analytics and anomaly detection.
Integrating AI with Splunk ITSI centers on augmenting its native Machine Learning Toolkit (MLTK) and predictive analytics capabilities. The core data flow begins with ITSI's service-oriented KPIs and entity data—metrics from infrastructure, applications, and business services that define health scores. An AI layer, typically deployed as a containerized service or via the Splunk App for Data Science and Deep Learning, ingests these time-series KPIs, historical incident data, and topology context from the Service Analyzer. This model training environment uses frameworks like TensorFlow or PyTorch to build custom algorithms for predictive thresholding and multi-KPI anomaly detection, going beyond ITSI's static baselines to forecast service degradation hours before it occurs.
In production, the trained models are operationalized through the Splunk Common Information Model (CIM) or a dedicated AI inference pipeline. Real-time KPI streams are scored by the model, and outputs—such as an anomaly probability score or a predicted threshold breach—are written back to Splunk as new ITSI notable events or used to dynamically adjust service health scores. This integration is often managed through Splunk's Modular Inputs or a REST API handler that sits between the ML model and ITSI's Glass Tables. For governance, all model inferences, input data, and adjustments to service KPIs are logged to a dedicated index with full audit trails, ensuring explainability for operations teams and compliance with ITIL change management.
Rollout should follow a phased approach: start with a non-critical business service to validate model accuracy and establish a feedback loop where false positives/negatives are used to retrain the model. Key to success is embedding the AI outputs directly into existing ITSI workflows—such as triggering episodes or populating the Deep Dive Investigator with AI-generated root cause hypotheses—so that AI becomes a natural extension of the SRE or NOC team's toolkit, not a separate console. For teams looking to extend this pattern, consider our guide on [/integrations/security-information-and-event-platforms/ai-integration-for-splunk-it-service-intelligence](AI Integration for Splunk IT Service Intelligence) which covers broader service health automation.
Code and Payload Examples for Common Integration Patterns
Automating KPI Baseline Calculations
Predictive thresholding in Splunk ITSI uses historical KPI data to forecast normal bounds and alert on future anomalies. Instead of static thresholds, you can integrate an external AI service to dynamically calculate and update these baselines, accounting for trends and seasonality.
A common pattern is to periodically send aggregated KPI time-series data from ITSI to a model endpoint. The model returns recommended upper and lower bounds, which are then pushed back into ITSI via its REST API to update service KPIs. This loop ensures thresholds adapt to changing environments like weekly traffic patterns or new application deployments.
Example Payload to Model API:
json{ "service_id": "web_app_frontend", "kpi_id": "response_time_p95", "data_points": [ {"timestamp": 1710000000, "value": 245}, {"timestamp": 1710003600, "value": 238} ], "forecast_horizon_hours": 24 }
Model Response:
json{ "upper_bound": 310, "lower_bound": 195, "confidence": 0.92 }
This enables proactive alerting before users experience degradation.
Realistic Time Savings and Operational Impact
This table compares manual and AI-assisted workflows for key Splunk ITSI Machine Learning operations, showing realistic improvements in analyst efficiency and system reliability.
| Metric | Before AI | After AI | Notes |
|---|---|---|---|
Predictive threshold tuning for KPIs | Manual baseline analysis over 1-2 weeks | Automated baseline suggestions in 1-2 days | AI analyzes historical seasonality and trends; human final approval required |
Anomaly investigation for business service degradation | Manual correlation of 5-10 data sources (2-4 hours) | AI-prioritized root cause hypotheses (<30 minutes) | AI correlates ITSI KPIs with underlying metric entities and log patterns |
False positive reduction for anomaly alerts | Rule-based static thresholds (High FP rate) | Dynamic, context-aware thresholds (30-50% FP reduction) | AI incorporates business context (e.g., maintenance windows, deployment cycles) |
Model performance monitoring & retraining | Scheduled quarterly reviews | Continuous drift detection & retraining alerts | AI monitors model accuracy decay and flags degradation for review |
Correlating IT incidents with security events | Manual search across Splunk ES and ITSI (1+ hour) | Cross-domain correlation surfaced automatically | AI links ITSI service health anomalies to relevant security notable events |
Documenting ML use case value for stakeholders | Manual report creation (4-8 hours monthly) | Automated impact summaries generated weekly | AI quantifies alerts prevented, MTTR improvements, and service uptime contributions |
Onboarding new data sources into ML models | Manual feature engineering and testing (1-2 weeks) | Assisted schema mapping and outlier detection (2-3 days) | AI suggests relevant KPIs and baselines based on data patterns |
Governance, Security, and Phased Rollout Strategy
A pragmatic approach to integrating AI with Splunk ITSI's ML capabilities that prioritizes stability, control, and measurable impact.
Integrating AI with Splunk ITSI's machine learning features requires a clear governance model from day one. This starts by defining which AI models can interact with which ITSI objects—such as service KPI thresholds, anomaly detection baselines, and episode review workflows—and under what conditions. We implement role-based access controls (RBAC) to ensure only authorized users (e.g., AI Ops engineers, SRE leads) can approve model-generated changes to predictive thresholds or modify anomaly detection parameters. All AI-driven actions, whether suggesting a new baseline or correlating an IT incident with a security event, are logged as audit events in a dedicated index, creating a tamper-evident trail for compliance and root cause analysis.
For security, the integration architecture treats the AI system as a privileged user of the Splunk API. We use dedicated service accounts with scoped capabilities, ensuring the AI only accesses the itsi_* indexes, itsi_service and itsi_episode REST endpoints, and the MLTK commands necessary for its tasks. Sensitive data, such as raw service performance metrics used for model inference, is never persisted outside your Splunk environment. The AI's outputs—like a recommended threshold adjustment or an anomaly explanation—are treated as suggestions that require a human-in-the-loop approval step before being applied to production ITSI configurations, preventing uncontrolled drift in your monitoring posture.
A phased rollout is critical for managing risk and proving value. We recommend a three-stage approach: 1) Shadow Mode, where the AI analyzes historical ITSI data and generates recommendations that are compared against past human decisions without making any live changes. 2) Controlled Pilot, targeting a single, non-critical business service where the AI can auto-adjust predictive thresholds within a pre-defined guardrail, with weekly reviews. 3) Graduated Expansion, rolling out to additional services and enabling more autonomous workflows, like automated episode enrichment, based on success criteria defined in earlier phases (e.g., reduction in false-positive anomalies by X%, faster mean time to identify root cause). This measured approach builds organizational trust and delivers iterative wins, turning Splunk ITSI from a reactive monitoring tool into a predictive operations platform.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Frequently Asked Questions for Technical Buyers
Practical answers for teams evaluating how to augment Splunk IT Service Intelligence (ITSI) with AI and machine learning for predictive operations and smarter incident management.
ITSI's predictive thresholding uses statistical models to forecast KPI values. AI integration enhances this by injecting more sophisticated forecasts or anomaly scores.
Typical Integration Pattern:
- Trigger: ITSI's MLTK or an external scheduler initiates a model run on a service KPI time series.
- Context Pulled: Historical KPI data is queried from the ITSI glass table or a summary index via SPL or API.
- Model Action: An external AI service (e.g., hosted model, Azure ML) processes the data, returning a forecasted value, anomaly score, or confidence interval. This could be a LSTM, Prophet, or custom model trained on your environment.
- System Update: The result is written back to a lookup or a metric store. An ITSI adaptive thresholding policy is configured to use this external "AI forecast" as its baseline, dynamically adjusting alert thresholds.
- Governance: All model inputs, outputs, and version metadata are logged to a dedicated index for audit and drift detection.
Key Consideration: The integration is asynchronous. The AI model runs on a schedule (e.g., hourly) to update the forecast lookup, which ITSI's real-time thresholding engine then references.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us