I wanted a way to view time-series data — There’s always gnuplot but I wanted to learn grafana since it is becoming an in-demand skill. But how to view my logs in grafana? Grafana doesn’t natively read csv files (I have managed to convert the relevant info in my logs to csv). After a little surveying, I found a way to get some csv files into it — via influxdb. Grafana has a built-in “data source” for influxdb. If I could just get my csv data into influxdb, I’d be set.

Here are my notes.

Influxdb is a time-series database. It is not an SQL database and it does not correspond one-to-one with SQL database concepts. However … I do know a little about SQL databases. So …

 continue reading