<commit_before># Juttle InfluxDB Adapter

[![Build Status](https://travis-ci.org/juttle/juttle-influx-adapter.svg)](https://travis-ci.org/juttle/juttle-influx-adapter)

InfluxDB adapter for the [Juttle data flow
language](https://github.com/juttle/juttle), with read & write support.

Currently supports InfluxDB 0.9.

## Examples

Read entries from the `cpu` measurement where the `host` tag is `www123` and the default limit of 1000:

```juttle
read influx -db 'test' name='cpu' host='www123' | view text
```

Perform an equivalent query using the -raw option:

```juttle
read influx -db 'test' -raw "SELECT * FROM cpu where host='www123 LIMIT 1000' | view text
```

Write a single point into the `cpu` measurement:

```juttle
emit -points [{ value: 0.01, host: 'www123', name: 'cpu' }] | write influx -db 'test'
```

## Installation
<commit_msg>README - mention influx 0.10 support<commit_after># Juttle InfluxDB Adapter

[![Build Status](https://travis-ci.org/juttle/juttle-influx-adapter.svg)](https://travis-ci.org/juttle/juttle-influx-adapter)

InfluxDB adapter for the [Juttle data flow
language](https://github.com/juttle/juttle), with read & write support.

Currently supports InfluxDB 0.9 and 0.10.

## Examples

Read entries from the `cpu` measurement where the `host` tag is `www123` and the default limit of 1000:

```juttle
read influx -db 'test' name='cpu' host='www123' | view text
```

Perform an equivalent query using the -raw option:

```juttle
read influx -db 'test' -raw "SELECT * FROM cpu where host='www123 LIMIT 1000' | view text
```

Write a single point into the `cpu` measurement:

```juttle
emit -points [{ value: 0.01, host: 'www123', name: 'cpu' }] | write influx -db 'test'
```

## Installation

{'fraction_non_alphanumeric': 0.140625, 'fraction_numerical': 0.032407407407407406, 'mean_word_length': 4.559485530546624, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1807310', 'n_tokens_mistral': 652, 'n_tokens_neox': 564, 'n_words': 196}