Hi Rob,

I have a project to take a look at heka. I am new to heka. I got it installed 
and running a couple days ago. I am able to use heka to do some very simple log 
watching. Now I try (just to learn as an example) the following syntax in my 
config.toml and expect to see some data in stdout.

[MemStats]
type = "FilePollingInput"
ticker_interval = 5
file_path = "/proc/meminfo"
decoder = "MemStatsDecoder"

[MemStatsDecoder]
type = "SandboxDecoder"
filename = "lua_decoders/linux_memstats.lua"

[PayloadEncoder]
#append_newlines = false
append_newlines = true

# LogOutput plugin ouput to stdout
[LogOutput]
message_matcher = "TRUE"
encoder = "PayloadEncoder"


But when I run hakad with this, all I get is the date time every 5 seconds 
without any data, e.g.:
2015/08/26 18:37:04
2015/08/26 18:37:09
2015/08/26 18:37:14
2015/08/26 18:37:19

What am I doing wrong? My final goal is to use "Apache Access Log Decoder" to 
capture access.log and then use "ElasticSearch JSON Encoder" to send data to 
ElasticSearch (I know it is a long way to go for me!)

Appreciate your help in advance.

Thanks.
Ming Ho


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

Reply via email to