Hi, Fairly new to Heka... Would like to make a "poor man's" REST service on my hekad server. Periodically, I'd like to have Heka save some statistics to a JSON file that would be available from the [Heka] dashboard web server. We would then have another service (likely Freeboard https://github.com/Freeboard/freeboard) pick up the JSON and display a dashboard.
The Lua is no problem, but I couldn't find any pointers on how to get this started. How http_status.lua and stat_graph.lua save their data into /var/cache/hekad/dashboard/data appears to be magick to me. Any pointers welcome, -dan
_______________________________________________ Heka mailing list [email protected] https://mail.mozilla.org/listinfo/heka

