Hi all, heka for Docker logging works perfectly, it adds the ContainerID and Name to the stream that we put on InfluxDB.
Since we are using marathon to spin up our containers, the ContainerName and the Marathon Task ID are different and don't have any correlation. When the container starts it receives an environment variable (MESOS_TASK_ID) with the marathon task, so we want to add it to the log. That way allows us to search and consume the logs for all related containers by that IDs. There are other ways like maintaining an ugly key/value mapping them but is a pain. How can we add that information to the log stream? We are bit newbies with lua and decoders/filters/etc. Any help will be great. Thanks in advance. --Antonio
_______________________________________________ Heka mailing list [email protected] https://mail.mozilla.org/listinfo/heka

