Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated json for filters with sql - ``` { "version": "v1", "stream_name": "mystream", "filter_name": "My Filter", "filter_id": "12345r", "query": { "filter_type": "sql", "filter_query": "SELECT * FROM mystream WHERE datetime = '2019-01-01T00:00:00Z' OR datetime = '2019-01-02T00:00:00Z' AND datetime = '2019-01-03T00:00:00Z'" }, "time_filter": { "from": "<utc-timestamp>", "to": "<utc-timestamp>" } } ``` updated json for filters with builder - ``` { "version": "v1", "stream_name": "mystream", "filter_name": "My Filter", "filter_id": "12345r", "query": { "filter_type": "builder", "filter_builder": { "id": "root", "combinator": "or", "rules": [ { "id": "ruleset-K8MABA", "combinator": "or", "rules": [ { "id": "rule-BUt9yY", "field": "datetime", "value": "asadadsdsad", "operator": "=" }, { "id": "rule-zC7EF9", "field": "datetime", "value": "ssasassasas", "operator": "=" } ] }, { "id": "ruleset-UwqIcb", "combinator": "and", "rules": [ { "id": "rule-tXgB5C", "field": "datetime", "value": "aasasass", "operator": "=" } ] } ] } }, "time_filter": { "from": "<utc-timestamp>", "to": "<utc-timestamp>" } } ```
- Loading branch information