{
    "job_id": "JOB_ID",
    "indexes": [
      "filebeat-*"
    ],
    "query": {
      "bool": {
        "filter": [
          { "term":  { "fileset.module": "traefik" } },
          { "term":  { "fileset.name": "access" } }
        ]
      }
    },
    "aggregations": {
      "buckets": {
        "date_histogram": {
          "field": "@timestamp",
          "interval": 900000,
          "offset": 0,
          "order": {
            "_key": "asc"
          },
          "keyed": false,
          "min_doc_count": 0
        },
        "aggregations": {
          "@timestamp": {
            "max": {
              "field": "@timestamp"
            }
          }
        }
      }
    }
}
