Github user MikeThomsen commented on the issue:
https://github.com/apache/nifi/pull/2101
Here's a simple test that generates a new write every 3 seconds.
[PutInfluxDb_Test.xml.gz](https://github.com/apache/nifi/files/1671417/PutInfluxDb_Test.xml.gz)
This is the query I am using in Chronograf:
```
SELECT mean("humidity") AS "mean_humidity" FROM
"test_data"."autogen"."water" WHERE time > now() - 1h GROUP BY :interval:
FILL(null)
```
And here is a docker-compose file you can use to set up the backend:
```
version: '2'
services:
influxdb:
image: influxdb:latest
#volumes:
# - ./data/influxdb:/var/lib/influxdb
ports:
- "8086:8086"
- "8083:8083"
- "2003:2003"
environment:
INFLUXDB_GRAPHITE_ENABLED: "true"
INFLUXDB_ADMIN_ENABLED: "true"
# Define a Chronograf service
chronograf:
image: chronograf
#volumes:
# - ./data/chronograf:/var/lib/chronograf
ports:
- "10000:10000"
- "8888:8888"
links:
- influxdb
```
Web UI on port 8888 for testing.
---