{
    "id":"vss-domain-flow-explorer",
    "title":"Flow Information",
    "service":"elasticsearch",
    "query":{
        "index":"{{index:nuage_flow}}",
        "type":"{{type:nuage_doc_type}}",
        "body":{
          "size": 5000,
          "sort": [
            { "timestamp": { "order": "desc" } }
          ],
          "query": {
            "bool": {
         	    "must": [
                {"term": {"nuage_metadata.enterpriseName": "{{enterpriseName:chord_enterprise}}"} },
                {"term": {"{{domainType:nuage_metadata.domainName}}": "{{domainName}}"} },
                {"range": { "timestamp": { "gte": "{{startTime:now-24h}}", "lte": "{{endTime:now}}", "format":"epoch_millis"} }}
              ]
            }
          }
        }
    }
}

{
    "id":"vss-domain-flow-explorer",
    "title":"Flow Information",
    "service":"elasticsearch",
    "query":{
        "index":"{{index:nuage_flow}}",
        "type":"{{type:nuage_doc_type}}",
        "body":{
          "size": 1000,
          "sort": [
            { "timestamp": { "order": "desc" } }
          ],
          "query": {
            "bool": {
         	    "must": [
                {"term": {"nuage_metadata.enterpriseName": "{{enterpriseName:chord_enterprise}}"} },
                {"term": {"{{domainType:nuage_metadata.domainName}}": "{{domainName}}"} },
                {"range": { "timestamp": { "gte": "{{startTime:now-24h}}", "lte": "{{endTime:now}}", "format":"epoch_millis"} }}
              ]
            }
          }
        }
    }
}

Reduce elastic's scroll size to 1000 for faster response.
Reduce elastic's scroll size to 1000 for faster response.
