I would like to make a query in elastic search such as I only get the last 40 data I have on my database. For the moment my query is such :
{
"size": 40,
"query" : {
"exists": {
"field": "transaction.domain"
}
"range": {
"@timestamp" : {
"from": "now-30mn",
"to": "now"
}
}
}
}
Thanks for your help. Victoire