Open binman-docker opened 8 years ago
Did you ever resolve this? I'm running into the exact same problem trying to load a filter I wrote.
No, unfortunately. We decided to move to Logstash since Heka is end-of-life and Logstash has a lot more built-in filters (including what I was trying to do with this custom lua filter) anyway.
Attempting to add a sandbox filter to our configuration to drop some fields. When starting hekad, it does not finish loading (stops before outputs load) and exits with code 0.
This is what happens on startup:
This is the config in hekad.toml (the rest of the config works fine with this block removed):
And this is geoip_field_filter.lua:
Strace says it never even looked at the lua file:
So it doesn't seem like the issue is with the lua code. Any ideas? I'm sure I'm missing something obvious. Permissions on /var/cache/hekad/sandbox_preservation are 755 owned by heka but it's set to preserve_data=false so that shouldn't matter anyway.