Skip to content

Commit

Permalink
doc: Add documentation about how to connect to Influx Cloud (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar committed Oct 11, 2019
1 parent c352054 commit 23d8426
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ The last step is run a python script via: ``python3 influx_cloud.py``.
"""
Query written data
"""
query = f'from(bucket: "{bucket}") |> range(start: 0) |> filter(fn: (r) => r._measurement == "{kind}")'
query = f'from(bucket: "{bucket}") |> range(start: -1d) |> filter(fn: (r) => r._measurement == "{kind}")'
print(f'Querying from InfluxDB cloud: "{query}" ...')
print()
Expand Down

0 comments on commit 23d8426

Please sign in to comment.