Influxdb
Influxdb
Influxdb
#influxdb
Table of Contents
About 1
Remarks 2
Examples 2
Installation or Setup 2
Examples 3
Show measurements 3
Credits 5
About
You can share this PDF with anyone you feel could benefit from it, downloaded the latest version
from: influxdb
It is an unofficial and free influxdb ebook created for educational purposes. All the content is
extracted from Stack Overflow Documentation, which is written by many hardworking individuals at
Stack Overflow. It is neither affiliated with Stack Overflow nor official influxdb.
The content is released under Creative Commons BY-SA, and the list of contributors to each
chapter are provided in the credits section at the end of this book. Images may be copyright of
their respective owners unless otherwise specified. All trademarks and registered trademarks are
the property of their respective company owners.
Use the content presented in this book at your own risk; it is not guaranteed to be correct nor
accurate, please send your feedback and corrections to info@zzzprojects.com
https://riptutorial.com/ 1
Chapter 1: Getting started with influxdb
Remarks
This section provides an overview of what influxdb is, and why a developer might want to use it.
It should also mention any large subjects within influxdb, and link out to the related topics. Since
the Documentation for influxdb is new, you may need to create initial versions of those related
topics.
Examples
Installation or Setup
https://riptutorial.com/ 2
Chapter 2: Querying Influx
Examples
Show databases and connect
$ show databases
name: databases
name
----
_internal
devices
... list of your databases
$ use <database_name>
By using a single database, the scope for each subsequent query will be limited to that database.
This means that you won't have to explicitely provide the name of the database in each
subsequent query.
Do note that by design the SSH connection remembers the current scope, but not all client SDK's
are guaranteed to have this available as well.
Show measurements
$ show measurements
Example result:
name: measurements
https://riptutorial.com/ 3
name
----
health
location
network
usage
Remarks:
The syntax also supports clauses like WITH, WHERE, LIMIT and OFFSET. In-depth information about this
can be found in the API docs 'Show Measurements'.
https://riptutorial.com/ 4
Credits
S.
Chapters Contributors
No
https://riptutorial.com/ 5