some influx scheme refinement, part 1
This commit is contained in:
52
InfluxDB/bucketsTemplate.json
Normal file
52
InfluxDB/bucketsTemplate.json
Normal file
@@ -0,0 +1,52 @@
|
||||
[
|
||||
{
|
||||
"apiVersion": "influxdata.com/v2alpha1",
|
||||
"kind": "Bucket",
|
||||
"metadata": {
|
||||
"name": "alerting-chaum-a8c001"
|
||||
},
|
||||
"spec": {
|
||||
"name": "config_state"
|
||||
}
|
||||
},
|
||||
{
|
||||
"apiVersion": "influxdata.com/v2alpha1",
|
||||
"kind": "Bucket",
|
||||
"metadata": {
|
||||
"name": "hardcore-hodgkin-a8c005"
|
||||
},
|
||||
"spec": {
|
||||
"name": "player_state"
|
||||
}
|
||||
},
|
||||
{
|
||||
"apiVersion": "influxdata.com/v2alpha1",
|
||||
"kind": "Bucket",
|
||||
"metadata": {
|
||||
"name": "objective-curie-a8c003"
|
||||
},
|
||||
"spec": {
|
||||
"name": "player_events"
|
||||
}
|
||||
},
|
||||
{
|
||||
"apiVersion": "influxdata.com/v2alpha1",
|
||||
"kind": "Bucket",
|
||||
"metadata": {
|
||||
"name": "romantic-blackwell-a8c009"
|
||||
},
|
||||
"spec": {
|
||||
"name": "server_state"
|
||||
}
|
||||
},
|
||||
{
|
||||
"apiVersion": "influxdata.com/v2alpha1",
|
||||
"kind": "Bucket",
|
||||
"metadata": {
|
||||
"name": "thirsty-leakey-a8c007"
|
||||
},
|
||||
"spec": {
|
||||
"name": "server_events"
|
||||
}
|
||||
}
|
||||
]
|
||||
3
InfluxDB/exportToTemplate.ps1
Normal file
3
InfluxDB/exportToTemplate.ps1
Normal file
@@ -0,0 +1,3 @@
|
||||
# Requires Influx CLI to be installed. Used to quickly generate a template of buckets to import to an instance for pre-setup.
|
||||
# https://docs.influxdata.com/influxdb/v2.7/reference/cli/influx/export/
|
||||
influx export all -f "bucketsTemplate.json" --filter=resourceKind=Bucket
|
||||
Reference in New Issue
Block a user