Study guide
12.3 Elastic AI Assistant for Security & Attack Discovery
Elastic Certified SIEM Analyst Exam
Track your progress as you read
Finished sections get a check mark.
1 Chapter 1: Exam Overview & Study Strategy
1.1 Elastic Certified SIEM Analyst Exam Facts, Objectives & Study Plan
2 Chapter 2: Elastic Stack Architecture & SIEM Foundations
2.1 Elastic Stack Architecture for Security Operations 2.2 Telemetry Ingestion Architecture & Data Pipelines 2.3 Security Data Storage, Data Streams & ILM
3 Chapter 3: Elastic Common Schema (ECS) & Ingestion Normalization
3.1 ECS Structure, Core Principles & Essential Field Sets 3.2 Ingest Pipelines, Processors & Normalization Workflows 3.3 Fleet Server & Elastic Agent Integration Management
4 Chapter 4: Discover, Data Views & Security Query Languages
4.1 Kibana Discover, Security Data Views & Runtime Fields 4.2 Kibana Query Language (KQL) & Lucene for SecOps 4.3 ES|QL for Multi-Stage Security Analysis
5 Chapter 5: Security Visualizations & Threat Analytics
5.1 Metric, Aggregation & Histogram Visualizations for SOC 5.2 Data Tables, Heatmaps & Specialized Security Charts 5.3 Elastic Maps & Geospatial Telemetry Analysis
6 Chapter 6: Kibana Lens for Security Workflows
6.1 Lens Architecture & Multi-Layer Telemetry Visualizations 6.2 Lens Formulas, Ratios & Anomaly Baseline Metrics 6.3 Operationalizing Lens in SOC Triage & Drilldowns
7 Chapter 7: Security Dashboards & SOC Operations
7.1 Security Dashboard Architecture & SOC Layout Design 7.2 Interactive Controls, Time Sync & Cross-Filtering 7.3 Dashboard Exporting, Reporting & Spaces Sharing
8 Chapter 8: The Elastic Security App: Capabilities, Explore & Dashboards
8.1 Security App Capabilities & the Explore Pages (Hosts, Network, Users) 8.2 Monitoring with the Security App Dashboards
9 Chapter 9: Elastic Security Detection Engine & Core Rules
9.1 Detection Engine Architecture & Prebuilt Rule Management 9.2 Custom Query & Threshold Detection Rules 9.3 Event Correlation Rules with Event Query Language (EQL)
10 Chapter 10: Advanced Detection Rules, ML & Rule Tuning
10.1 Threat Intelligence & Indicator Match Rules 10.2 New Terms, ES|QL & Machine Learning Detection Rules 10.3 Detection Rule Tuning, Exceptions & Alert Suppression
11 Chapter 11: Alert Triage, Timelines & Investigation Workflows
11.1 Alert Triage Workflow & the Alert Details Flyout 11.2 Elastic Security Timeline & Timeline Templates 11.3 Visual Event Analyzer & Session View Forensics
12 Chapter 12: Case Management, Integrations & AI Assistant
12.1 Elastic Security Case Management & Triage Workflows 12.2 Case Connectors & External Incident Escalation 12.3 Elastic AI Assistant for Security & Attack Discovery
13 Chapter 13: Security Administration, RBAC & Kibana Spaces
13.1 Kibana Spaces for SOC Multitenancy & Segmentation 13.2 Role-Based Access Control, Feature Privileges & Index Security 13.3 Elastic Defend Administration & Endpoint Policy Controls
14 Chapter 14: End-to-End Threat Hunting & Incident Investigation Capstone
14.1 Hypothesis-Driven Threat Hunting & Baselining in Elastic 14.2 Investigating Lateral Movement & Credential Access Campaigns 14.3 Data Exfiltration, C2 Detection & Incident Reconstruction
12.3 Elastic AI Assistant for Security & Attack Discovery
Key Takeaways Explain This Topic AI
Elastic AI Assistant and Attack Discovery require an Enterprise subscription and an LLM connector (OpenAI, Azure OpenAI, Amazon Bedrock, Google Vertex, or a local OpenAI-compatible model).
Analysts open AI Assistant with the Chat button in the alert or event flyout (and from Timeline, Rules and the Data Quality dashboard) to explain alerts, decode commands and draft KQL, EQL or ES|QL queries.
Attack Discovery (technical preview in 8.15) analyzes open and acknowledged alerts from the past 24 hours, 20 by default and up to 100, and describes related alerts as discoveries with hosts, users and MITRE ATT&CK stages.
Anonymization is field-based: only Allowed fields are sent, and Allowed fields marked Anonymized are replaced with random values before reaching the LLM.
The assistant never takes response actions itself; analysts verify its output and decide, and Kibana feature privileges control who can use and configure the AI features.
Last updated: September 2026
Generative AI Architecture in Security Operations
Security Operations Centers face a compounding triad of operational challenges: exponential telemetry growth, rapid evolution of adversary tactics, and a persistent global shortage of experienced cybersecurity analysts. Tier 1 analysts are frequently overwhelmed by high-volume, cryptic detection alerts containing dense JSON payloads, obfuscated command lines, and obscure Windows Event IDs. Investigating these alerts requires deep contextual expertise across operating systems, network protocols, and threat actor tradecraft.
The Elastic AI Assistant for Security introduces domain-specialized generative AI directly into the analyst workflow. Rather than acting as a disconnected general chatbot, the AI Assistant is deeply integrated into the Elastic Security fabric—accessible from the Alert Details Flyout, Timelines, Cases, Rule Management, and Kibana Discover.
Requirements at a Glance
Subscription : Elastic AI Assistant and Attack Discovery require an Enterprise subscription.
Privileges : Using AI Assistant needs Elastic AI Assistant: All plus Actions and Connectors: Read . Setting it up (creating the LLM connector) needs Actions and Connectors: All , and changing anonymization settings needs the Customize sub-feature privilege. Attack Discovery has its own feature privilege.
An LLM connector : Elastic does not supply the model. You connect a third-party or local large language model (LLM). +-------------------------------------------------------------------------+
- | Elastic AI Assistant Architectural Stack |
- +-------------------------------------------------------------------------+
- | Analyst prompt + optional context (alert, event, Timeline, dashboard) |
- | | |
- | v |
- | [ Anonymization settings: Allowed fields, Anonymized fields ] |
- | | |
- | v |
- | [ Knowledge base (optional): ES|QL docs, alerts, via ELSER ] |
- | | |
- | v |
- | [ Kibana LLM connector ] |
- | +------------------+------------+-----------+-------------------+ |
- | v v v v |
- | [OpenAI] [Azure OpenAI] [Amazon Bedrock] [Google Vertex|
- | (e.g. Claude) (Gemini)] |
- | [Local LLM, e.g. LM Studio, OpenAI-compatible] |
- +-------------------------------------------------------------------------+
- 1. LLM Connectors
AI Assistant and Attack Discovery share the same connectors. Elastic's 8.15 setup guides cover:
OpenAI and Azure OpenAI (through the OpenAI connector).
Amazon Bedrock , for example with Anthropic Claude models.
Google Vertex AI (Gemini models).
Custom local LLMs , for example a model served by LM Studio and reached through the OpenAI connector's OpenAI-compatible option.
Elastic does not control these third-party services. Data you send is handled under your provider's terms, so choose a provider and deployment that meet your data-handling policies.
2. Context and the Knowledge Base
AI Assistant opens from several places and passes relevant context with your question:
Alert or event details flyout : Click Chat to send that alert or event (after anonymization).
Timeline (its Security Assistant tab), the Rules page (help creating or correcting rule queries), and the Data Quality dashboard , where Chat on an incompatible field asks for help fixing the ECS mapping.
Anywhere : The AI Assistant button in the top toolbar, or Cmd + ; (Ctrl + ; on Windows).
Quick prompts help with common tasks, such as summarizing an alert or converting a query from another SIEM. System prompts and quick prompts can be customized, and each user's conversations are saved so they can be resumed. Responses offer inline actions: Add note to timeline , Add to existing case , Copy to clipboard , and, for some queries, Add to timeline .
The optional knowledge base (turned on in AI Assistant settings; it uses ELSER and needs machine learning) adds Elastic's ES|QL documentation and, if enabled, alerts from your environment. That lets the assistant answer ES|QL questions and questions about recent alerts more accurately.
- Operational SecOps Use Cases
- 1. Alert Explanation and De-obfuscation
When triaging complex alerts, such as encoded PowerShell, living-off-the-land utilities or memory injection, analysts click Chat in the alert details flyout and use a quick prompt or their own question:
Plain-language explanation : Decode base64 commands, unpick obfuscated command lines, and explain what the attacker was trying to do.
Impact questions : Ask what the command could have touched and what to check next, then verify the answer against the raw alert data.
2. Natural Language Query Generation (KQL, EQL and ES|QL)
AI Assistant can turn a plain-language request into a query:
An analyst asks: "Show source IPs with more than 5 failed SSH logins in the last 6 hours that also had a successful login."
- The assistant returns a query such as: FROM logs-system.auth-*
- | WHERE event.category == "authentication" AND @timestamp > NOW() - 6 HOURS
- | EVAL failed = CASE(event.outcome == "failure", 1, 0),
- succeeded = CASE(event.outcome == "success", 1, 0)
- | STATS fail_count = SUM(failed), success_count = SUM(succeeded) BY source.ip, user.name
- | WHERE fail_count > 5 AND success_count > 0
- | SORT fail_count DESC
The analyst reviews the query before running it, for example in Discover or in Timeline's ES|QL tab. Generated queries can contain mistakes, such as functions that do not exist, and the ES|QL knowledge base reduces them.
3. Remediation Guidance
The assistant can suggest containment and eradication steps, such as isolating a host with Elastic Defend, Osquery queries to sweep other endpoints for a dropped hash, or credential resets. It cannot take response actions itself : an analyst decides and acts.
4. Incident Documentation
Given alert context or pasted case notes, the assistant can draft summaries, timelines and handoff notes for an analyst to review and edit.
Attack Discovery: LLM-Driven Alert Correlation
In a real intrusion an adversary triggers many alerts across hosts and users. Attack Discovery uses the connected LLM to analyze a batch of alerts and describe which of them belong together as attacks. In Elastic Security 8.15 it is a technical preview feature. +--------------------------------------------------------------------------+
- | Attack Discovery (8.15) |
- +--------------------------------------------------------------------------+
- | Input: open and acknowledged alerts from the past 24 hours |
- | (20 alerts by default, up to 100 via AI Assistant settings) |
- | -> filtered through the same anonymization settings |
- | | |
- | v |
- | [ Selected LLM connector ] |
- | | |
- | v |
- | Each "discovery": title and summary, number of related alerts, the |
- | MITRE ATT&CK stages involved, and the implicated hosts and users with |
- | what was observed for each |
- +--------------------------------------------------------------------------+
- 1. Generating Discoveries
Open the Attack discovery page, select an LLM connector (the same ones AI Assistant uses), and click Generate . Analysis takes from seconds to several minutes. It considers open and acknowledged alerts from the past 24 hours : 20 by default, which you can raise to 100 in AI Assistant → Settings → Knowledge base (the Alerts setting). Elastic's testing found models with large context windows, such as Claude 3 Sonnet and Opus, performed best.
2. Working with Discoveries
Each discovery includes a descriptive title and summary, the number of associated alerts and the MITRE ATT&CK tactics they map to, and the implicated users and hosts with the activity observed for each. From a discovery you can:
Click a user or host to open its details flyout, or add it to Timeline.
Take action → Add to new case or Add to existing case .
Investigate in timeline to review the underlying alerts.
View in AI Assistant to ask follow-up questions.
A discovery is the model's interpretation of the alerts. Treat it as a strong lead and verify it in Timeline before acting.
- Security, Privacy and Governance Controls
- 1. Field-Level Anonymization
The Anonymization tab in AI Assistant settings controls every alert or event you send as context, and Attack Discovery uses the same settings:
Fields with Allowed turned on are sent. Other fields are not sent at all.
Allowed fields with Anonymized set to Yes are sent with their values replaced by random stand-in values. For example, a host name might become a random string. Kibana maps them back so you still see real values.
When you attach a specific event to a conversation, you can adjust these choices for that event before sending.
The Show anonymized toggle only changes what you see in the chat. It does not change what is sent.
Anonymization is field-based . It does not automatically detect personal data inside free-text fields, so leave fields such as full command lines or message bodies not allowed if they may contain secrets.
2. Provider Terms and Data Handling
Because Elastic does not control third-party LLMs, anything sent is subject to the provider's terms. Organizations with strict requirements choose enterprise deployments (for example Azure OpenAI or Amazon Bedrock under their own cloud agreements) or a local LLM, and restrict which fields are allowed.
3. Access Control and Records
Feature privileges : Elastic AI Assistant and Attack discovery are separate Kibana features (All or None), and configuring connectors requires the Actions and Connectors privilege.
Conversation history : Each user's chats and custom prompts are saved automatically. Kibana audit logging can additionally record user activity for compliance.
Reference Matrix: AI Capabilities, Risks and Controls
Capability What It Does Main Risk Control
Alert explanation Explains alerts and decodes obfuscated commands Confident but wrong explanations Verify against the raw alert (Table and JSON tabs) before deciding
Query generation Turns requests into KQL, EQL or ES|QL Invalid or inefficient queries Analyst reviews and runs the query; enable the ES|QL knowledge base
Remediation suggestions Proposes containment and follow-up checks Over-aggressive actions The assistant cannot act; a human decides
Attack Discovery Groups recent alerts into described attacks Linking unrelated alerts Review each discovery in Timeline; tech preview in 8.15
LLM connectivity Sends context to OpenAI, Azure OpenAI, Bedrock, Vertex or a local LLM Sensitive data leaving the environment Field anonymization, provider choice, Kibana privileges