Documentation Center

Configuring cmdlet settings

Configure how the Experience Optimization cmdlets connect to OpenSearch. Changing these settings is necessary if your implementation does not match the default settings in which cmdlets connect anonymously to localhost on port 9200 (without SSL).

The following table describes the cmdlets for viewing and managing cmdlet settings.

CmdletFunction
Get-XoSettingsReturn the current settings for the cmdlet, such as connection settings for OpenSearch
Set-XoSettingsChange Experience Optimization settings for connecting to OpenSearch

Parameters:

OpenSearchUrl
The URL to the OpenSearch instance to which you wish to connect
Default value: http://localhost:9200/
IndexPrefix
The prefix used for all of the Experience Optimization indices

For example, a prefix of 'staging-' means that the xo-triggertypes index is actually called staging-xo-triggertypes.

Set the Index prefix to the same value that was used for the index-common-name-prefix (when installing the OpenSearch indices).

Default: no prefixes
Credential
The username and password to use when connecting to OpenSearch

You only need to set this parameter if you have enabled security on your OpenSearch instance.

Example: help Set-XoSettings -Detailed