I have been building a dashboard with a couple of indexes. After evaluation, it turns out one of the indexes seems to be off by 1hr. For all of my timelion visualizations, this was corrected by modifying each reference to this index with an offset=-1h.
However I have a data table visualization which I would like to modify with this as well. I have added this attribute to the JSON and while it seems to pass the syntax check, it doesn't seem to apply. Is this possible and, if so, any thoughts on where it should go?
{
"title": "Client Copy",
"type": "table",
"aggs": [
{
"id": "1",
"enabled": true,
"type": "avg",
"params": {
"field": "usage",
"customLabel": "Average Usage"
},
"schema": "metric"
},
{
"id": "2",
"enabled": true,
"type": "terms",
"params": {
"field": "Meter",
"orderBy": "1",
"order": "desc",
"size": 25,
"otherBucket": true,
"otherBucketLabel": "Other",
"missingBucket": false,
"missingBucketLabel": "Missing",
"customLabel": "Meter"
},
"schema": "bucket"
},
{
"id": "3",
"enabled": true,
"type": "sum",
"params": {
"field": "usage",
"customLabel": "Sum of Usage"
},
"schema": "metric"
},
{
"id": "4",
"enabled": true,
"type": "std_dev",
"params": {
"field": "HrVal",
"customLabel": "Standard Deviation"
},
"schema": "metric"
},
{
"id": "5",
"enabled": true,
"type": "max",
"params": {
"field": "usage",
"customLabel": "Max Reading"
},
"schema": "metric"
}
],
"params": {
"perPage": 10,
"showPartialRows": false,
"showMetricsAtAllLevels": false,
"sort": {
"columnIndex": null,
"direction": null
},
"showTotal": false,
"totalFunc": "sum",
"percentageCol": "",
"offset": "-1h"
}
}