Hello everybody,
I am trying to display in canvas the users that have more than 10 authentication failed, so I am using this SQL query:
SELECT COUNT(*) as result_count
FROM (
SELECT user.name, COUNT(*) as result
FROM "winlogbeat-*"
WHERE event.category = 'authentication'
AND event.action = 'logon-failed'
GROUP BY user.name
HAVING result > 10
)
And I am getting this result:
|result_count|
|------------|
| 29 |
|------------|
| 78 |
|------------|
| 13 |
|------------|
and the expected result is: 3
Could you tell me please why I am getting this unexpected result ?
Thanks for your help