# Elasticsearch

**URL:** https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=424

[Latest](https://discuss.elastic.co/latest.md) · [Categories](https://discuss.elastic.co/categories.md) · [Tags](https://discuss.elastic.co/tags.md)

**Page:** 425

---

## [Multiple \_id for same document or document alias](https://discuss.elastic.co/t/multiple-id-for-same-document-or-document-alias/307296)

<div class="topic-metadata">

**Author:** [@nerd2000](https://discuss.elastic.co/u/nerd2000)\
**Replies:** 2\
**Last updated:** [June 16, 2022, 7:00am UTC](https://discuss.elastic.co/t/multiple-id-for-same-document-or-document-alias/307296 "2022-06-16T07:00:23Z")

</div>

Is it possible to have multiple ids for the same document or have a alias to a document? Already found this topic but a long time ago, checking if it was implemented meanwhile. The use case: I have a sql database with…

---

## [Which is better between Scroll and Search\_After when extract lots of document to other database?](https://discuss.elastic.co/t/which-is-better-between-scroll-and-search-after-when-extract-lots-of-document-to-other-database/307349)

<div class="topic-metadata">

**Author:** [@Haocheng\_Wang](https://discuss.elastic.co/u/Haocheng_Wang)\
**Replies:** 0\
**Last updated:** [June 16, 2022, 6:55am UTC](https://discuss.elastic.co/t/which-is-better-between-scroll-and-search-after-when-extract-lots-of-document-to-other-database/307349 "2022-06-16T06:55:19Z")

</div>

Hi community! I note that since 7.0, scroll is deprecated in deep pagination from the document But the document also said : the scroll API can be used to retrieve large numbers of results (or even all results) from a s…

---

## [Behavior when changing ILM policy](https://discuss.elastic.co/t/behavior-when-changing-ilm-policy/307344)

<div class="topic-metadata">

**Author:** [@Todd\_Lyons](https://discuss.elastic.co/u/Todd_Lyons)\
**Replies:** 1\
**Last updated:** [June 16, 2022, 5:51am UTC](https://discuss.elastic.co/t/behavior-when-changing-ilm-policy/307344 "2022-06-16T05:51:17Z")

</div>

On an ES 7.3 system: I have an index which gets created with 10 primary shards and 1 replica. I have an ILM policy which rolls over at 500GB, and then shrinks 10 days later to 5 shards and 0 replicas, expiring after 60…

---

## [IllegalArgumentException\[Unknown client name \[gcs\]](https://discuss.elastic.co/t/illegalargumentexception-unknown-client-name-gcs/307328)

<div class="topic-metadata">

**Author:** [@alexus](https://discuss.elastic.co/u/alexus)\
**Replies:** 1\
**Last updated:** [June 16, 2022, 3:12am UTC](https://discuss.elastic.co/t/illegalargumentexception-unknown-client-name-gcs/307328 "2022-06-16T03:12:51Z")

</div>

Hello World! I'm trying to get started with Getting started | Elasticsearch Plugins and Integrations \[6.8\] | Elastic yet running into the following issue: { "error": { "root\_cause": \[ { "type": "rep…

---

## [Elastic ODBC Driver](https://discuss.elastic.co/t/elastic-odbc-driver/307321)

<div class="topic-metadata">

**Author:** [@wwhcomau](https://discuss.elastic.co/u/wwhcomau)\
**Replies:** 0\
**Last updated:** [June 15, 2022, 9:57pm UTC](https://discuss.elastic.co/t/elastic-odbc-driver/307321 "2022-06-15T21:57:13Z")

</div>

What SQL Syntax is used by that driver? I have tried several options - they work, but the syntax does not resemble in full neither T-SQL (SQL Server) or Oracle SQL etc.

---

## [Query suggestion api](https://discuss.elastic.co/t/query-suggestion-api/307317)

<div class="topic-metadata">

**Author:** [@usman.os](https://discuss.elastic.co/u/usman.os)\
**Replies:** 0\
**Last updated:** [June 15, 2022, 8:24pm UTC](https://discuss.elastic.co/t/query-suggestion-api/307317 "2022-06-15T20:24:19Z")

</div>

I am using query suggestion to show auto complete, I need to pass filter to get more accurate data How i can achieve this?

---

## [How to identify source of the PCF logs in elastic stack](https://discuss.elastic.co/t/how-to-identify-source-of-the-pcf-logs-in-elastic-stack/307302)

<div class="topic-metadata">

**Author:** [@gpvikas145](https://discuss.elastic.co/u/gpvikas145)\
**Replies:** 2\
**Last updated:** [June 15, 2022, 5:30pm UTC](https://discuss.elastic.co/t/how-to-identify-source-of-the-pcf-logs-in-elastic-stack/307302 "2022-06-15T17:30:38Z")

</div>

Hi, I am trying to implement Elastic Stack for PCF environment where I have to two datacenters SCC, GCC . How to identify whether the log is from SCC or GCC

---

## [Connecting to Elasticsearch from GUI using API and http security](https://discuss.elastic.co/t/connecting-to-elasticsearch-from-gui-using-api-and-http-security/307299)

<div class="topic-metadata">

**Author:** [@jamesp](https://discuss.elastic.co/u/jamesp)\
**Replies:** 2\
**Last updated:** [June 15, 2022, 5:07pm UTC](https://discuss.elastic.co/t/connecting-to-elasticsearch-from-gui-using-api-and-http-security/307299 "2022-06-15T17:07:09Z")

</div>

I am currently running ES 7.11.1 and have set up basic security using a self created ca, certificates for each ES node, and ssl.http for External API access. All nodes and Kibana connect and work without an issue. Howev…

---

## [Field for active/passive?](https://discuss.elastic.co/t/field-for-active-passive/307080)

<div class="topic-metadata">

**Author:** [@rsk0](https://discuss.elastic.co/u/rsk0)\
**Replies:** 2\
**Last updated:** [June 15, 2022, 4:56pm UTC](https://discuss.elastic.co/t/field-for-active-passive/307080 "2022-06-15T16:56:22Z")

</div>

In ECS Elastic Common Schema... Is there a field for indicating if a service (or anything) is active or passive? I tried looking through the spec but was unable to find anything.

---

## [Cluster is not in a defined clean state while using the Elasticsearch setup by Rally](https://discuss.elastic.co/t/cluster-is-not-in-a-defined-clean-state-while-using-the-elasticsearch-setup-by-rally/307003)

<div class="topic-metadata">

**Author:** [@Gsqsf](https://discuss.elastic.co/u/Gsqsf)\
**Replies:** 4\
**Last updated:** [June 15, 2022, 2:25pm UTC](https://discuss.elastic.co/t/cluster-is-not-in-a-defined-clean-state-while-using-the-elasticsearch-setup-by-rally/307003 "2022-06-15T14:25:29Z")

</div>

I got that message \[WARNING\] indexing\_total\_time is 3941 ms indicating that the cluster is not in a defined clean state. Recorded index time metrics may be misleading. While running esrally race --distribution-version…

---

## [Working with multiple Nest version - JsonNetSerializer doesn't exist in Nest6](https://discuss.elastic.co/t/working-with-multiple-nest-version-jsonnetserializer-doesnt-exist-in-nest6/307255)

<div class="topic-metadata">

**Author:** [@Aharon\_Ya](https://discuss.elastic.co/u/Aharon_Ya)\
**Replies:** 0\
**Last updated:** [June 15, 2022, 10:53am UTC](https://discuss.elastic.co/t/working-with-multiple-nest-version-jsonnetserializer-doesnt-exist-in-nest6/307255 "2022-06-15T10:53:52Z")

</div>

Hello Team, We are working on upgrading our Elastic from 5.x to the latest. Currently, we are working against them both (as a rollout process). I'm trying to use multiple Nest versions as guided here: https://www.elast…

---

## [Are there no msi installers for new Elasticsearch versions](https://discuss.elastic.co/t/are-there-no-msi-installers-for-new-elasticsearch-versions/306012)

<div class="topic-metadata">

**Author:** [@runegronkjaer](https://discuss.elastic.co/u/runegronkjaer)\
**Replies:** 4\
**Last updated:** [June 15, 2022, 10:36am UTC](https://discuss.elastic.co/t/are-there-no-msi-installers-for-new-elasticsearch-versions/306012 "2022-06-15T10:36:21Z")

</div>

Hi, I installed Elasticsearch 7 with an msi installer last year and now that I need to install it again there's no msi installer on the newer versions. Will there not be msi installers from now on? And if that is the…

---

## [Log4j management of access files created by Elasticsearch](https://discuss.elastic.co/t/log4j-management-of-access-files-created-by-elasticsearch/307249)

<div class="topic-metadata">

**Author:** [@intrepid1](https://discuss.elastic.co/u/intrepid1)\
**Replies:** 0\
**Last updated:** [June 15, 2022, 10:00am UTC](https://discuss.elastic.co/t/log4j-management-of-access-files-created-by-elasticsearch/307249 "2022-06-15T10:00:09Z")

</div>

Hi there, I am running Elasticsearch 7.16.1 and also have auditing configured. I am using a default log4j properties files which I had to extend to gzip the audit files. This is not included in the 7.16.1 log4j2 propert…

---

## [Elastic cloud and azure ad logs](https://discuss.elastic.co/t/elastic-cloud-and-azure-ad-logs/307239)

<div class="topic-metadata">

**Author:** [@Serhii\_Chebonenko](https://discuss.elastic.co/u/Serhii_Chebonenko)\
**Replies:** 0\
**Last updated:** [June 15, 2022, 8:54am UTC](https://discuss.elastic.co/t/elastic-cloud-and-azure-ad-logs/307239 "2022-06-15T08:54:20Z")

</div>

I'm trying to ingest azure ad logs using diagnostic setting -\> partner solution, elastic cloud deployment is visible. Configure -\> save, no new data in elastic. Only documentation I found on azure ad integration is using…

---

## [Elasticsearch 8.1.0 errors](https://discuss.elastic.co/t/elasticsearch-8-1-0-errors/307151)

<div class="topic-metadata">

**Author:** [@Sravan1](https://discuss.elastic.co/u/Sravan1)\
**Replies:** 3\
**Last updated:** [June 15, 2022, 8:46am UTC](https://discuss.elastic.co/t/elasticsearch-8-1-0-errors/307151 "2022-06-15T08:46:32Z")

</div>

unknown setting \[node.ml\] please check that any required plugins are installed, or check the breaking changes documentation for removed settings roles: master: "true" ingest: "true" data: "true" remote\_cluster\_clien…

---

## [Problem with dns in kibana - lb](https://discuss.elastic.co/t/problem-with-dns-in-kibana-lb/307235)

<div class="topic-metadata">

**Author:** [@Frida](https://discuss.elastic.co/u/Frida)\
**Replies:** 0\
**Last updated:** [June 15, 2022, 8:05am UTC](https://discuss.elastic.co/t/problem-with-dns-in-kibana-lb/307235 "2022-06-15T08:05:28Z")

</div>

Hi, this is my kibana yml file: apiVersion: kibana.k8s.elastic.co/v1 kind: Kibana metadata: name: quickstart spec: version: 7.6.2 count: 1 elasticsearchRef: name: cdbridgerpayelasticsearch http: servi…

---

## [Run Http GET from Ansible to remote server by connecting via localhost](https://discuss.elastic.co/t/run-http-get-from-ansible-to-remote-server-by-connecting-via-localhost/307233)

<div class="topic-metadata">

**Author:** [@charlot\_Attard](https://discuss.elastic.co/u/charlot_Attard)\
**Replies:** 0\
**Last updated:** [June 15, 2022, 7:55am UTC](https://discuss.elastic.co/t/run-http-get-from-ansible-to-remote-server-by-connecting-via-localhost/307233 "2022-06-15T07:55:03Z")

</div>

Hello, I am creating an ansible-playbook which is doing HTTP GET to a remote elastic server. The problem is that this ES server doesn't accept any other connection apart from localhost. Is there a way how to connect to …

---

## [Using the same index for a year](https://discuss.elastic.co/t/using-the-same-index-for-a-year/307132)

<div class="topic-metadata">

**Author:** [@mertkaant](https://discuss.elastic.co/u/mertkaant)\
**Replies:** 2\
**Last updated:** [June 15, 2022, 7:31am UTC](https://discuss.elastic.co/t/using-the-same-index-for-a-year/307132 "2022-06-15T07:31:13Z")

</div>

Hello, elastic community, I have a new index and I'm writing small data daily to this index. I want to achieve lifecycle management for this index and about that, I thought since this is a really small index can I confi…

---

## [Can not install elastic on Ubuntu](https://discuss.elastic.co/t/can-not-install-elastic-on-ubuntu/306975)

<div class="topic-metadata">

**Author:** [@MaralErdene\_Tumursuh](https://discuss.elastic.co/u/MaralErdene_Tumursuh)\
**Replies:** 2\
**Last updated:** [June 15, 2022, 6:09am UTC](https://discuss.elastic.co/t/can-not-install-elastic-on-ubuntu/306975 "2022-06-15T06:09:05Z")

</div>

Hello, when i execute sudo apt update that error occurred. Temporary failure resolving 'artifacts.elastic.co'. Is there any blocking? I'm from Mongolia. My ip is 103.17.108.48. What should i do? Please, answer asa…

---

## [Permission error when applying apm (pinpoint) to elasticsearch](https://discuss.elastic.co/t/permission-error-when-applying-apm-pinpoint-to-elasticsearch/307209)

<div class="topic-metadata">

**Author:** [@Aaron2](https://discuss.elastic.co/u/Aaron2)\
**Replies:** 0\
**Last updated:** [June 15, 2022, 2:41am UTC](https://discuss.elastic.co/t/permission-error-when-applying-apm-pinpoint-to-elasticsearch/307209 "2022-06-15T02:41:05Z")

</div>

hi I am trying to monitor using apm (pinpoint) in elasticsearch. To do this, I created custom-policy.policy and specified it when running elasticsearch because it was necessary to grant permission. (It is not confirme…

---

## [\[ERROR\] Total Ingest Pipeline Count/Time/Failed Metrics are all returning 0](https://discuss.elastic.co/t/error-total-ingest-pipeline-count-time-failed-metrics-are-all-returning-0/307069)

<div class="topic-metadata">

**Author:** [@raphaelli1](https://discuss.elastic.co/u/raphaelli1)\
**Replies:** 3\
**Last updated:** [June 15, 2022, 2:53am UTC](https://discuss.elastic.co/t/error-total-ingest-pipeline-count-time-failed-metrics-are-all-returning-0/307069 "2022-06-15T02:53:43Z")

</div>

Hi, it seems that whenever we get the final score for ingest pipeline count/time/failed metrics all return 0 when we run esrally race. The command we are running is: esrally race --track=http\_logs --target-hosts=http:/…

---

## [How to get all results with search API](https://discuss.elastic.co/t/how-to-get-all-results-with-search-api/307127)

<div class="topic-metadata">

**Author:** [@its-ogawa](https://discuss.elastic.co/u/its-ogawa)\
**Replies:** 5\
**Last updated:** [June 15, 2022, 2:35am UTC](https://discuss.elastic.co/t/how-to-get-all-results-with-search-api/307127 "2022-06-15T02:35:25Z")

</div>

I am trying to use the REST API to get the contents of the index. I found that this API only retrieves up to 10 results by default. I also found that by using the size option, I can retrieve the specified number of re…

---

## [8.2 closing connection when creating an index](https://discuss.elastic.co/t/8-2-closing-connection-when-creating-an-index/306972)

<div class="topic-metadata">

**Author:** [@Jack\_Park](https://discuss.elastic.co/u/Jack_Park)\
**Replies:** 5\
**Last updated:** [June 15, 2022, 12:34am UTC](https://discuss.elastic.co/t/8-2-closing-connection-when-creating-an-index/306972 "2022-06-15T00:34:43Z")

</div>

I'm building my own REST provider for 8.2 - an upgrade from one which ran on 6, but with obvious changes to the code. I created a gist which shows the code with "\<\<\<\<\<" indicating where it is failing; there is the con…

---

## [Downgrading from Gold licence to basic](https://discuss.elastic.co/t/downgrading-from-gold-licence-to-basic/307150)

<div class="topic-metadata">

**Author:** [@ktomu](https://discuss.elastic.co/u/ktomu)\
**Replies:** 2\
**Last updated:** [June 14, 2022, 11:18pm UTC](https://discuss.elastic.co/t/downgrading-from-gold-licence-to-basic/307150 "2022-06-14T23:18:32Z")

</div>

Hi, I have Elasticsearch version 6.8 with a gold license in a cluster environment. We are going to update to a latest version of 8.2 and later downgrade the cluster to a basic license (we can't afford the gold at the mom…

---

## [Waiting for Fleet Server to connect](https://discuss.elastic.co/t/waiting-for-fleet-server-to-connect/307117)

<div class="topic-metadata">

**Author:** [@alipujaistopo](https://discuss.elastic.co/u/alipujaistopo)\
**Replies:** 0\
**Last updated:** [June 14, 2022, 8:37am UTC](https://discuss.elastic.co/t/waiting-for-fleet-server-to-connect/307117 "2022-06-14T08:37:01Z")

</div>

i just enroll the fleet-server. here's my config bin/elastic-agent enroll --url=https://192.168.88.147:8220 \\ --fleet-server-es=https://192.168.88.147:9200 \\ --fleet-server-service-token=token \\ --fleet-server-pol…

---

## [Script Field with Nested Objects](https://discuss.elastic.co/t/script-field-with-nested-objects/307191)

<div class="topic-metadata">

**Author:** [@LisaJ](https://discuss.elastic.co/u/LisaJ)\
**Replies:** 2\
**Last updated:** [June 14, 2022, 10:10pm UTC](https://discuss.elastic.co/t/script-field-with-nested-objects/307191 "2022-06-14T22:10:46Z")

</div>

Hi -- I am hoping someone can help me (or let me know that ES doesn't do this so I can stop trying!). We're using ES 7.7.0. I have data where there are multiple items within an object -- as an example, each document rep…

---

## [How to use nested type to store multiple vector fields and retrieve vectors](https://discuss.elastic.co/t/how-to-use-nested-type-to-store-multiple-vector-fields-and-retrieve-vectors/307095)

<div class="topic-metadata">

**Author:** [@dyyTT](https://discuss.elastic.co/u/dyyTT)\
**Replies:** 1\
**Last updated:** [June 14, 2022, 9:04pm UTC](https://discuss.elastic.co/t/how-to-use-nested-type-to-store-multiple-vector-fields-and-retrieve-vectors/307095 "2022-06-14T21:04:31Z")

</div>

I want to know how to use nested type to store multiple vector fields and retrieve vectors,thanks!

---

## [Ingress for Kibana- the browser did not recognize the hostname](https://discuss.elastic.co/t/ingress-for-kibana-the-browser-did-not-recognize-the-hostname/307188)

<div class="topic-metadata">

**Author:** [@Frida](https://discuss.elastic.co/u/Frida)\
**Replies:** 6\
**Last updated:** [June 14, 2022, 7:59pm UTC](https://discuss.elastic.co/t/ingress-for-kibana-the-browser-did-not-recognize-the-hostname/307188 "2022-06-14T19:59:19Z")

</div>

Hi, If possible- I have a question: this is my kibana: apiVersion: kibana.k8s.elastic.co/v1 kind: Kibana metadata: name: quickstart spec: version: 7.6.2 count: 1 elasticsearchRef: name: cdbridgerpayelasti…

---

## [Data stream with hot/warm/cold tiers read performance](https://discuss.elastic.co/t/data-stream-with-hot-warm-cold-tiers-read-performance/307192)

<div class="topic-metadata">

**Author:** [@co88liwan](https://discuss.elastic.co/u/co88liwan)\
**Replies:** 2\
**Last updated:** [June 14, 2022, 7:36pm UTC](https://discuss.elastic.co/t/data-stream-with-hot-warm-cold-tiers-read-performance/307192 "2022-06-14T19:36:46Z")

</div>

Hi all, I have a question regarding the query/read performance on data steam. As the document shows, for read requests data stream will route them to all its backing indices. If I use hot/warm/cold tiers with data ste…

---

## [Update\_by\_query versus terms performance](https://discuss.elastic.co/t/update-by-query-versus-terms-performance/307187)

<div class="topic-metadata">

**Author:** [@sumannewton](https://discuss.elastic.co/u/sumannewton)\
**Replies:** 0\
**Last updated:** [June 14, 2022, 4:06pm UTC](https://discuss.elastic.co/t/update-by-query-versus-terms-performance/307187 "2022-06-14T16:06:29Z")

</div>

There is a use case I am working on as described below: I have documents(transactions) getting saved in below format: String date String versionId // UUID // OTHER FIELDS Each date has multiple version transactions th…

[Previous page](https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=423)

[Next page](https://discuss.elastic.co/c/elastic-stack/elasticsearch/6.md?page=425)
