Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/HormyAJP/influxdb_google_sheets
Google Sheets script for fetching and formatting InfluxDB data
https://github.com/HormyAJP/influxdb_google_sheets
Last synced: 6 days ago
JSON representation
Google Sheets script for fetching and formatting InfluxDB data
- Host: GitHub
- URL: https://github.com/HormyAJP/influxdb_google_sheets
- Owner: HormyAJP
- Created: 2017-02-11T06:33:13.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-04-01T21:16:18.000Z (over 2 years ago)
- Last Synced: 2024-08-02T07:12:02.615Z (3 months ago)
- Language: JavaScript
- Size: 6.84 KB
- Stars: 15
- Watchers: 4
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-influxdb - influxdb_google_sheets - Google Sheets script for fetching and formatting InfluxDB data (Consuming data from InfluxDB / Other tools)
README
# What is this?
Simple Google Sheets plugin for fetching data from an InfluxDB instance and formatting it nicely.
It exposes a single public function to the sheets `INFLUXQUERY`.# How do I set it up?
* Create a spreadsheet.
* Go to Tools->Script Editor.
* Copy paste code from influxdb.gs into the Code.gs file (rename Code.gs to whatever you want).
* Use the single public function `INFLUXQUERY` in your spreadsheet.Alternatively you can use the example sheet here:
https://docs.google.com/spreadsheets/d/1zNIjqrlEUKK7jdIsbF8LXHVNvPaDMZmkEfs4c_MuL14/edit?usp=sharing
> WARNING: Assume that this sheet is not up to date. The single source of truth is this Git repo. I
> will try to keep the script in there in sync with the one in this repo but assume it's out of sync.# How do I use the function?
It should be well documented with the inline docs (which pop-up during autocompletion). One useful
thing to note is that if you set the `raw` parameter to `TRUE` then you'll see exactly what was
returned by influx, which might be helpful in debugging.# Why haven't you released this as an add-on for Google Sheets?
Partly I can't be bothered! However, Git is a much better way of tracking changes and handling
feature requests.# It doesn't work/it doesn't do what I want!
Let me know. I'm happy to improve it. Or send a pull request.
There's a finite limit to what it can sensibly do so I suspect it'll converge very quickly to a
final form.