This folder contains tests for the Elastisearch extension for Kernel Memory.
Configuration (appsettings.json):
// ...
"Elasticsearch": {
"Endpoint": "",
"UserName": "",
"CertificateFingerPrint": "",
"Password": "",
},
// ...
You can test the connector locally with Docker:
docker run -it -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" --rm elasticsearch:8.11.3
The command should print on screen configuration details, such as fingerprint and default password. Copy
the values in appsettings.Development.json
. For example:
// ...
"Elasticsearch": {
"Endpoint": "https://localhost:9200",
"UserName": "elastic",
"CertificateFingerPrint": "b2ffe859bde01ece5734526a29b1ce7646b36030835cbbe81424a26151f5f2c5",
"Password": "defg...."
},
// ...
For more information about the Elasticsearch extension: