Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joker1007/embulk-output-influxdb
https://github.com/joker1007/embulk-output-influxdb
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/joker1007/embulk-output-influxdb
- Owner: joker1007
- License: mit
- Created: 2015-09-14T08:44:40.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-16T07:35:12.000Z (over 7 years ago)
- Last Synced: 2024-04-24T16:59:08.508Z (7 months ago)
- Language: Ruby
- Size: 12.7 KB
- Stars: 2
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-influxdb - embulk-output-influxdb - InfluxDB output plugin for [Embulk](https://github.com/embulk/embulk) (Collecting data into InfluxDB / Plugins)
README
# InfluxDB output plugin for Embulk
## Overview
* **Plugin type**: output
* **Load all or nothing**: no
* **Resume supported**: no
* **Cleanup supported**: yes
* **Dynamic Database creating**: yes
* **Dynamic Series creating**: yes## Configuration
- **host**: hostname (string, default: localhost)
- **port**: port number (integer, default: 8086)
- **username**: username (string, default: 'root')
- **password**: password (string, default: 'root')
- **database**: database name (string, required)
- **series**: series name (string, required) (can use column value placeholder. see example)
- **mode**: "insert", or "replace". See bellow. (string, default: insert)
- **timestamp_column**: timestamp column (string, default: nil)
- **ignore_columns**: ignore column names (array[string], default: [])
- **tag_columns**: tag column names (array[string], default: [])
- **default_timezone**: default timezone for column (string, default: 'UTC')
- **time_precision**: time precision (string, default: 's')### Modes
* **insert**:
* Behavior: This mode inserts rows simplly.
* **replace**:
* Behavior: Same with insert mode excepting that it drops the target series first.## Example
```yaml
out:
type: influxdb
username: root
password: root
database: dbname
series: ${key_name}_series
tag_columns: [name]
timestamp_column: day
mode: replace
ignore_columns:
- key_name
```## ToDo
- column_options support## Build
```
$ rake
```