When I fire the query ( using curl -X GET ) from my Linux machine the output JSON is not complete.
the aggregation output is missing.
screenshots attached. Please help
curl -X GET "http://10.5.245.31:9200/response_hdd11*/_search?pretty" -H 'Content-Type: application/json' -d'
{
"size": 0,
"_source": {
"excludes": []
},
"aggs": {
"1": {
"sum": {
"script": {
"source": "doc['AB1C_response.keyword'].length",
"lang": "painless"
}
}
}
},
"stored_fields": [
"*"
],
"script_fields": {
"number_of_requests": {
"script": {
"source": "doc['AB1C_request.keyword'].length",
"lang": "painless"
}
},
"success_response": {
"script": {
"source": "doc['AB1C_response.keyword'].length",
"lang": "painless"
}
},
"Timeouts": {
"script": {
"source": "doc['failure_response.keyword'].length",
"lang": "painless"
}
}
},
"docvalue_fields": [
"@timestamp",
"formatted_time"
],
"query": {
"bool": {
"must": [
{
"range": {
"@timestamp": {
"gte": 1547592761660,
"lte": 1547635961660,
"format": "epoch_millis"
}
}
}
],
"filter": [
{
"match_all": {}
}
],
"should": [],
"must_not": []
}
}
}'