Sha256: 3e8a2362791fa8f440e032574f45fee581f2a91f4eba454f712bf23f04da08cd

Contents?: true

Size: 1.59 KB

Versions: 1

Compression:

Stored size: 1.59 KB

Contents

# InfluxDB v0.8 output plugin for Embulk

**This plug in is the fork of [joker1007/embulk-output-influxdb](https://github.com/joker1007/embulk-output-influxdb) and supports only influxdb v0.8.**
**It is strongly recommended to use newer influxdb and [joker1007/embulk-output-influxdb](https://github.com/joker1007/embulk-output-influxdb).**


## 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: [])
- **default_timezone**: default timezone for column (string, default: 'UTC')

### 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
  timestamp_column: day
  mode: replace
  ignore_columns:
    - key_name
```

## ToDo
- column_options support

## Build

```
$ rake
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
embulk-output-influxdb08-0.1.1 README.md