Hi guys,
I have managed to get my watch to output all of the usernames when someone fails to logon, they appear one after the other with a space in between, like so:
"text": "The following user(s) failed to logon: Test Admin TestAdmin User Example
This is the output I am currently using:
"body": {
"text": "The following user(s) failed to logon: {{#ctx.payload.hits.hits}} {{_source.target_username}} {{/ctx.payload.hits.hits}}"
}
I would like the output to look something like:
The following users failed to logon:
Test
Admin
TestAdmin
Example
User
Or some kind of table format, overall it just needs to be easier to read.
Cheers,
G