-
Notifications
You must be signed in to change notification settings - Fork 525
Help in building heka for windows with sandbox plugins #1968
Comments
try to use "GODEBUG=cgocheck=0 hekad -config xx.toml " |
Thanks for the response SeeWei1986 |
[xxx@ip-172-31-12-225 tomls]$ /usr/local/bin/hekad -config hekad.toml Here, that is the output message when I execute your codes in my linux environment. It presents the same results like yours. Thus, When I add prefix "GODEBUG=cgocheck=0 ", it works well. 2016/07/29 07:56:05 Pre-loading: [LogstreamerInput] The same issue about "GODEBUG=cgocheck=0" can be found #1881. That can give some suggestions to you and you can explore the solutions for window environment. |
The checks can be disabled by setting the environment variable GODEBUG=cgocheck=0, but note that the vast majority of code identified by the checks is subtly incompatible with garbage collection in one way or another. https://golang.org/doc/go1.6 " GODEBUG=cgocheck=0 " |
Hi, **C:\etc>GODEBUG=cgocheck=0 hekad -config=hekad.toml Usage:
The commands are:
Use "godebug help [command]" for more information about a command.** I did not get the output like yours. Thanks. |
I think it has nothing to do with the godebug command.... since it has not been installed in my linux.
|
Hi SeeWei1986, |
:-) |
Hi heka members,
I am trying to make heka work with windows server 2012 R2 version.
I downloaded heka source code from github and built it for windows.(followed the steps in https://hekad.readthedocs.io/en/v0.10.0/installing.html)
Now I try to run a toml file with sandbox encoders that was generated as a part of heka build for windows.(for eg : lua_encoders/es_payload.lua)
And when I try to run hekad heka does not start. It exits in the state “starting hekad”
Could you please suggest options if there is any specific way to build heka for windows to make it work with sandbox plugins?
Should it be built with plugin_loader.cmake even though I have the default sandbox encoders and decoders.
Sample toml file:
[LogstreamerInput]
log_directory = "C:/"
file_match = 'sample.txt'
[es_payload]
type = "SandboxEncoder"
filename = "lua_encoders/es_payload.lua"
[es_payload.config]
es_index_from_timestamp = true
index = "%{Logger}-%{%Y.%m.%d}"
type_name = "%{Type}-%{Hostname}"
[LogOutput]
message_matcher = "TRUE"
encoder = "es_payload"
Heka output screenshot:
The text was updated successfully, but these errors were encountered: