Update eval README to not mix/match http/https

I accidentally failed first start because I didn't look carefully that the two args had mismatched scheme. While there's no perfect choice here, probably being the same is better.
This commit is contained in:
Adrian Cole 2025-02-12 15:09:36 +08:00 committed by GitHub
parent 45d9fa01fe
commit c65f77e79d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,7 +39,7 @@ elasticsearch.ignoreVersionMismatch: true
- Run this command to start evaluating: `node x-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/index.js --kibana http://<username>:<password>@localhost:5601`
By default the script will use the Elasticsearch credentials specified in `kibana.dev.yml`, if you want to override it use the `--es` flag when running the evaluation script:
E.g.: `node x-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/index.js --kibana http://<username>:<password>@localhost:5601 --es https://<username>:<password>@<hosted-url>:<port>`
E.g.: `node x-pack/solutions/observability/plugins/observability_ai_assistant_app/scripts/evaluation/index.js --kibana http://<username>:<password>@localhost:5601 --es http://<username>:<password>@<hosted-url>:<port>`
The `--kibana` and `--es` flags override the default credentials. Only basic auth is supported.