elastic / kibana-load-testing

Http load testing project for Kibana
Apache License 2.0
6 stars 19 forks source link

[load data] add support for create data stream api #448

Open dmlemeshko opened 7 months ago

dmlemeshko commented 7 months ago

Some of journeys, e.g. cloud_security_dashboard, require index to be created using create data stream api;

ESArchiver.scala is to be extended with create data stream api call for indexes matches logs-* pattern

Caused by: java.lang.RuntimeException: co.elastic.clients.elasticsearch._types.ElasticsearchException: [es/indices.create]
failed: [illegal_argument_exception] cannot create index with name [logs-cloud_security_posture.findings_latest-default],
because it matches with template [logs] that creates data streams only, use create data stream api instead