From cb334772fb216400ecf8098536c53316fb990d41 Mon Sep 17 00:00:00 2001 From: Jean-Louis Leysens Date: Wed, 5 Oct 2022 17:42:01 +0200 Subject: [PATCH] remove limitation to only using .kibana indices (#142739) --- .../files/server/blob_storage_service/adapters/es/es.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/x-pack/plugins/files/server/blob_storage_service/adapters/es/es.ts b/x-pack/plugins/files/server/blob_storage_service/adapters/es/es.ts index adc707f4b141a..96421a06e95c5 100644 --- a/x-pack/plugins/files/server/blob_storage_service/adapters/es/es.ts +++ b/x-pack/plugins/files/server/blob_storage_service/adapters/es/es.ts @@ -49,10 +49,6 @@ export class ElasticsearchBlobStorageClient implements BlobStorageClient { */ private readonly uploadSemaphore = ElasticsearchBlobStorageClient.defaultSemaphore ) { - assert( - this.index.startsWith('.kibana'), - `Elasticsearch blob store index name must start with ".kibana", got ${this.index}.` - ); assert(this.uploadSemaphore, `No default semaphore provided and no semaphore was passed in.`); }