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.
| Cmdlet | Function |
|---|
| Get-XoSettings | Return the current settings for the cmdlet, such as connection settings for OpenSearch |
| Set-XoSettings | Change 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.
|
Tip: Use the Powershell help command to get more information on a specific parameter. You can use the -Detailed parameter to include examples, syntax and supported parameters, or the -Examples parameter to display only the examples.
Example: help Set-XoSettings -Detailed