# Elasticsearch

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

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

**Page:** 437

---

## [Check if index exist in elasticsearch 8.2](https://discuss.elastic.co/t/check-if-index-exist-in-elasticsearch-8-2/305356)

<div class="topic-metadata">

**Author:** [@avnere](https://discuss.elastic.co/u/avnere)\
**Replies:** 8\
**Last updated:** [May 24, 2022, 11:47am UTC](https://discuss.elastic.co/t/check-if-index-exist-in-elasticsearch-8-2/305356 "2022-05-24T11:47:07Z")

</div>

Hi, How do I check if index exist in JAVA API 8.2. In v.7.x I used: GetIndexRequest request = new GetIndexRequest("yourindexname"); restHighLevelclient.indices().exists(request, RequestOptions.DEFAULT);

---

## [Adding a New field to index](https://discuss.elastic.co/t/adding-a-new-field-to-index/305408)

<div class="topic-metadata">

**Author:** [@icgncl](https://discuss.elastic.co/u/icgncl)\
**Replies:** 1\
**Last updated:** [May 24, 2022, 10:26am UTC](https://discuss.elastic.co/t/adding-a-new-field-to-index/305408 "2022-05-24T10:26:22Z")

</div>

I want to add a new field to my index which includes more than 20m documents. I have dictionary like this Template : \[Catalog\_id : {Keyword: Sold Count}\] Sold Counts = {1234: {Apple:50}, 3242: {Banana:20}, 3423: {Apple:…

---

## [Changing index replication factor to 0](https://discuss.elastic.co/t/changing-index-replication-factor-to-0/305482)

<div class="topic-metadata">

**Author:** [@charvi23](https://discuss.elastic.co/u/charvi23)\
**Replies:** 4\
**Last updated:** [May 24, 2022, 10:08am UTC](https://discuss.elastic.co/t/changing-index-replication-factor-to-0/305482 "2022-05-24T10:08:35Z")

</div>

Currently I am working on a single node Elasticsearch setup. But the replication factor was set to 1 by default. The space on my node is 3TB. If I decrease the replication factor to 0 , what will happen in that case? O…

---

## [Preserve original log file name using Filebeat and Logstash](https://discuss.elastic.co/t/preserve-original-log-file-name-using-filebeat-and-logstash/305390)

<div class="topic-metadata">

**Author:** [@Robert\_Garcia\_Torren](https://discuss.elastic.co/u/Robert_Garcia_Torren)\
**Replies:** 1\
**Last updated:** [May 24, 2022, 8:50am UTC](https://discuss.elastic.co/t/preserve-original-log-file-name-using-filebeat-and-logstash/305390 "2022-05-24T08:50:07Z")

</div>

Hi. I just want to preserve the original file name for example: laravel-2022-05-17.log and set it as index. I was not able to find the propper way to obtain it using filebeat and sending it to logstash. Thanks …

---

## [ILM rollout not working](https://discuss.elastic.co/t/ilm-rollout-not-working/303463)

<div class="topic-metadata">

**Author:** [@gerardgorrion](https://discuss.elastic.co/u/gerardgorrion)\
**Replies:** 3\
**Last updated:** [May 24, 2022, 8:33am UTC](https://discuss.elastic.co/t/ilm-rollout-not-working/303463 "2022-05-24T08:33:29Z")

</div>

Hi all, We want to active the rollout into hot phase in a index. Policy applied before rollout: PUT \_ilm/policy/test-custom { "policy": { "phases": { "hot": { "min\_age": "0ms", "actions": { …

---

## [Kibana URL Error on HTTPS Connection: Refuse To Execute Inline Scripts Because Its Violate The Following Content Security Policy Directive And Failed To Fetch JS Pages](https://discuss.elastic.co/t/kibana-url-error-on-https-connection-refuse-to-execute-inline-scripts-because-its-violate-the-following-content-security-policy-directive-and-failed-to-fetch-js-pages/304945)

<div class="topic-metadata">

**Author:** [@Lokesh\_Sachdeva](https://discuss.elastic.co/u/Lokesh_Sachdeva)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 1:12pm UTC](https://discuss.elastic.co/t/kibana-url-error-on-https-connection-refuse-to-execute-inline-scripts-because-its-violate-the-following-content-security-policy-directive-and-failed-to-fetch-js-pages/304945 "2022-05-17T13:12:15Z")

</div>

HI Team We are installing the ELK Docker Image 8.0.0 with configuring SSL security in ELK Cluster. Configured Kibana.yml file with below settings SERVER\_SSL\_ENABLE= true SERVER\_SSL\_CERTIFICATE=config/cert/server/server…

---

## [Can word spacing support and or relationship](https://discuss.elastic.co/t/can-word-spacing-support-and-or-relationship/305444)

<div class="topic-metadata">

**Author:** [@S-Dragon0302](https://discuss.elastic.co/u/S-Dragon0302)\
**Replies:** 6\
**Last updated:** [May 24, 2022, 7:02am UTC](https://discuss.elastic.co/t/can-word-spacing-support-and-or-relationship/305444 "2022-05-24T07:02:39Z")

</div>

query\_string case: ((a|b)+(c|d))~10 ==\> ((a+c)~10)|((a+d)~10)|((b+c)~10)|((b+d)~10) Can this be true,What should I do if I want to do this.

---

## [Dedicated Auth Log](https://discuss.elastic.co/t/dedicated-auth-log/305415)

<div class="topic-metadata">

**Author:** [@wwalker](https://discuss.elastic.co/u/wwalker)\
**Replies:** 0\
**Last updated:** [May 23, 2022, 3:54pm UTC](https://discuss.elastic.co/t/dedicated-auth-log/305415 "2022-05-23T15:54:53Z")

</div>

Is it possible to setup Elasticsearch to log all authentication attempts to a separate file? This would mostly be Kibana authentications via AD or local user, would it be better to setup logging in Kibana to track this? …

---

## [How to search in Elasticsearch when same field is present multiple times?](https://discuss.elastic.co/t/how-to-search-in-elasticsearch-when-same-field-is-present-multiple-times/305385)

<div class="topic-metadata">

**Author:** [@Vipul\_Kumar](https://discuss.elastic.co/u/Vipul_Kumar)\
**Replies:** 7\
**Last updated:** [May 24, 2022, 6:30am UTC](https://discuss.elastic.co/t/how-to-search-in-elasticsearch-when-same-field-is-present-multiple-times/305385 "2022-05-24T06:30:41Z")

</div>

I'm trying to figure out how do I search an index when same field is present multiple times. Look at the below example: "\_source" : { "field1" : "value1", "field\_list" : \[ { …

---

## [Fuzzysearch not working as expected](https://discuss.elastic.co/t/fuzzysearch-not-working-as-expected/305450)

<div class="topic-metadata">

**Author:** [@Reset\_Button](https://discuss.elastic.co/u/Reset_Button)\
**Replies:** 0\
**Last updated:** [May 24, 2022, 6:04am UTC](https://discuss.elastic.co/t/fuzzysearch-not-working-as-expected/305450 "2022-05-24T06:04:25Z")

</div>

Hello! I try to implement fuzzysearch like explained here How to Use Fuzzy Query Matches in Elasticsearch | HackerNoon - but get strange results. { "query": { "match" : { "term": { "query" : "At w…

---

## [Elastic Cloud performance data in Stack Monitoring](https://discuss.elastic.co/t/elastic-cloud-performance-data-in-stack-monitoring/303978)

<div class="topic-metadata">

**Author:** [@keiransteele](https://discuss.elastic.co/u/keiransteele)\
**Replies:** 1\
**Last updated:** [May 24, 2022, 5:21am UTC](https://discuss.elastic.co/t/elastic-cloud-performance-data-in-stack-monitoring/303978 "2022-05-24T05:21:59Z")

</div>

Are there any plans to have the performance metrics from the Elastic Cloud deployment interface available in Stack Monitoring? The graphs in the deployment interface are small and not very useful, it's also not possible …

---

## [Index document: very bad performance in Elasticsearch 8.2.0](https://discuss.elastic.co/t/index-document-very-bad-performance-in-elasticsearch-8-2-0/305392)

<div class="topic-metadata">

**Author:** [@Alexander\_Ott](https://discuss.elastic.co/u/Alexander_Ott)\
**Replies:** 3\
**Last updated:** [May 24, 2022, 5:07am UTC](https://discuss.elastic.co/t/index-document-very-bad-performance-in-elasticsearch-8-2-0/305392 "2022-05-24T05:07:03Z")

</div>

We are trying to migrate from Elasticsearch 6.7.1 to Elasticsearch 8.2.0. With the same amount of documents per bulk request, we always get a socket timeout in Elasticsearch 8.2.0. Everything works fine in Elasticsearch…

---

## [Elastic Cloud : Option to deploy into a single zone / alternative cloud providers](https://discuss.elastic.co/t/elastic-cloud-option-to-deploy-into-a-single-zone-alternative-cloud-providers/303866)

<div class="topic-metadata">

**Author:** [@devops\_uilicious](https://discuss.elastic.co/u/devops_uilicious)\
**Replies:** 3\
**Last updated:** [May 24, 2022, 3:32am UTC](https://discuss.elastic.co/t/elastic-cloud-option-to-deploy-into-a-single-zone-alternative-cloud-providers/303866 "2022-05-24T03:32:43Z")

</div>

We would like to ideally be able to avoid "inter-node" fees by ... deploying all our nodes into a single zone (for the existing GCP/AWS/Azure workload), saving both elastic (and us) the inter networking fees. deploying…

---

## [Transition time old to new licence](https://discuss.elastic.co/t/transition-time-old-to-new-licence/305394)

<div class="topic-metadata">

**Author:** [@smm](https://discuss.elastic.co/u/smm)\
**Replies:** 1\
**Last updated:** [May 24, 2022, 12:46am UTC](https://discuss.elastic.co/t/transition-time-old-to-new-licence/305394 "2022-05-24T00:46:38Z")

</div>

Dear Elastic, I have a basic question: What does happen if a gold licence in an onpremises cluster runs out of time (and only e.g. a week later) the new license gets appied? What does not funtion in that 'transition we…

---

## [Max\_terms\_count parameter in Elastic search 6.1](https://discuss.elastic.co/t/max-terms-count-parameter-in-elastic-search-6-1/305413)

<div class="topic-metadata">

**Author:** [@akshay\_chavan](https://discuss.elastic.co/u/akshay_chavan)\
**Replies:** 2\
**Last updated:** [May 24, 2022, 12:40am UTC](https://discuss.elastic.co/t/max-terms-count-parameter-in-elastic-search-6-1/305413 "2022-05-24T00:40:04Z")

</div>

We have upgraded Elasticsearch from 6.1 to 7.1 and getting error for max\_terms\_count parameter, can anyone confirm if this parameter was present in ES 6.1 and what is the default value for it ?

---

## [Maintenance of the node/cluster in Elasticsearch](https://discuss.elastic.co/t/maintenance-of-the-node-cluster-in-elasticsearch/305366)

<div class="topic-metadata">

**Author:** [@SamuelSMendes](https://discuss.elastic.co/u/SamuelSMendes)\
**Replies:** 3\
**Last updated:** [May 23, 2022, 10:01pm UTC](https://discuss.elastic.co/t/maintenance-of-the-node-cluster-in-elasticsearch/305366 "2022-05-23T22:01:17Z")

</div>

Hello everyone, this time isn't much of a problem, is more like a topic for advice so I hope theres no problem posting it here. Up until now I've been using all the settings of Elasticsearch in default by recommendation…

---

## [Syntax of Elastic.Clients.Elasticsearch](https://discuss.elastic.co/t/syntax-of-elastic-clients-elasticsearch/305433)

<div class="topic-metadata">

**Author:** [@Sjaak](https://discuss.elastic.co/u/Sjaak)\
**Replies:** 0\
**Last updated:** [May 23, 2022, 7:59pm UTC](https://discuss.elastic.co/t/syntax-of-elastic-clients-elasticsearch/305433 "2022-05-23T19:59:02Z")

</div>

I can find a lot of examples for Elastic 8.2 'NEST' namespace, but nothing for the new 'Elastic.Clients.Elasticsearch' namespace. For example, this code works, but how to add the second field 'name'. Nothing seems to wo…

---

## [Error on import with Python and Eland](https://discuss.elastic.co/t/error-on-import-with-python-and-eland/304713)

<div class="topic-metadata">

**Author:** [@greengeek](https://discuss.elastic.co/u/greengeek)\
**Replies:** 1\
**Last updated:** [May 23, 2022, 6:20pm UTC](https://discuss.elastic.co/t/error-on-import-with-python-and-eland/304713 "2022-05-23T18:20:53Z")

</div>

I am using Python and Eland to loop through 2757 json files that I have created and import them into Elasticsearch. With my code I am able to import the majority of them, only 5 of them do not import and throw the same …

---

## [Data Node disconnects randomly from cluster](https://discuss.elastic.co/t/data-node-disconnects-randomly-from-cluster/305396)

<div class="topic-metadata">

**Author:** [@Siva\_Karan](https://discuss.elastic.co/u/Siva_Karan)\
**Replies:** 2\
**Last updated:** [May 23, 2022, 3:12pm UTC](https://discuss.elastic.co/t/data-node-disconnects-randomly-from-cluster/305396 "2022-05-23T15:12:05Z")

</div>

Hi Team, Data node from the cluster some times automatically removed without any high heap usage. with in sometime it joins automatically. Please help me to sort it out. Elasticsearch version :7.3.2 OS:ubunutu 2022…

---

## [Increased Search Latency After Closing Index, Adding Analyzer, and Then Reopening Index](https://discuss.elastic.co/t/increased-search-latency-after-closing-index-adding-analyzer-and-then-reopening-index/305352)

<div class="topic-metadata">

**Author:** [@Christopher\_Levy](https://discuss.elastic.co/u/Christopher_Levy)\
**Replies:** 3\
**Last updated:** [May 23, 2022, 2:42pm UTC](https://discuss.elastic.co/t/increased-search-latency-after-closing-index-adding-analyzer-and-then-reopening-index/305352 "2022-05-23T14:42:06Z")

</div>

Hey, we have a production AWS opensearch cluster running Elasticsearch 7.10. We needed to add a new custom analyzer to a running cluster. We closed the index, added the analyzer, and then reopened the index. No search…

---

## [Indexing data from Azure into MongoDB and Elastic search](https://discuss.elastic.co/t/indexing-data-from-azure-into-mongodb-and-elastic-search/305222)

<div class="topic-metadata">

**Author:** [@ManojKumarM](https://discuss.elastic.co/u/ManojKumarM)\
**Replies:** 1\
**Last updated:** [May 23, 2022, 2:23pm UTC](https://discuss.elastic.co/t/indexing-data-from-azure-into-mongodb-and-elastic-search/305222 "2022-05-23T14:23:15Z")

</div>

Cureently data is available in Azure, Kindly help me to understand how to index the data from Azure to MongoDB and Elasticsearch

---

## [Does Java API support \_mvt endpoint?](https://discuss.elastic.co/t/does-java-api-support-mvt-endpoint/305319)

<div class="topic-metadata">

**Author:** [@csirwin](https://discuss.elastic.co/u/csirwin)\
**Replies:** 1\
**Last updated:** [May 23, 2022, 1:24pm UTC](https://discuss.elastic.co/t/does-java-api-support-mvt-endpoint/305319 "2022-05-23T13:24:13Z")

</div>

I am using the Elasticsearch-java-api-8.2.0 API and am trying to execute a search against the \_mvt to get tiles back but do not see a way to hit that endpoint?

---

## [Parameter indexing\_pressure.memory.limit](https://discuss.elastic.co/t/parameter-indexing-pressure-memory-limit/304823)

<div class="topic-metadata">

**Author:** [@masyutka](https://discuss.elastic.co/u/masyutka)\
**Replies:** 4\
**Last updated:** [May 23, 2022, 12:48pm UTC](https://discuss.elastic.co/t/parameter-indexing-pressure-memory-limit/304823 "2022-05-23T12:48:51Z")

</div>

Hi ! We are trying to understand if parameter indexing\_pressure.memory.limit can be adjusted and how. We cannot find any info on how to change it, we found only this help link Indexing pressure | Elasticsearch Guide \[8…

---

## [Delete data from source index of a transform that created the documents in destination index](https://discuss.elastic.co/t/delete-data-from-source-index-of-a-transform-that-created-the-documents-in-destination-index/304937)

<div class="topic-metadata">

**Author:** [@Tzvika\_Cohen](https://discuss.elastic.co/u/Tzvika_Cohen)\
**Replies:** 5\
**Last updated:** [May 23, 2022, 11:50am UTC](https://discuss.elastic.co/t/delete-data-from-source-index-of-a-transform-that-created-the-documents-in-destination-index/304937 "2022-05-23T11:50:02Z")

</div>

I have two indexes, that the transform aggregates multiple documents into 1, that works fine: transformation is done from index 1 to index 2: itermediate\_index - source total\_index - destination There are 2 fields tha…

---

## [Minimum 2 field should have search term?](https://discuss.elastic.co/t/minimum-2-field-should-have-search-term/305382)

<div class="topic-metadata">

**Author:** [@div927](https://discuss.elastic.co/u/div927)\
**Replies:** 2\
**Last updated:** [May 23, 2022, 11:17am UTC](https://discuss.elastic.co/t/minimum-2-field-should-have-search-term/305382 "2022-05-23T11:17:52Z")

</div>

How create search query to search the searched word in atleast 2 field?

---

## [Circuit breaker memory usage](https://discuss.elastic.co/t/circuit-breaker-memory-usage/305350)

<div class="topic-metadata">

**Author:** [@frank\_rib](https://discuss.elastic.co/u/frank_rib)\
**Replies:** 1\
**Last updated:** [May 23, 2022, 7:30am UTC](https://discuss.elastic.co/t/circuit-breaker-memory-usage/305350 "2022-05-23T07:30:55Z")

</div>

Hello Every body, How the circuit breaker limit value are calculated? it depend on the node free ram usage ? or the defined RAM of the elk node? Best regards

---

## [Issues with instllation Elasti 8.2 with apt. Certificate problems](https://discuss.elastic.co/t/issues-with-instllation-elasti-8-2-with-apt-certificate-problems/305315)

<div class="topic-metadata">

**Author:** [@abkrim](https://discuss.elastic.co/u/abkrim)\
**Replies:** 1\
**Last updated:** [May 23, 2022, 7:16am UTC](https://discuss.elastic.co/t/issues-with-instllation-elasti-8-2-with-apt-certificate-problems/305315 "2022-05-23T07:16:47Z")

</div>

After installing Elasticsearch 8.2 in Ubuntu 22.04 I have one problem when I try to connect via curl. ❯ curl --cacert /etc/elasticsearch/certs/http\_ca.crt -u elastic:1iXGIbPASSWORDQLp6+rv https://localhost:9200 curl: (7…

---

## [Client PHP in local. Mistake. I can't connect to ElasticSearch 8.2](https://discuss.elastic.co/t/client-php-in-local-mistake-i-cant-connect-to-elasticsearch-8-2/305346)

<div class="topic-metadata">

**Author:** [@abkrim](https://discuss.elastic.co/u/abkrim)\
**Replies:** 0\
**Last updated:** [May 22, 2022, 7:35am UTC](https://discuss.elastic.co/t/client-php-in-local-mistake-i-cant-connect-to-elasticsearch-8-2/305346 "2022-05-22T07:35:52Z")

</div>

In a default installation with deb packages, I have ElasticSeacrh + Kibana installed by default. That is, with security (username and password), self-signed HTTPS. When I tried to do my first connection test via PHP it …

---

## [Has anyone tried to set the type of all fields to to wildcard field?](https://discuss.elastic.co/t/has-anyone-tried-to-set-the-type-of-all-fields-to-to-wildcard-field/305364)

<div class="topic-metadata">

**Author:** [@stardust](https://discuss.elastic.co/u/stardust)\
**Replies:** 2\
**Last updated:** [May 23, 2022, 6:54am UTC](https://discuss.elastic.co/t/has-anyone-tried-to-set-the-type-of-all-fields-to-to-wildcard-field/305364 "2022-05-23T06:54:59Z")

</div>

I want to set the type of all fields to to wildcard field when searching log, no matter how big the value is or how many unique values there are.Is this possible? I have a little performance tests, it will bring a 30% i…

---

## [Why there are 20 documents diff (cat vs count)?](https://discuss.elastic.co/t/why-there-are-20-documents-diff-cat-vs-count/305341)

<div class="topic-metadata">

**Author:** [@asil](https://discuss.elastic.co/u/asil)\
**Replies:** 2\
**Last updated:** [May 22, 2022, 3:50pm UTC](https://discuss.elastic.co/t/why-there-are-20-documents-diff-cat-vs-count/305341 "2022-05-22T15:50:16Z")

</div>

I try to compare results of count and cat for the amount of documents and I'm getting different results: GET /my\_index/\_count gives: { "count": 4020199, "\_shards": { "total": 1, "successful": 1, …

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

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