0

I have the following column returned from ARG:

{
"a": {
    "key1": [
        "text1",
        "text2"
            ]
     }
"b": {
    "key2": [
        "text1",
        "text2"
            ]
     }
}

I'm trying to create another column which would contain a list of all the keys. So in the example above, the new column would contain:

["key1, "key2"]

I also see that I don't have all the functionality to run in ARG so I'm not sure if what I'm trying to do is possilbe.

David דודו Markovitz
  • 42,900
  • 6
  • 64
  • 88
Ace
  • 831
  • 2
  • 8
  • 28

1 Answers1

0
| mv-expand kind=array doc
| summarize make_list(bag_keys(doc[1]))
David דודו Markovitz
  • 42,900
  • 6
  • 64
  • 88