hurl/packages/hurlfmt/tests/json/elasticsearch.json
2020-11-02 18:30:13 +01:00

37 lines
553 B
JSON

{
"from": 0,
"size": 2000,
"sort": [
{
"@timestamp": "desc"
}
],
"query": {
"bool": {
"must": [
{
"match": {
"tag.env": "prod"
}
},
{
"match": {
"data.r_code": "500"
}
},
{
"match": {
"data.q_client-dns": "m.shop.sosh.fr"
}
},
{
"match": {
"@timestamp": {
"query": "{{date}}"
}
}
}
]
}
}
}