Generate unique working directory for each collector backend #331
Labels
blocker
If not finished by release date, the release will be postponed.
feature
needs-discussion
triaged
Each collector relies on a place to write its own logs, spool files, etc.
We want to ensure that multiple collectors don't step on each others toes.
Possible solution:
Redefine
collector_configuration_directory:
tocollector_data_root_directory:
with a default of
/var/lib/graylog-sidecar/collector-data/
For each configuration assignment, auto-generate the following subdirectories:
$collector_data_root_directory/<backend-name>/<config-name>/
or maybe$collector_data_root_directory/<backend-id>/<config-id>/
Report the value of
collector_data_root_directory
back to Graylog, so we cangenerate a variable
${sidecar.dataRoot}
and maybe${sidecar.collectorDataDir}
.This can be used in collector configurations like:
Open questions:
The text was updated successfully, but these errors were encountered: