Hi guys,
based on the "totalTime" filed I want to get results greather than 3000.
{
"_source": {
"request": "",
"apiName": "Customer_V1",
"targetName": "ME_5530",
"consumerId": "uddi:dea0ba6e-c824-11e6-bf86-e6d5fa77a251",
"totalTime": "1918",
"operationName": "GET_fact",
"consumerIp": "10.121.104.24",
"eventType": "TransactionalEvents",
"sessionId": "48f88910779214d5801dffffffff50a8",
"creationDate": 1492787156877,
"apiVersion": "v1",
"response": "",
"tolalDataSize": "0",
"providerTime": "1894",
"apiId": "7562a23f-2663-11e7-b587-df5f1b393a20",
"consumerName": "TOTO",
"status": "SUCCESS"
}
I tested:
POST http://localhost:9200/webmethodsmediato/TransactionalEvents/_search
{
"size": 10000,
"from": 0,
"query": {
"bool": {
"must": [{
"term": {
"apiName": "Customer_V1"
}
},
{
"range": {
"totalTime": {
"gt": 3000,
"lt": 4000
}
}
}
]
}
}
}
Can anyone give me a tip.
Best regards
Ismael