From 918ab2047d37b2514981b2d894f4b3f7cb671cfb Mon Sep 17 00:00:00 2001 From: Karen Metts Date: Fri, 20 Feb 2026 19:15:26 -0500 Subject: [PATCH] [IngestArch] Add serverless config sample 8.19 --- docs/en/ingest-arch/13-multitenant.asciidoc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/docs/en/ingest-arch/13-multitenant.asciidoc b/docs/en/ingest-arch/13-multitenant.asciidoc index 3ba3fe945..7c0deb6d6 100644 --- a/docs/en/ingest-arch/13-multitenant.asciidoc +++ b/docs/en/ingest-arch/13-multitenant.asciidoc @@ -16,8 +16,8 @@ These logs need to be sent to different {es} clusters and to S3 for backup and a In such use cases, agents send the data to {ls} as a routing mechanism to different destinations. Note that the System and Windows integrations must be installed on all {es} clusters to which the data is routed. -Sample config:: -+ +==== Sample config: Sending data to both {ech} and {es-serverless} + [source,ruby] input { elastic_agent { @@ -34,19 +34,20 @@ filter { output { if [@metadata][tenant] == "tenant01" { elasticsearch { - cloud_id => "" + hosts => "ELASTICSEARCH_ENDPOINT_URL" <1> api_key => "" } } else if [@metadata][tenant] == "tenant02" { elasticsearch { - cloud_id => "" + cloud_id => "" <2> api_key => "" } } } +<1> Use the `hosts` option with the Elasticsearch endpoint URL to send data to Elasticsearch Serverless +<2> Use `cloud_id` to send data to Elastic Cloud Hosted -[discrete] [[multi-resources]] ==== Resources