Skip to main content

Agent Environment Variables

Environment variableDescription
EVEBOX_DATA_DIRECTORYDirectory for agent state, including EVE input bookmarks. Command line: --data-directory. Configuration: data-directory.
EVEBOX_SERVER_KEYAgent key presented to the EveBox Server by the packet-capture control channel. No command-line equivalent. Configuration: server.key.
EVEBOX_INPUT_DELETE_SPOOL_FILESDeletes processed spool files after the bookmark advances. No command-line equivalent. Configuration: input.delete-spool-files.
EVEBOX_ELASTICSEARCH_ENABLEDEnables direct Elasticsearch output. Command line: --elasticsearch. Configuration: elasticsearch.enabled.
EVEBOX_ELASTICSEARCH_URLURL of the Elasticsearch or OpenSearch server. Command line: --elasticsearch-url. Configuration: elasticsearch.url.
EVEBOX_ELASTICSEARCH_INDEXElasticsearch index prefix. Command line: --elasticsearch-index. Configuration: elasticsearch.index.
EVEBOX_ELASTICSEARCH_NODATEPrevents the agent from adding a date suffix to the index name. Command line: --elasticsearch-nodate. Configuration: elasticsearch.nodate.
EVEBOX_ELASTICSEARCH_USERNAMEUsername for HTTP basic authentication. No command-line equivalent. Configuration: elasticsearch.username, which overrides the environment.
EVEBOX_ELASTICSEARCH_PASSWORDPassword for HTTP basic authentication. No command-line equivalent. Configuration: elasticsearch.password, which overrides the environment.
EVEBOX_ELASTICSEARCH_CACERTPEM file containing a trusted CA certificate for direct Elasticsearch output. No command-line or configuration-file equivalent.