Dear all =)
I would like to have {{context.hits}}
as a JSON array, so I have tried different things.
If I put the following in a Kibana rule body
{"documents":"{{context.hits}}"}
then all the documents are stored as a string. if I do
{"documents":"[ {{context.hits}} ]"}
then it is closer to be an array, but it is still a string.
Question
Is it possible to get the documents in a real JSON array?
Hugs,
Sandra =)