Influxdb

Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

influxdb

#influxdb
Table of Contents
About 1

Chapter 1: Getting started with influxdb 2

Remarks 2

Examples 2

Installation or Setup 2

Chapter 2: Querying Influx 3

Examples 3

Show databases and connect 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

Detailed instructions on getting influxdb set up or installed.

Read Getting started with influxdb online: https://riptutorial.com/influxdb/topic/9988/getting-started-


with-influxdb

https://riptutorial.com/ 2
Chapter 2: Querying Influx
Examples
Show databases and connect

To list the available databases, use the following command:

$ show databases

name: databases
name
----
_internal
devices
... list of your databases

You can connect to one specific database:

$ 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

When compared to a other database types, a measurement in Influx can be considered, on a


very high level, as being similar to a table in relational databases or a collection in document
databases.

List all measurements for the currently active database:

$ show measurements

Lists all measurements for a particular database:

$ show measurements on <database_name>

Example result:

$ show measurements on devices

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'.

Read Querying Influx online: https://riptutorial.com/influxdb/topic/9993/querying-influx

https://riptutorial.com/ 4
Credits
S.
Chapters Contributors
No

Getting started with


1 Community
influxdb

2 Querying Influx Moriarty

https://riptutorial.com/ 5

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy