Connecting to Analytics Data Store
You need to establish a communication channel between webMethods API Gateway and analytics data store to exchange data. This section explains the steps to enable webMethods API Gateway to connect to analytics data store.
You can also connect to an analytics data store through externalized configurations. For more details, see Externalizing Configurations.
A sample analytics data store externalized configuration is as follows:
---
apigw:
analyticsDataStore:
tenantId: default
hosts: localhost:9241
http:
username: analyticsdatastore
password: changeme
keepAlive: true
keepAliveMaxConnections: 60
keepAliveMaxConnectionsPerRoute: 20
connectionTimeout: 2000
socketTimeout: 40000
maxRetryTimeout: 200000
https:
enabled: false
keystoreFilepath: C:/softwares/analyticsdatastore/config/demouser-keystore.jks
truststoreFilepath: C:/softwares/analyticsdatastore/config/truststore.jks
keystoreAlias: cn=demouser
keystorePassword: 6572b9b06156a0ff778c
truststorePassword: 2c0820e69e7dd5356576
enforceHostnameVerification: false
sniff:
enable: false
timeInterval: 70000
outboundProxy:
enabled: false
alias: somealias
clientHttpResponseSize: 200
To connect webMethods API Gateway to analytics data store
Start up sequence of components when using analytics data store for the first time:
- Start external analytics data store.
- Start webMethods API Gateway.
- After webMethods API Gateway is started and available, start Kibana.