[ 
https://issues.apache.org/jira/browse/NIFI-4289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16342667#comment-16342667
 ] 

ASF GitHub Bot commented on NIFI-4289:
--------------------------------------

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.



> Implement put processor for InfluxDB
> ------------------------------------
>
>                 Key: NIFI-4289
>                 URL: https://issues.apache.org/jira/browse/NIFI-4289
>             Project: Apache NiFi
>          Issue Type: New Feature
>          Components: Extensions
>    Affects Versions: 1.3.0
>         Environment: All
>            Reporter: Mans Singh
>            Assignee: Mans Singh
>            Priority: Minor
>              Labels: insert, measurements,, put, timeseries
>
> Support inserting time series measurements into InfluxDB.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to