# Regarding Datasets

**URL:** <https://community.influxdata.com/t/regarding-datasets/1071>\
**Category:** Systems\
**Tags:** influxdb\
**Created:** [May 26, 2017, 8:03pm UTC](https://community.influxdata.com/t/regarding-datasets/1071 "2017-05-26T20:03:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hitesh](https://avatars.discourse-cdn.com/v4/letter/h/8e7dd6/32.png) [@Hitesh](https://community.influxdata.com/u/Hitesh)\
**Post date:** [May 26, 2017, 8:03pm UTC](https://community.influxdata.com/t/regarding-datasets/1071/1 "2017-05-26T20:03:41Z")

</div>

Hi,  
I’m new to this tool so needed answers to some questions.

1. Can we import an CSV or JSON file in InfluxDB?
2. Can InfluxDB be used with sensors?  
Thank you

---

<div class="post-metadata">

**Author:** ![mark](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/mark/32/778_2.png) [@mark](https://community.influxdata.com/u/mark)\
**Post date:** [May 26, 2017, 8:24pm UTC](https://community.influxdata.com/t/regarding-datasets/1071/2 "2017-05-26T20:24:34Z")

</div>

1. Not directly, you must convert to line protocol first. Read through the [Writing Data](https://docs.influxdata.com/influxdb/v1.2/guides/writing_data/) and [line protocol](https://docs.influxdata.com/influxdb/v1.2/write_protocols/line_protocol_tutorial/) guides.
2. Yes, many people are using InfluxDB to store sensor data. How you get the sensor data into InfluxDB depends on what the device is capable of and what the rest of your infrastructure looks like. Some write to InfluxDB directly, others use a [Telegraf input plugin](https://docs.influxdata.com/telegraf/v1.3/inputs/).
