I am so excited to be attending the Shift AI conference this April in Dublin! It's @shiftconf_co 's #ArtificialIntelligence conference where we will discuss the newest technologies in data mining, machine learning and neural networks. While Ireland is a very active hub for AI in Europe, so far there has been a lack of good conferences happening here: so, Shift AI is welcome! I hope to see you at the event. Learn more over at https://ctt.ec/2K2o6+
Sometimes you would need to export a sample of the data from an InfluxDB table to a CSV file (for example to allow a data scientist to do some offline analysis using a tool like Jupyter, Zeppelin or Spark Notebook). It is possible to perform this operation through the influx command line client. This is the general syntax: sudo /usr/bin/influx -database '<database_name>' -host '<hostname>' -username '<username>' -password '<password>' -execute 'select_statement' -format '<format>' > <file_path>/<file_name>.csv where the format could be csv , json or column . Example: sudo /usr/bin/influx -database 'telegraf' -host 'localhost' -username 'admin' -password '123456789' -execute 'select * from mem' -format 'csv' > /home/googlielmo/influxdb-export/mem-export.csv
Comments
Post a Comment