Skip to content
This repository was archived by the owner on Oct 29, 2024. It is now read-only.
This repository was archived by the owner on Oct 29, 2024. It is now read-only.

InfluxDBClientError: 400 when calling delete_series with no filter parameter #666

Closed
@lafrech

Description

@lafrech

Using Influxdb 1.7.4, this

client = InfluxDBClient(HOST, database='test')
client.delete_series()

yields

influxdb.exceptions.InfluxDBClientError: 400: {"error":"error parsing query: found EOF, expected FROM, WHERE at line 1, char 13"}

Looks like either measurements or tags should be provided.

This is not explicit in the method documentation. Perhaps a note should be added in the docs, and an exception raised if no filter is passed.

Or if it is actually possible to delete all measurements at once in Influxdb, then I guess delete_series ought to be fixed.

Or am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions