question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

influxdb duplicate field stored

See original GitHub issue

I write a kcql like insert into record select * from record WITHTAG (ptype, pid). when I run this and look at the data in the influxdb, there exists two field ptype and ptype_1, pid and pid_1, ptype and pid is tag, ptype_1 and pid_1 is not, why should the duplicate ptype_1 and pid_1 should be stored? Is there any way to avoid this?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:26 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
andrewstevensoncommented, Mar 27, 2017

@iyuq ptype is not a field in the message schema ptype can't be found on the values list:ip,bit,ua,browser,os,query,deviceType,agent,resolution,origin,cookieEnabled,region,time,title,lang,sid,device

0reactions
iyuqcommented, Mar 30, 2017

@stheppi Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Handle duplicate data points when writing to InfluxDB
Preserve duplicate points. To preserve both old and new field values in duplicate points, use one of the following strategies: Add an arbitrary...
Read more >
Duplicate values stored in database · Issue #13989 - GitHub
I've run into one critical issue and found that influx has duplicate value on a single tag - timestamp pair. ... Duplicate field...
Read more >
Creating duplicate InfluxDB databases/datasets in InfluxCloud ...
InfluxCloud Chronograf currently doesn't provide a fast and easy way of creating duplicates of your existing databases.
Read more >
Thin out influx database time series / remove duplicates
_field == "temp") # Copy "_value" column so that the original won't get lost. |> duplicate(column: "_value", as: "diff") # Convert ...
Read more >
[SOLVED] Duplicate entries in Influxdb - Persistence Services
[SOLVED] Duplicate entries in Influxdb ... Result in influxdb ... how would one store INCREASE in a database column of type Integer?
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found