Changed date command option to support both GNU(Linux) and BSD(macOS) #5510 #5070 #5223 (#5511)

docs/clustered-grpc-mention
Hideyuki KATO 2024-07-09 07:48:36 +09:00 committed by GitHub
parent 37c5aa7d88
commit 97d21d4ff3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ InfluxDB {{< current-version >}} does not support deleting data **by field**.
influx delete \
--bucket example-bucket \
--start 1970-01-01T00:00:00Z \
--stop $(date --utc +"%Y-%m-%dT%H:%M:%SZ") \
--stop $(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--predicate '_measurement="example-measurement"'
```
@ -76,7 +76,7 @@ influx delete \
influx delete \
--bucket example-bucket \
--start 1970-01-01T00:00:00Z \
--stop $(date --utc +"%Y-%m-%dT%H:%M:%SZ") \
--stop $(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--predicate '_measurement="example-measurement" AND host="old-host"'
```

View File

@ -86,7 +86,7 @@ deletes all data in the specified bucket with timestamps between the specified `
```sh
influx delete --bucket example-bucket \
--start '1970-01-01T00:00:00Z' \
--stop $(date --utc +"%Y-%m-%dT%H:%M:%SZ") \
--stop $(date -u +"%Y-%m-%dT%H:%M:%SZ") \
--predicate '_measurement="example-measurement" AND exampleTag="exampleTagValue"'
```