Following the Prometheus webpage one main difference between Prometheus and InfluxDB is the usecase: while Prometheus stores time series only InfluxDB is better geared towards storing individual events. Since there was some major work done on the…
How do you delete data from influxdb?
The documentation shows it should be as simple as:
delete from foo where time < now() -1h
For some reason, influxdb rejects my delete statements saying "Delete queries can't have where clause that doesn't…
All I want is simply to know how much space my InfluxDB database takes on my HDD. The stats() command gives me dozens of numbers but I don't know which one shows what I want.
Is there a way (plugin or tool) to export the data from the database (or database itself) ? I'm looking for this feature as I need to migrate a DB from present host to another one.
I'm a beginner with influxDB and after reading the Schema design documentation a question remain.
How to decide if you should use one measurement with multiple fields or multiple measurement with single field ?
I have multiple iot device which send…
Is possible to query only for the last value (or n-th value) of the results of a query?
For example, in the query:
SELECT value FROM response_times WHERE time > now() - 1h limit 1000;
Is possible to get only the last value, i.e. the one more far…
A little background, I have been working with BCI (brain computer interface) and multi channel EEG to monitor brain activity. When the user starts a session with the BCI cap on, the raw data streaming from each channel is stored into Influxdb.
I…
I've Installed package from the official site by instruction. By default the physical destination of database folder is /opt/influxdb/shared.
I've tried to change properties of config file and written it properly. But after that I can't start the…
InfluxDB lets you delete points based on WHERE tag='value' conditions, but not by field value.
For example, if you have accidentally stored a measurement with a value of -1 in a series of positive floats (e.g. CPU utilization), DELETE FROM metrics…
I am using java and writing into InfluxDb using batch points. My code is mention below,
BatchPoints batchPoints = BatchPoints
.database(dbName).retentionPolicy("autogen") .consistency(InfluxDB.ConsistencyLevel.ALL).build();
point =…
The influx shell has a -version flag, but not influx server:
/path/to/bin/influx -version
InfluxDB shell version: 1.1.1
/path/to/bin/influxd -version
flag provided but not defined: -version
/path/to/bin/influxd -v
flag provided but not defined:…
How to install Debian packages on Alpine?
For example:
wget https://dl.influxdata.com/influxdb/releases/influxdb_0.13.0_armhf.deb
sudo dpkg -i influxdb_0.13.0_armhf.deb