cscli setup install-acquisition
Generate acquisition configuration from a setup file
Synopsis
Generate acquisition configuration from a setup file.
This command reads a setup.yaml specification (typically generated by 'cscli setup detect') and creates one acquisition file for each listed service. By default the files are placed in the acquisition directory, which you can override with --acquis-dir.
cscli setup install-acquisition [setup_file] [flags]
Examples
# detect running services, create a setup file
cscli setup detect > setup.yaml
# write configuration files in acquis.d
cscli setup install-acquisition setup.yaml
# write files to a specific directory
cscli setup install-acquisition --acquis-dir /path/to/acquis.d
# dry-run to preview what would be created
cscli setup install-acquisition setup.yaml --dry-run
Options
--acquis-dir string Directory for the acquisition configuration
--dry-run simulate the installation without making any changes
-h, --help help for install-acquisition
Options inherited from parent commands
--color string Output color: yes, no, auto (default "auto")
-c, --config string path to crowdsec config file (default "/etc/crowdsec/config.yaml")
--debug Set logging to debug
--error Set logging to error
--info Set logging to info
-o, --output string Output format: human, json, raw
--trace Set logging to trace
--warning Set logging to warning
SEE ALSO
- cscli setup - Tools to configure crowdsec