Configuration¶
Computence AI Agent can be configured either through the Splunk Web UI or by editing the configuration files directly.
Setup from Splunk Web (Recommended)¶
Note
Also applies for Search-Head Cluster deployment, configuring on one server is sufficient.
- Navigate to
Apps > Computence AI Agent for Splunk. - On the setup page, fill in:
License key: UUID that authenticates with the Computence AI backend.Backend server: Defaults toapi.computence.app.Backend schema: Defaults tohttps.
- Click Complete Setup.
Setup from configuration files¶
While configuration via files is supported, UI configuration is recommended. To access the setup page after initial configuration, set is_configured = 0 in local/ai.conf and reload the app:
[install]
is_configured = 0
See ai.conf for advanced configuration options.
Initial Setup¶
Note
Also applies for Search-Head Cluster deployment, configure the app on the Deployer server and apply the bundle.
- Navigate to
$SPLUNK_HOME/etc/apps/computence_ai_agent. -
Create
local/ai.confwith the following configuration:[install] is_configured = 1For air-gapped environments, add the backend server configuration:
[backend] schema = https server = example.com:3000 -
Create
local/passwords.confand configure the license key. See passwords.conf. -
Restart Splunk with
$SPLUNK_HOME/bin/splunk restart.
Warning
Passwords set manually will not be encrypted by the Splunk instance. Use the UI for proper encryption.