summary: NestedAggregation with FilterAggregation and BucketAggregation using DSL
value:
  indices:  [ 'aggregations' ]
  aggregationType: 'DSL'
  aggregationsDsl:
    access:
      nested:
        path: 'access'
      aggs:
        Entitlements:
          filter:
            term:
              access.type: 'ENTITLEMENT'
          aggs:
            Access Name:
              terms:
                field: 'access.name.exact'
