For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Sign inTry it free
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
DocsGuidesSDKsIntegrationsAPI docsTutorialsFlagship blog
  • Get started
    • Overview
    • Onboarding
    • Get started
    • Launch Insights
    • LaunchDarkly architecture
    • LaunchDarkly vocabulary
  • AgentControl
    • AgentControl
    • Manage AgentControl
  • Feature flags
    • Create flags
    • Target with flags
    • Flag templates
    • Manage flags
    • Code references
    • Contexts
    • Segments
  • Releases
    • Releasing features with LaunchDarkly
    • Release policies
    • Percentage rollouts
    • Progressive rollouts
    • Guarded rollouts
    • Feature monitoring
    • Release pipelines
    • Engineering insights
    • Release management tools
    • Applications and app versions
    • Change history
    • Restoring previous flag versions
  • Observability
    • Observability
    • Session replay
    • Error monitoring
    • Logs
    • Traces
    • Observability metrics
    • Product analytics events
    • LLM observability
    • Alerts
    • Dashboards
    • Service map
    • Vega for auto-remediation
    • Observability MCP server
    • Search specification
    • Observability settings
    • Observability integrations
  • Experimentation
    • Experimentation
    • Experiment metric types
    • Experiment configuration
    • Managing experiments
    • Analyzing experiments
      • Experiment results data
      • Bayesian experiment results
      • Frequentist experiment results
      • Filtering experiment results
    • Multi-armed bandits
    • Holdouts
  • Metrics and events
    • Metrics in LaunchDarkly
    • Creating metrics
    • Metric groups
    • Events
    • Autogenerated metrics
  • Warehouse native
    • Warehouse native metrics
    • Setting up external warehouses
    • Creating experiments using warehouse native metrics
  • Infrastructure
    • Connect apps and services to LaunchDarkly
    • LaunchDarkly in China and Pakistan
    • LaunchDarkly in the European Union (EU)
    • LaunchDarkly in federal environments
    • Public IP list
  • Your account
    • Projects
    • Views
    • Environments
    • Tags
    • Teams
    • Members
    • Roles
    • Account security
    • Feature previews
    • Billing and usage
    • Changelog
Sign inTry it free
LogoLogo
On this page
  • Overview
  • Add attribute filters
  • View filtered results
ExperimentationAnalyzing experiments

Filtering experiment results

Was this page helpful?
Previous

Multi-armed bandits

Next
Built with

Overview

This topic explains how to use attribute filters to narrow experiment results by attribute.

Attribute filters allow you to analyze your experiment results by certain cross-sections of your experiment audience using context attributes.

For example, if you wanted to view only results from users within Canada, you might narrow your results by users with a “Country” attribute value of Canada.

Add attribute filters

To filter results by attribute, you can add attributes in the “Select metrics” step when you create an experiment. To learn how, read Creating experiments. You can then filter your results by the different values of one of those attributes.

You can also add attributes to an existing experiment from its Results tab. Here’s how:

  1. Navigate to your experiment’s Results tab.
  2. Scroll to the results table and click Add.
  3. Select Attributes. An “Add attributes” dialog appears, with any eligible and ineligible attributes listed.

The add attribute option on a running experiment.

The add attribute option on a running experiment.
  1. Select any eligible attributes you want to view.
  2. Click Add attributes.
You cannot add attributes to iterations started before September 30, 2025

You can add attributes to running experiment iterations created on or after September 30, 2025. You cannot add attributes to any running experiment iterations started before this date.

You can now filter your experiment results by these attributes.

View filtered results

To filter experiment results by attribute:

  1. Navigate to your experiment’s Results tab.
  2. Above the results table, click All attributes. A menu of attributes appears.
  3. Hover over an attribute from the menu. A list of attribute values appears.
  4. Check the box next to any attribute value you want to narrow your results by.

The graph updates to display results from only contexts with the attribute value you selected:

Experiment results filtered by attribute.

Experiment results filtered by attribute.
You cannot filter results for anonymous contexts or private attributes

Private attributes and contexts with the anonymous property set to true are not available for data filtering. Private attributes and anonymous context attributes do not appear in the “Attribute filters” menus.

Configure your SDK: Context configuration