salt.states.influxdb_continuous_query

Management of Influxdb continuous queries

New in version 2017.7.0.

(compatible with InfluxDB version 0.9+)

salt.states.influxdb_continuous_query.absent(name, database, **client_args)

Ensure that given continuous query is absent.

name

Name of the continuous query to remove.

database

Name of the database that the continuous query was defined on.

salt.states.influxdb_continuous_query.present(name, database, query, resample_time=None, coverage_period=None, **client_args)

Ensure that given continuous query is present.

name

Name of the continuous query to create.

database

Database to create continuous query on.

query

The query content

resample_timeNone

Duration between continuous query resampling.

coverage_periodNone

Duration specifying time period per sample.