chronograf icon indicating copy to clipboard operation
chronograf copied to clipboard

File upload in Data Explorer

Open jackzampolin opened this issue 9 years ago • 3 comments

Users should be able to upload files filled with line protocol and insert them into the database.

jackzampolin avatar May 26 '17 16:05 jackzampolin

Would this be as an add-on to https://github.com/influxdata/chronograf/issues/1328, where you could upload a file to populate a text area in a Write dialogue, or how are you imagining the UX currently ?

jaredscheib avatar May 26 '17 17:05 jaredscheib

@jaredscheib That would be good! Could be non-performant doing the rendering for large files tho. Just a upload a file button with some feedback. I was imagining a basic wrapper on top of influx -import.

jackzampolin avatar May 26 '17 18:05 jackzampolin

In the data explorer a user should be able to select a file of line protocol and it should be added to the selected database. Design needed for how to select a database and retention policy (can probably use the default rp if one is not selected) Bonus points for drag and drop

  • [ ] add a "upload" button to the existing add data overlay
  • [ ] attempt to write data
  • [ ] return result from influxdb

nhaugo avatar May 30 '17 17:05 nhaugo