Hello,
i have the following field:
"load_average": [ 2.57, 2.2, 2.18 ],
this is the JSON.
I now want to use scripted fields to generate separate fields so I can visualize the loads separately.
What I tried so far is:
doc["os.load_average"].value[1]
This does give me the first value.
But so does:
doc["os.load_average"].value[2]
Is there any other way to get a specific value in an array?
Kind Regards,
Luca