influxdata / influxdata/kapacitor

InfluxDB subscription HTTP 400

Open
#2,654 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

Hello,

Kapacitor gives me the following logs when getting data from influxDB:
`kapacitor | 2021-11-24T08:22:57.602576320Z ts=2021-11-24T08:22:57.602Z lvl=info msg="http request" service=http host=10.199.204.66 username=- start=2021-11-24T08:21:11.813161949Z method=POST uri=/write?consistency=&db=Telemetry-Datacenter&precision=ns&rp=30s-for-1w **protocol=HTTP/1.1 status=400** referer=- user-agent=InfluxDBClient request-id=7bbf09ad-4cff-11ec-8084-000000000000 duration=1m45.789265998s`

HTTP code is 400. Subscription is correctly created into InfluxDB

Is there a way to know why do I get this error code?
Are there rules/best practises regarding measurements maybe that I can check

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Kapacitor log and the InfluxDB subscription write request shown in the report. Investigate the HTTP 400 response and the measurement or write-request rules relevant to the reported data. Done means identifying the cause and documenting the required correction or a reproducible next step.

Written by the indexing model from the issue text.

Assessment

Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.