Hello Everyone,

We’re exploring using Heka internally as a daemon to push up periodically
written files and submit changes to an API for consumption.

As part of this project, I’ve written an Encoder that formats messages from
several LogStreamerInputs into our message format before going to an Output
plugin that submits the messages.

I’ve run into one problem. I need to know the file name being monitored in
order to determine parts of the message body. Looking at the
LogStreamerInput code, I can’t see a way that this is exposed, but I’m also
very new to Go.

Can anyone guide me on how I might accomplish this?


Eli
-- 
—
*Elijah Flesher*  |  *Lyft* <http://lyft.me/>  |  *Software Engineer*
206.661.4697  |  @eliflesher
_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to