i have installed elastiflow with elasticsearch, kibana, and flow collector. after compose up command snmp-collector keeps restarting. i have basic license error below.
tried to create .env file and store id and license key
{“level”:“info”,“ts”:“2026-02-22T15:38:56.170Z”,“logger”:“snmpcoll.license.license[default]”,“caller”:“envconf/logger.go:49”,“msg”:“EF_SNMP_LICENSED_CORES=0”}
{“level”:“fatal”,“ts”:“2026-02-22T15:38:56.171Z”,“logger”:“snmpcoll”,“caller”:“snmpcoll/main.go:64”,“msg”:“exiting because of a license error”,“code”:“license/error”,“reason”:“failed to create license: failed to parse license key: signature is invalid”,“stacktrace”:“main.main\n\t/app/cmd/snmpcoll/main.go:64\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:271”}
if is use the id and license in docker yaml getting below error. license key is so big
msg":“EF_SNMP_LICENSED_CORES=0”} {“level”:“fatal”,“ts”:“2026-02-22T14:10:47.315Z”,“logger”:“snmpcoll”,“caller”:“snmpcoll/main.go:64”,“msg”:“exiting because of a license error”,“code”:“license/error”,“reason”:“failed to create license: failed to parse license key: illegal base64 data at input byte 0”,“stacktrace”:“main.main\n\t/app/cmd/snmpcoll/main.go:64\nruntime.main\n\t/usr/local/go/src/runtime/proc.go:271”}
It seems like the key you are using is invalid? If you want to message me your license information, I can test it. Here is what my license entry looks like in my (natively installed) SNMP collector looks like.