Github user MikeThomsen commented on the issue:

    https://github.com/apache/nifi/pull/2101
  
    Everything I insert gets defaulted to some time around the epoch. I tried 
your sample, but it doesn't seem to work for me at least (data gets written, 
but it doesn't have the appropriate timestamp):
    
    ```
    water,country=US,city=sf rain=1,humidity=0.6 ${now():toNumber()}
    ```
    
    Ex output:
    
    ```
    water,country=US,city=sf rain=1,humidity=0.6 1516999446718
    ```
    
    Using this query in Chronograf, I get the following results:
    
    ```
    SELECT * FROM "test_data"."autogen"."water"
    ```
    
    <img width="1032" alt="screen shot 2018-01-26 at 3 40 27 pm" 
src="https://user-images.githubusercontent.com/108184/35459708-4ccb9ba6-02af-11e8-852f-7aeabd1806dc.png";>
    
    So overall LGTM on code quality, but we need to figure out if this is just 
something wrong on my end or with the processor before someone merges it.


---

Reply via email to