[
https://issues.apache.org/jira/browse/NIFI-4289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16342373#comment-16342373
]
ASF GitHub Bot commented on NIFI-4289:
--------------------------------------
Github user mans2singh commented on the issue:
https://github.com/apache/nifi/pull/2101
Hello @MikeThomsen
Thanks for your feedback. Based on your feedback I've update the code
(added braces, corrected logging, removed state variables not required from the
put processor and added integration tests profile).
Regarding the timestamp issue - I forgot to mention that InfluxDB requires
timestamp in nano-seconds resolution so we need to multiply the timestamp with
million (I've updated the documentation also). I've tested with the following
template in generate processor:
`water,country=US,city=sf rain=1,humidity=0.6
${now():toNumber():multiply(1000000) }`
and I see the following in the influx shell:
```
time city country humidity rain
---- ---- ------- -------- ----
2018-01-27T23:31:46.331Z sf US 0.6 1
```
Please let me know if you have any additional advice/comments for me.
Thanks again.
Mans
> 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)