Are you doing any parsing at all of the data that you're reading, currently? 
Regardless, you can probably just add a ScribbleDecoder to set the Hostname 
field on all of the records coming in through that particular LogstreamerInput. 
If a SandboxDecoder is already in play, you can tweak that to set the Hostname 
field in addition to whatever other work it's already doing.

-r


On 04/09/2015 07:48 AM, Cristian Falcas wrote:
Hello,

I'm trying to send messages from host A to host B and I was expecting
that the hostname will be set automatically.

I'm reading on host A from /dev/log and forward them to host B with TcpOutput.

Is this normal and I need to use a "PayloadRegexDecoder" or a sendbox
plugin in order to set this?

Thank you,
Cristian Falcas
_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka


_______________________________________________
Heka mailing list
[email protected]
https://mail.mozilla.org/listinfo/heka

Reply via email to