mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
run in background
This commit is contained in:
@@ -313,7 +313,7 @@ post_2.3.5X_to_2.3.60() {
|
|||||||
echo "The status can be checked in $INFLUXDB_MIGRATION_LOG"
|
echo "The status can be checked in $INFLUXDB_MIGRATION_LOG"
|
||||||
read -p "Press enter to continue."
|
read -p "Press enter to continue."
|
||||||
echo ""
|
echo ""
|
||||||
docker exec -t so-influxdb /bin/bash -c 'influx -ssl -unsafeSsl -database telegraf -execute "SELECT mean(*) INTO "so_long_term".:MEASUREMENT FROM /.*/ GROUP BY time(5m),*"' >> "$INFLUXDB_MIGRATION_LOG" 2>&1 &
|
docker exec -dt so-influxdb /bin/bash -c 'influx -ssl -unsafeSsl -database telegraf -execute "SELECT mean(*) INTO "so_long_term".:MEASUREMENT FROM /.*/ GROUP BY time(5m),*"' >> "$INFLUXDB_MIGRATION_LOG" 2>&1
|
||||||
|
|
||||||
POSTVERSION=2.3.60
|
POSTVERSION=2.3.60
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,12 +2,12 @@ influxdb:
|
|||||||
retention_policies:
|
retention_policies:
|
||||||
autogen:
|
autogen:
|
||||||
default: True
|
default: True
|
||||||
duration: 1d
|
duration: 30d
|
||||||
shard_duration: 1h
|
shard_duration: 1d
|
||||||
so_long_term:
|
so_long_term:
|
||||||
default: False
|
default: False
|
||||||
duration: 7d
|
duration: 0s
|
||||||
shard_duration: 1d
|
shard_duration: 7d
|
||||||
downsample:
|
downsample:
|
||||||
so_long_term:
|
so_long_term:
|
||||||
resolution: 5m
|
resolution: 5m
|
||||||
Reference in New Issue
Block a user