Circular Buffer to TSV Output
1. Sample Configuration
filename = "cbuf2tsv.lua"
output_path = /var/www/example.com/cbufs -- path to write the converted cbuf(s) to
2. Sample Input
{"time":1423440000,"rows":4,"columns":1,"seconds_per_row":1,"column_info":[{"name":"Active_Users","unit":"count","aggregation":"sum"}]}
33031
33526
40143
38518
3. Sample Output
Time (time_t) Active Users (count)
1423440000 33031
1423440001 33526
1423440002 40143
1423440003 38518
source code: cbuf2tsv.lua