Monitor entity risk and anomalies

The Entity analytics page provides a centralized workspace for investigating entity risk across your environment. Use it to explore entity risk scores, surface behavioral anomalies, and prioritize threat investigations.

Entity analytics overview page
Requirements
  • This feature requires the appropriate subscription in Elastic Stack or project feature tier in Serverless.
  • To access this page, you need Read for the Management → Saved Objects Management feature.
  • In some versions, you also need the read index privilege for these index patterns:
    • entities-latest-<space-id>, .entities.v2.latest.<space-id>-*, and risk-score.risk-score-<space-id>
    • entities-latest-<space-id>, .entities.v2.latest.security_<space-id>-*, and risk-score.risk-score-<space-id>
  • If you're using a custom role, make sure it grants read access to all the required index patterns.
  • To get access to this page, turn on the securitySolution:enablePrivilegedUserMonitoring advanced setting. In later versions, this page is displayed by default, and its visibility is no longer controlled by an advanced setting.

The way you access this page and the elements it contains differ based on your version. Select your version to see the details:

To access the page, find Entity analytics in the navigation menu or use the global search field.

The page contains the following elements:

Search bar and filters

Narrow the page to the part of your environment that you want to investigate. Use the search bar and filters in the following ways:

  • Enter a Kibana Query Language (KQL) query to find entities by their field values. The search narrows both the Entities that need your attention tiles and the entity table. While a search is active, the tiles hide their change and trend indicators.
  • Use the time filter next to the search bar to set the time range.
  • Filter the tiles and the entity table by attributes such as entity type or risk level.

The page keeps your time range, filters, selected tile, and table layout in the URL, so you can bookmark or share a view.

Entities that need your attention

Requirements
  • To display this section, you must enable the entity store.
  • To display the number of matching entities on a tile, the tile needs access to the data it reads:
    • Severely alerting and Watchlisted & alerting need detection alerts and read access to them.
    • Newly high-risk and Risk movers need risk scoring turned on and enough risk score history to compare against.
    • Anomalous needs prebuilt anomaly detection jobs that are installed and running, and read access to machine learning anomalies.
  • The AI buttons next to the section heading require Elastic Agent Builder to be your AI chat experience.

The tiles at the top of the page show which entities to look at first. Each tile counts the entities that match one condition in the selected time range, and shows how the count changed from the previous period of the same length, along with a trend line.

Tile Counts entities that
Severely alerting Have at least one high- or critical-severity alert
Newly high-risk Have a risk level that climbed to high or critical
Risk movers Have a risk score that went up by 10 or more points since the start of the time range
New & alerting Were first seen in the time range and have at least one alert
Anomalous Are flagged by at least one machine learning anomaly
Watchlisted & alerting Are on a watchlist and have at least one alert

Click a tile to filter the entity table to the entities it counts. The table shows up to 1,000 entities for a tile.

Use the buttons next to the section heading to start an Elastic Agent Builder chat. A button doesn't appear if you don't meet its requirements.

  • Click Generate AI brief to ask the agent for a summary of the entity risk landscape in your current view, including the time range, filters, and tile counts, with recommended next steps. Elastic Agent Builder opens and starts generating the brief right away.
  • Click Hunt with AI to open a new chat with a prefilled prompt that asks the agent for your latest active threat hunting leads, including why each was flagged and a first step to investigate it. Review the prompt, then send it.

Entity table

Requirements

To display the entity table, you must enable the entity store.

The entity table provides a centralized view of all hosts, users, and services in your environment. It displays entities from the entity store, which meet either of the following criteria:

  • Have been observed by Elastic Security
  • Have been added to Elastic Security through an integration, such as Active Directory or Okta

Interact with the table in the following ways:

  • Use the field selector to add or remove fields as columns, and use the column selector to show or hide columns.
  • Use Rows to select what each row represents:
    • Resolved entities (default): One row per resolved entity. Expand a row to see the individual records nested under it. Values such as the risk score and alerts cover the whole group, and the Records column shows how many records the group contains.
    • Individual records: One row per entity record, with that record's own values. The Resolved to column shows the primary entity that the record resolves to.
  • Use Group by to group rows by Entity type, by Resolution (individual records only), or by a custom field, up to three levels deep.
  • Use the icons in the Actions column to work with an entity:
    • Investigate in timeline : Opens Timeline with a query for the entity.
    • Open entity graph: Opens the graph view of the entity and its relationships.
    • More actions : Opens a menu with Add to chat, which starts an Elastic Agent Builder chat with the entity attached, and Add to case, which attaches the entity to a case.
  • Click an entity name to open the entity details flyout.

To access the page, find Entity analytics in the navigation menu or use the global search field.

The page contains the following sections:

Threat hunting leads

Requirements
  • To display threat hunting leads, you must turn on risk scoring.
  • To view or generate threat hunting leads, you need the following privileges:
    • View leads: read for .entity_analytics.entity-leads*
    • Generate leads:
      • read, create_index, and write for .entity_analytics.entity-leads*
      • Read for the Management → Actions and Connectors feature

AI-generated leads appear at the top of the page, giving threat hunters a curated starting point for their investigations. Leads are refreshed every 24 hours and are derived from observations about entities in the entity store, including:

  • Recent increases in entity risk score
  • Newly added privileged users
  • High numbers of alerts on a given entity

Interact with this section in the following ways:

  • Click Generate or Regenerate to manually trigger a new set of leads without waiting for the next automatic refresh.
  • Click See recent leads to access and search the most recent leads.
  • Click Hunt with AI to open an AI-assisted investigation session in Agent Builder without any pre-loaded lead context.
  • Click the options menu to select a connector and toggle Auto-generate every 24 hours on or off.
  • Click a lead to open an AI-assisted investigation session in Agent Builder with that lead's context pre-loaded.

Entity risk levels

Requirements

To display entity risk levels, you must turn on risk scoring.

This panel shows the distribution of entity risk across your environment, grouped by risk level. For each level, it displays the associated risk score range and the number of entities at that level.

Recent anomalies

Requirements

This panel displays recent entity-related anomalies detected by prebuilt machine learning jobs. Interact with this section in the following ways:

  • Use the View by dropdown to group anomalies by Entity or Job ID.
  • Use the Anomaly score filters to focus on anomalies by severity range.
  • Click Open in Anomaly Explorer to access and search all machine learning jobs in the Anomaly Explorer.

Entities

Requirements

To display the Entities section, you must enable the entity store.

This section provides a centralized view of all hosts, users, and services in your environment. It displays entities from the entity store, which meet either of the following criteria:

  • Have been observed by Elastic Security
  • Have been added to Elastic Security through an integration, such as Active Directory or Okta

Interact with the table to filter and explore entity data:

  • Use the Group entities by dropdown to group entities by Resolution, Entity type, or a custom field. By default, entities are grouped by Resolution: alias entities appear nested under their primary entity, while unresolved entities appear on their own.
  • Filter the table by watchlist membership to focus on specific entity groups.
  • Sort and filter by any entity store field.
  • Click an entity row to expand it and view more details, or open the entity details flyout.

To access the page:

  • Find Entity analytics → Overview in the navigation menu.
  • Find Dashboards → Entity Analytics in the navigation menu.

The page contains the following sections:

Entity KPIs (key performance indicators)

This section displays the total number of critical hosts, critical users, and anomalies. Select a link to jump to the Hosts page, Users page, or Anomalies table.

User Risk Scores

Requirements

To display user risk scores, you must turn on risk scoring.

This section displays user risk score data for your environment, including the total number of users, and the five most recently recorded user risk scores, with their associated user names, risk data, and number of detection alerts. User risk scores are calculated using a weighted sum on a scale of 0 (lowest) to 100 (highest).

Interact with the table to filter data, view more details, and take action:

  • Select the User risk level menu to filter the chart by the selected level.
  • Click View all to display all user risk information on the Users page.
  • Click a user name link to open the entity details flyout.
  • Hover over a user name link to display inline actions: Add to timeline ( ) and Copy to Clipboard ( ).
  • Click the number link in the Alerts column to view the alerts on the Alerts page. Hover over the number and select Investigate in timeline ( ) to launch Timeline with a query that includes the associated user name value.

For more information about user risk scores, refer to Entity risk scoring.

Host Risk Scores

Requirements

To display host risk scores, you must turn on risk scoring.

This section displays host risk score data for your environment, including the total number of hosts, and the five most recently recorded host risk scores, with their associated host names, risk data, and number of detection alerts. Host risk scores are calculated using a weighted sum on a scale of 0 (lowest) to 100 (highest).

Interact with the table to filter data, view more details, and take action:

  • Select the Host risk level menu to filter the chart by the selected level.
  • Click View all to display all host risk information on the Hosts page.
  • Click a host name link to open the entity details flyout.
  • Hover over a host name link to display inline actions: Add to timeline ( ) and Copy to Clipboard ( ).
  • Click the number link in the Alerts column to view the alerts on the Alerts page. Hover over the number and select Investigate in timeline ( ) to launch Timeline with a query that includes the associated host name value.

For more information about host risk scores, refer to Entity risk scoring.

Service Risk Scores

Requirements

To display service risk scores, you must turn on risk scoring.

This section displays service risk score data for your environment, including the total number of services, and the five most recently recorded service risk scores, with their associated service names, risk data, and number of detection alerts. Service risk scores are calculated using a weighted sum on a scale of 0 (lowest) to 100 (highest).

Interact with the table to filter data, view more details, and take action:

  • Select the Service risk level menu to filter the chart by the selected level.
  • Click a service name link to open the service details flyout.
  • Hover over a service name link to display inline actions: Add to timeline ( ) and Copy to Clipboard ( ).
  • Click the number link in the Alerts column to view the alerts on the Alerts page. Hover over the number and select Investigate in timeline ( ) to launch Timeline with a query that includes the associated service name value.

For more information about service risk scores, refer to Entity risk scoring.

Entities

Requirements

To display the Entities section, you must enable the entity store.

This section provides a centralized view of all hosts, users, and services in your environment. It displays entities from the entity store, which meet either of the following criteria:

  • Have been observed by Elastic Security
  • Have been added to Elastic Security through an integration, such as Active Directory or Okta
  • Have an asset criticality assignment

Interact with the table to filter and explore entity data:

  • Select the Risk level dropdown to filter the table by the selected user, host, or service risk level.
  • Select the Criticality dropdown to filter the table by the selected asset criticality level.
  • Select the Source dropdown to filter the table by the data source.
  • Click the View details icon ( ) to open the entity details flyout.
Note

The Entities table only shows a subset of the data available for each entity. You can query the .entities.v1.latest.security_user_<space-id>, .entities.v1.latest.security_host_<space-id>, and .entities.v1.latest.security_service_<space-id> indices to see all the fields for each entity in the entity store.

Entity data from different sources appears in the Entities section based on the following timelines:

  • When you first enable the entity store, only data stored in the last 24 hours is processed. After that, data is processed continuously.
  • Observed events from the Elastic Security default data view are processed in near real-time.
  • Entity Analytics data, such as entity risk scores and asset criticality (including bulk asset criticality upload), is also processed in near real-time.
  • The availability of entities extracted from Entity Analytics integrations depends on the specific integration. Refer to Active Directory Entity Analytics, Microsoft Entra ID Entity Analytics, and Okta Entity Analytics for more details.

Anomalies

Anomaly detection jobs identify suspicious or irregular behavior patterns. The Anomalies table displays the total number of anomalies identified by these prebuilt machine learning jobs (named in the Anomaly name column).

Requirements

To display anomaly results, you must install and run one or more prebuilt anomaly detection jobs. You cannot add custom anomaly detection jobs to the Entity analytics page.

Interact with the table to view more details:

  • Click View all host anomalies to go to the Anomalies table on the Hosts page.
  • Click View all user anomalies to go to the Anomalies table on the Users page.
  • Click View all to display and manage all machine learning jobs on the Anomaly Detection Jobs page.
Tip

To learn more about machine learning, refer to What is Elastic Machine Learning?