You're trying to use a PayloadEncoder but you haven't specified that one is 
available. ProtobufEncoder and ProtobufDecoder are the only ones that are 
automatically declared. Try adding

[PayloadEncoder]

to your config.

-r


On 05/09/2016 06:56 AM, Roshan Radhakrishnan (roradhak) wrote:
Hi
I am setting up Heka and Logstash in my server.
Since I am new to this, I am not sure about the configuration parameter.

Both Heka and Logstash are running on 2 different RHEL6 servers.
My current configuration is :
*[astro-cmdc-ReadLogFiles]*
*type = "LogstreamerInput"*
*log_directory = "/mnt/cmdc_logs/"*
*file_match = 'cmdc\.audit'*
*
*
*[Logstash-Output]*
*type = "HttpOutput"*
*address = "http://10.209.26.147:9300"*
*message_matcher = "Type == 'influx.formatted'"*
*encoder = "PayloadEncoder"*
*username = “username"*
*password = “password**”*

What is the username and password here. If I enter the server username
and password and run heka, I am getting the following error.
*2016/05/09 13:55:20 Output 'Logstash-Output' failed to start:
Logstash-Output can't create encoder PayloadEncoder*

Can some one help me to get the correct config and how to get the log
files into log stash?

*Best Regards*

Description:
http://www.cisco.com/web/europe/images/email/signature/logo04.jpg

*Roshan Radhakrishnan*
System I&T Engineer
[email protected] <mailto:[email protected]>
Phone: *+44 (0)23 8435 7392*
Mobile: *+44 (0)7454375411*

https://twitter.com/roshKrish



*Cisco International Limited*
4 Stoneycroft Rise, Chestnut Avenue
Chandlers Ford, Hampshire
SO53 3YU
United Kingdom
Cisco.com <http://www.cisco.com/global/UK/>




_______________________________________________
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