Configuring cmdlet settings

Configure how the Experience Optimization cmdlets connect to Elasticsearch. 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 Elasticsearch
Set-XoSettingsChange Experience Optimization settings for connecting to Elasticsearch

Parameters:

ElasticsearchUrl
The URL to the Elasticsearch 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 Elasticsearch indices).

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

You only need to set this parameter if you have enabled security on your Elasticsearch instance (such as when using the X-Pack plugin.

Example: help Set-XoSettings -Detailed