﻿---
title: Entity analytics
description: Assess entity risk for hosts, users, and services, detect behavioral anomalies with machine learning, and monitor privileged users in Elastic Security.
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5650/solutions/security/advanced-entity-analytics
products:
  - Elastic Cloud Serverless
  - Elastic Security
applies_to:
  - Serverless Security projects: Generally available
  - Elastic Stack: Generally available
---

# Entity analytics
Entity analytics helps security teams detect emerging threats by assessing the risk posture of hosts, users, and services across your environment. It combines the SIEM detection engine with machine learning to score entity risk, identify anomalous behavior, and surface insider threats, so you can prioritize investigations and respond faster.
Rather than triaging alerts one at a time, entity analytics continuously evaluates risk using detection alerts, asset criticality assignments, and behavioral anomalies. You can focus on the entities that pose the greatest risk and investigate the full pattern of activity behind each score.

## Where to start


| Your goal                                          | Start here                                                                                                                                                                                                                                                                                                                                                            |
|----------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Set up entity risk scoring for the first time      | [Entity risk scoring requirements](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5650/solutions/security/advanced-entity-analytics/entity-risk-scoring-requirements) → [Turn on the risk scoring engine](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5650/solutions/security/advanced-entity-analytics/turn-on-risk-scoring-engine) |
| Monitor risk scores for hosts, users, and services | [Entity risk scoring](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5650/solutions/security/advanced-entity-analytics/entity-risk-scoring) → [View and analyze risk score data](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5650/solutions/security/advanced-entity-analytics/view-analyze-risk-score-data)                         |
| Detect behavioral anomalies with machine learning  | [Advanced behavioral detections](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5650/solutions/security/advanced-entity-analytics/advanced-behavioral-detections) → [Anomaly detection](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5650/solutions/security/advanced-entity-analytics/anomaly-detection)                             |
| Prioritize high-value assets                       | [Asset criticality](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5650/solutions/security/advanced-entity-analytics/asset-criticality)                                                                                                                                                                                                                |
| Monitor privileged user activity                   | [Privileged user monitoring](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5650/solutions/security/advanced-entity-analytics/privileged-user-monitoring)                                                                                                                                                                                              |


## How entity analytics works

Entity analytics operates continuously across several stages:
1. **Collect data:** The risk scoring engine ingests detection alerts, asset criticality levels, and privileged user designations from across your Elastic Security deployment.
2. **Score risk:** The engine calculates risk scores (0–100) for hosts, users, and services based on alert severity, frequency, and asset criticality. Scores are recalculated on a recurring interval.
3. **Detect anomalies:** Prebuilt machine learning jobs identify unusual patterns in user and host behavior that may indicate compromise or insider threats.
4. **Enrich entities:** The [entity store](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5650/solutions/security/advanced-entity-analytics/entity-store) reconciles data from ingested logs, identity providers, and risk scores into a unified view of each entity.
5. **Investigate and respond:** The [Entity analytics overview page](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5650/solutions/security/advanced-entity-analytics/overview) surfaces the highest-risk entities, anomalies, and KPIs so you can triage and investigate efficiently.


## Key capabilities

Entity analytics provides the following core capabilities that work together to give you a complete picture of entity risk across your environment.

### Entity risk scoring

Assign risk scores to hosts, users, and services based on detection alerts and asset criticality. The risk scoring engine runs on a recurring interval, using a weighted sum to calculate scores from 0 (lowest risk) to 100 (highest risk). Use risk scores to identify which entities require immediate attention and track how risk changes over time.

### Advanced behavioral detections

Use machine learning anomaly detection to identify suspicious behavior patterns — such as unusual login locations, atypical process execution, or abnormal network activity — that rule-based detections might miss. Prebuilt machine learning jobs are tailored to common security use cases.

### Privileged user monitoring

<applies-to>
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available since 9.3
  - Elastic Stack: Preview from 9.1 to 9.2
</applies-to>

Track the activity of users with elevated permissions, such as system administrators or users with access to sensitive data. Identify suspicious activities like over-provisioning of rights or potential insider threats before they cause damage.

## Next steps

- [Turn on the risk scoring engine](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5650/solutions/security/advanced-entity-analytics/turn-on-risk-scoring-engine) to begin calculating entity risk scores.
- [Enable the entity store](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5650/solutions/security/advanced-entity-analytics/entity-store) for centralized entity management.
- [Set up anomaly detection](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5650/solutions/security/advanced-entity-analytics/anomaly-detection) to identify behavioral threats.
- [Assign asset criticality](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5650/solutions/security/advanced-entity-analytics/asset-criticality) to prioritize high-value entities.
- [Explore host, user, and network data](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/5650/solutions/security/advanced-entity-analytics/explore) across your environment.