hello guys, i just wanna ask is there any format to show the "user", "geo", "hits" on body email. thanks
Hey,
please provide a little bit more information that just this. A sample watch or a sample watch output would be super useful. I can only assume that you are referring to a search result. You can access the first search result via ctx.payload.hits.hits.0._source.user
- this access the user
field in the JSON source.
There are also mustache commands to loop through a list, that might help you to extract all users from a result set.
Please provide more examples when you have more concrete question, as this makes it much easier to help you!
--Alex
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.