Skip to main content
Version: 7.5

license/error Invalid Segments

SYMPTOM

The collector's log indicates:

2023-09-09T18:07:48.009Z        fatal   flowcoll        flowcoll/main.go:41     exiting because of a license error      {"code": "license/error", "reason": "token contains an invalid number of segments"}

PROBLEM

This error message typically happens when the Elasticsearch enrollment token is used in the ElastiFlow parameter EF_FLOW_LICENSE_KEY.

SOLUTION

The correct license key is provided by ElastiFlow when you make a request via our website, or after purchasing a Standard or Premium subscription. These are the three primary license-related configuration parameters:

EF_LICENSE_ACCEPTED: true
EF_ACCOUNT_ID: '<ElastiFlow Account ID>'
EF_FLOW_LICENSE_KEY: '<ElastiFlow License Key>' # or EF_SNMP_LICENSE_KEY for the NetObserv SNMP

REFERENCE