HowTo convert grafana data to key value pairs?

Heyy @lblabr Welcome to the community!

Follow this steps:

  1. Parse the JSON

  2. Iterate any 1 array


  3. Use text aggregator or Json aggregator based on your need. For JSON aggregator help read this use case solution :backhand_index_pointing_right: Optimal way to merge two arrays based on a common field? - #2 by Prem_Patel

Map values like this.

Output

You can use Set Variable module if you need all of them seperately.

I hope this helps!

Best,
@Prem_Patel