Hello Sean,
This is the import file i am using -
---------------------------------------Cut-----------------------------------------

# DDL
CREATE DATABASE db0
CREATE DATABASE db1
CREATE RETENTION POLICY rp1 ON db1 DURATION 1h REPLICATION 1

# DML
# CONTEXT-DATABASE:db0
# CONTEXT-RETENTION-POLICY:autogen
cpu,host=server1 value=33.3 1464026335000000000
cpu,host=server1 value=43.3 1464026395000000000
cpu,host=server1 value=63.3 1464026575000000000

# CONTEXT-DATABASE:db1
# CONTEXT-RETENTION-POLICY:rp1
cpu,host=server1 value=73.3 1464026335000000000
cpu,host=server1 value=83.3 1464026395000000000
cpu,host=server1 value=93.3 1464026575000000000

---------------------------------------Cut-----------------------------------------
After running this file like this :- [root@integration@DEV influxdb]influx
-import -path=first.txt
I get following output - which shows success-

2016/10/14 09:22:45 Processed 3 commands
2016/10/14 09:22:45 Processed 6 inserts
2016/10/14 09:22:45 Failed 0 inserts

Attached Screenshot of my query to the database.

Log file -

[retention] 2016/10/19 03:28:26 retention policy shard deletion check
commencing
[retention] 2016/10/19 03:58:26 retention policy shard deletion check
commencing
[retention] 2016/10/19 04:28:26 retention policy shard deletion check
commencing
[retention] 2016/10/19 04:58:26 retention policy shard deletion check
commencing
[retention] 2016/10/19 05:28:26 retention policy shard deletion check
commencing
[retention] 2016/10/19 05:58:26 retention policy shard deletion check
commencing
[retention] 2016/10/19 06:28:26 retention policy shard deletion check
commencing
[retention] 2016/10/19 06:58:26 retention policy shard deletion check
commencing
[retention] 2016/10/19 07:28:26 retention policy shard deletion check
commencing
[retention] 2016/10/19 07:58:26 retention policy shard deletion check
commencing
[retention] 2016/10/19 08:28:26 retention policy shard deletion check
commencing



Thanks and Regards,
Manish Jain
+917738684730

On Fri, Oct 14, 2016 at 11:30 PM, Sean Beckett <s...@influxdb.com> wrote:

> Please share the DDL from the top of the import file.
>
> Dod you look in the logs? Are you sure you are querying the right database?
>
> On Fri, Oct 14, 2016 at 3:45 AM, <manish...@gmail.com> wrote:
>
>> How can i see the data imported in the database.
>> I reached till this step -
>>
>> [root@integration@DEV influxdb]influx -import -path=first.txt
>> 2016/10/14 09:22:45 Processed 3 commands
>> 2016/10/14 09:22:45 Processed 6 inserts
>> 2016/10/14 09:22:45 Failed 0 inserts
>>
>> Please help how i can see the measurements in the database.
>> 'Show measurements' shows nothing.
>>
>> --
>> Remember to include the version number!
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "InfluxData" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to influxdb+unsubscr...@googlegroups.com.
>> To post to this group, send email to influxdb@googlegroups.com.
>> Visit this group at https://groups.google.com/group/influxdb.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/influxdb/a3319963-4b54-49de-969e-72330af701af%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Sean Beckett
> Director of Support and Professional Services
> InfluxDB
>
> --
> Remember to include the version number!
> ---
> You received this message because you are subscribed to a topic in the
> Google Groups "InfluxData" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/influxdb/NE1jUrAVLjo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> influxdb+unsubscr...@googlegroups.com.
> To post to this group, send email to influxdb@googlegroups.com.
> Visit this group at https://groups.google.com/group/influxdb.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/influxdb/CALGqCvPk7MoF2rVFtU%2BKM8dVWsk5%3DSt9fG2i%3DG40%
> 3DW2LJSfVkQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/influxdb/CALGqCvPk7MoF2rVFtU%2BKM8dVWsk5%3DSt9fG2i%3DG40%3DW2LJSfVkQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Remember to include the version number!
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxData" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to influxdb+unsubscr...@googlegroups.com.
To post to this group, send email to influxdb@googlegroups.com.
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/CAFegRL_UipDqG27nTwADP3_g0e9fR_qdge5BP%2B10-GLMuEve%2BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to