haganbt / PYLON-exporter

Utility for exporting data from a PYLON index
4 stars 2 forks source link

Add output identifier for merged queries #20

Closed haganbt closed 9 years ago

haganbt commented 9 years ago

Add name or identifier property to identify

``` request_name

``request```

request_name

haganbt commented 9 years ago

Proposed format makes a name mandatory:

{
  "app": {
    "log_level": "debug"
  },
  "analysis": {
    "timeSeries": [
      {
        "Task name here": [
          {
            "merge_id": "ford",
            "filter": "fb.content contains \"ford\"",
            "interval": "week",
            "span": 2
          },
          {
            "merge_id": "honda",
            "filter": "fb.content contains \"honda\"",
            "interval": "week",
            "span": 2
          }
        ]
      },
      {
        "filter": "fb.content contains \"ford\"",
        "interval": "week",
        "span": 2
      },
      {
        "filter": "fb.content contains \"honda\"",
        "interval": "week",
        "span": 2
      }
    ]
  }
}