33 lines
722 B
JSON
33 lines
722 B
JSON
{
|
|
"spaces": [
|
|
{
|
|
"name": "everything",
|
|
"retentionPolicy": "inf",
|
|
"shardDuration": "7d",
|
|
"regex": "/.*/",
|
|
"replicationFactor": 1,
|
|
"split": 1
|
|
},
|
|
{
|
|
"name": "infinity_retention",
|
|
"retentionPolicy": "inf",
|
|
"shardDuration": "7d",
|
|
"regex": "/^keep_foreveer/",
|
|
"replicationFactor": 1,
|
|
"split": 1
|
|
},
|
|
{
|
|
"name": "specific",
|
|
"retentionPolicy": "7d",
|
|
"shardDuration": "1d",
|
|
"regex": "/^something_specfic/",
|
|
"replicationFactor": 2,
|
|
"split": 3
|
|
}
|
|
],
|
|
"continuousQueries": [
|
|
"select * from events into events.[id]",
|
|
"select count(value) from events group by time(5m) into 5m.count.events"
|
|
]
|
|
}
|