Data getting overwritten with same timestamp in InfluxDB
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
There are some data in a csv file and it is getting overwritten if the timestamp is same, for example:
ip,time,name
1.1.1.1,2018-08-31 11:12:32,python
1.2.1.2,2018-08-31 11:05:28,oracle
1.3.1.3,2018-08-31 11:05:28,microsoft
1.4.2.5,2018-08-31 13:15:52,devops
The result in InfluxDB is coming as:
ip,time,name
1.1.1.1,2018-08-31 11:12:32,python
1.3.1.3,2018-08-31 11:05:28,microsoft
1.4.2.5,2018-08-31 13:15:52,devops
The issue is: The second-row record got overwritten by the third rows because the timestamp is same.
I want to insert all record in the InfluxDB.
time database data load
add a comment |Â
up vote
0
down vote
favorite
There are some data in a csv file and it is getting overwritten if the timestamp is same, for example:
ip,time,name
1.1.1.1,2018-08-31 11:12:32,python
1.2.1.2,2018-08-31 11:05:28,oracle
1.3.1.3,2018-08-31 11:05:28,microsoft
1.4.2.5,2018-08-31 13:15:52,devops
The result in InfluxDB is coming as:
ip,time,name
1.1.1.1,2018-08-31 11:12:32,python
1.3.1.3,2018-08-31 11:05:28,microsoft
1.4.2.5,2018-08-31 13:15:52,devops
The issue is: The second-row record got overwritten by the third rows because the timestamp is same.
I want to insert all record in the InfluxDB.
time database data load
check.. this helps for your issue docs.influxdata.com/influxdb/v0.13/troubleshooting/â¦
â Kamaraj
Aug 31 at 7:57
Thanks, I have checked this link but can you tell me how I will make IP as unique value. In every file I am getting 98 records and every IP is unique. but what is the command to tell to InfluxDB to that the IP column is unique.
â Syed Rizvi
Aug 31 at 8:05
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
There are some data in a csv file and it is getting overwritten if the timestamp is same, for example:
ip,time,name
1.1.1.1,2018-08-31 11:12:32,python
1.2.1.2,2018-08-31 11:05:28,oracle
1.3.1.3,2018-08-31 11:05:28,microsoft
1.4.2.5,2018-08-31 13:15:52,devops
The result in InfluxDB is coming as:
ip,time,name
1.1.1.1,2018-08-31 11:12:32,python
1.3.1.3,2018-08-31 11:05:28,microsoft
1.4.2.5,2018-08-31 13:15:52,devops
The issue is: The second-row record got overwritten by the third rows because the timestamp is same.
I want to insert all record in the InfluxDB.
time database data load
There are some data in a csv file and it is getting overwritten if the timestamp is same, for example:
ip,time,name
1.1.1.1,2018-08-31 11:12:32,python
1.2.1.2,2018-08-31 11:05:28,oracle
1.3.1.3,2018-08-31 11:05:28,microsoft
1.4.2.5,2018-08-31 13:15:52,devops
The result in InfluxDB is coming as:
ip,time,name
1.1.1.1,2018-08-31 11:12:32,python
1.3.1.3,2018-08-31 11:05:28,microsoft
1.4.2.5,2018-08-31 13:15:52,devops
The issue is: The second-row record got overwritten by the third rows because the timestamp is same.
I want to insert all record in the InfluxDB.
time database data load
time database data load
edited Sep 9 at 20:44
Rui F Ribeiro
36.8k1272117
36.8k1272117
asked Aug 31 at 7:54
Syed Rizvi
104
104
check.. this helps for your issue docs.influxdata.com/influxdb/v0.13/troubleshooting/â¦
â Kamaraj
Aug 31 at 7:57
Thanks, I have checked this link but can you tell me how I will make IP as unique value. In every file I am getting 98 records and every IP is unique. but what is the command to tell to InfluxDB to that the IP column is unique.
â Syed Rizvi
Aug 31 at 8:05
add a comment |Â
check.. this helps for your issue docs.influxdata.com/influxdb/v0.13/troubleshooting/â¦
â Kamaraj
Aug 31 at 7:57
Thanks, I have checked this link but can you tell me how I will make IP as unique value. In every file I am getting 98 records and every IP is unique. but what is the command to tell to InfluxDB to that the IP column is unique.
â Syed Rizvi
Aug 31 at 8:05
check.. this helps for your issue docs.influxdata.com/influxdb/v0.13/troubleshooting/â¦
â Kamaraj
Aug 31 at 7:57
check.. this helps for your issue docs.influxdata.com/influxdb/v0.13/troubleshooting/â¦
â Kamaraj
Aug 31 at 7:57
Thanks, I have checked this link but can you tell me how I will make IP as unique value. In every file I am getting 98 records and every IP is unique. but what is the command to tell to InfluxDB to that the IP column is unique.
â Syed Rizvi
Aug 31 at 8:05
Thanks, I have checked this link but can you tell me how I will make IP as unique value. In every file I am getting 98 records and every IP is unique. but what is the command to tell to InfluxDB to that the IP column is unique.
â Syed Rizvi
Aug 31 at 8:05
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f465951%2fdata-getting-overwritten-with-same-timestamp-in-influxdb%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
check.. this helps for your issue docs.influxdata.com/influxdb/v0.13/troubleshooting/â¦
â Kamaraj
Aug 31 at 7:57
Thanks, I have checked this link but can you tell me how I will make IP as unique value. In every file I am getting 98 records and every IP is unique. but what is the command to tell to InfluxDB to that the IP column is unique.
â Syed Rizvi
Aug 31 at 8:05