AnalyticsPort Parameter (Connect-Couchbase Cmdlet)
The port or URL for connecting to the Couchbase Analytics Endpoint.
Syntax
Connect-Couchbase -AnalyticsPort string
Data Type
cstr
Default Value
""
Remarks
This port is used for submitting queries when CouchbaseService is set to Analytics. It defaults to 8095 when not using SSL, and 18095 when using SSL. See UseSSL.
This option can be set one of two ways:
- As a port number like "1234". With this setting the cmdlet will send Analytics queries to the endpoint http://Server:AnalyticsPort/analytics/service (or https:// if Server is https:// or UseSSL is enabled).
- As a full URL like "http://couchbase.example:1234/proxy". With this setting the cmdlet send Analytics queries using the endpoint you specify. For example, if you use that URL then Analytics requests will go to http://couchbase.example:1234/proxy/analytics/serivce. Server and UseSSL are ignored for Analytics requests.