Hi,
I've tried creating a Visualization with Vega, I've the response something like below, how do I create a property for the highlighted data. Could someone please help.
"took": 765,
"timed_out": false,
"_shards": {
  "total": 215,
  "successful": 215,
  "skipped": 0,
  "failed": 0
},
"hits": {
  "total": 933,
  "max_score": 0,
  "hits": []
},
"aggregations": {
  "2": {
    "doc_count_error_upper_bound": 0,
    "sum_other_doc_count": 0,
    "buckets": [
      {
        "5": {
          "doc_count_error_upper_bound": 0,
          "sum_other_doc_count": 39,
          "buckets": [
            {
              "key": 146,                    <---
              "doc_count": 1,
              "Passed": { "value": 3 },      <---
              "total_cases": { "value": 3 }, <---
              "Failed": { "value": 0 },      <---
              "Skipped": { "value": 0 }      <---
            }
          ]
        },
        "key": "Example1",                   <---
        "doc_count": 40
      },
      {
        "5": {
          "doc_count_error_upper_bound": 0,
          "sum_other_doc_count": 48,
          "buckets": [
            {
              "key": 145,                    <---
              "doc_count": 1,
              "Passed": { "value": 2 },      <---
              "total_cases": { "value": 2 }, <---
              "Failed": { "value": 0 },      <---
              "Skipped": { "value": 0 }      <---
            }
          ]
        },
        "key": "Example2",                   <---
        "doc_count": 49
      },
            
