Now i needs all these register into a single CSV output file which would be like
Headers: Meter, FLOWRATE,REVRATE,VOLUME
VALUES: FT1234,somevalue1,somevalue2,somevalue3
}
I am sure the logic not correct since i do not have any start and end event.
Its registers fetched in different times, and once i have these 3 i push it.
I was doing a CSV file output for say every hour using the format
path => "mycsv-%{fielddate}.csv"
Where fielddate is YYYYMMddhh format.
Creates the files for every hour as expected, but the header is only on the first file created and the rest are without header.
Any thing you could point out why is this behavior?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.