mirror of
https://github.com/KevinMidboe/brewPi.git
synced 2025-10-29 16:50:12 +00:00
New and improved in sveltekit
This commit is contained in:
BIN
elasticQueries/-X
Normal file
BIN
elasticQueries/-X
Normal file
Binary file not shown.
57
elasticQueries/temp_15min_30s.json
Normal file
57
elasticQueries/temp_15min_30s.json
Normal file
@@ -0,0 +1,57 @@
|
||||
{
|
||||
"aggs": {
|
||||
"2": {
|
||||
"date_histogram": {
|
||||
"field": "@timestamp",
|
||||
"fixed_interval": "30s",
|
||||
"time_zone": "Europe/Oslo",
|
||||
"min_doc_count": 1
|
||||
},
|
||||
"aggs": {
|
||||
"1": {
|
||||
"max": {
|
||||
"field": "temperature"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"size": 0,
|
||||
"fields": [
|
||||
{
|
||||
"field": "@timestamp",
|
||||
"format": "date_time"
|
||||
}
|
||||
],
|
||||
"script_fields": {},
|
||||
"stored_fields": ["*"],
|
||||
"_source": {
|
||||
"excludes": []
|
||||
},
|
||||
"query": {
|
||||
"bool": {
|
||||
"must": [],
|
||||
"filter": [
|
||||
{
|
||||
"match_all": {}
|
||||
},
|
||||
{
|
||||
"match_phrase": {
|
||||
"location.keyword": "inside"
|
||||
}
|
||||
},
|
||||
{
|
||||
"range": {
|
||||
"@timestamp": {
|
||||
"gte": "2022-04-03T13:04:26.460Z",
|
||||
"lte": "2022-04-03T13:19:26.460Z",
|
||||
"format": "strict_date_optional_time"
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"should": [],
|
||||
"must_not": []
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user