# Elasticsearch

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

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

**Page:** 895

---

## [Unable to open index after closing all](https://discuss.elastic.co/t/unable-to-open-index-after-closing-all/236407)

<div class="topic-metadata">

**Author:** [@anjana1](https://discuss.elastic.co/u/anjana1)\
**Replies:** 1\
**Last updated:** [June 10, 2020, 5:59pm UTC](https://discuss.elastic.co/t/unable-to-open-index-after-closing-all/236407 "2020-06-10T17:59:59Z")

</div>

Kibana version : 7.6 Elasticsearch version : 7.6 APM Server version : 7.3.2 APM Agent language and version : java 1.9.0 Fresh install or upgraded from other version? fresh install Is there anything special in your s…

---

## [Backup of Elasticsearch using velero](https://discuss.elastic.co/t/backup-of-elasticsearch-using-velero/236408)

<div class="topic-metadata">

**Author:** [@Rajashree\_Sekar](https://discuss.elastic.co/u/Rajashree_Sekar)\
**Replies:** 6\
**Last updated:** [June 10, 2020, 4:46pm UTC](https://discuss.elastic.co/t/backup-of-elasticsearch-using-velero/236408 "2020-06-10T16:46:05Z")

</div>

Hi Team, I'm running Elastic search cluster in k8s environment. And I'm using Velero and restic for the backup and restore. But I'm not able to backup the elastic search cluster, as I could not freeze the volume using …

---

## [Update mapping to add new context to 'completion' type field](https://discuss.elastic.co/t/update-mapping-to-add-new-context-to-completion-type-field/236413)

<div class="topic-metadata">

**Author:** [@sameersawant](https://discuss.elastic.co/u/sameersawant)\
**Replies:** 0\
**Last updated:** [June 9, 2020, 8:04pm UTC](https://discuss.elastic.co/t/update-mapping-to-add-new-context-to-completion-type-field/236413 "2020-06-09T20:04:24Z")

</div>

I have a suggest mapping like so "mappings": { "item": { "dynamic": "false", "properties": { "name": { "type": "text", }, "type": { …

---

## [Duplicate conditions in bool query](https://discuss.elastic.co/t/duplicate-conditions-in-bool-query/236197)

<div class="topic-metadata">

**Author:** [@oridool](https://discuss.elastic.co/u/oridool)\
**Replies:** 1\
**Last updated:** [June 10, 2020, 4:29pm UTC](https://discuss.elastic.co/t/duplicate-conditions-in-bool-query/236197 "2020-06-10T16:29:51Z")

</div>

Hi, I'd like to know if having duplicate conditions in a bool query matters and makes the query slower, or that Elasticsearch knows how to ignore those duplicates. Example for such a query: GET /events-04357d39-96b5-4…

---

## [Filter by field for specific index on multi index query](https://discuss.elastic.co/t/filter-by-field-for-specific-index-on-multi-index-query/236545)

<div class="topic-metadata">

**Author:** [@alex-1](https://discuss.elastic.co/u/alex-1)\
**Replies:** 0\
**Last updated:** [June 10, 2020, 4:09pm UTC](https://discuss.elastic.co/t/filter-by-field-for-specific-index-on-multi-index-query/236545 "2020-06-10T16:09:22Z")

</div>

I've got two indexes which i can search on but wan't to filter by a field on one index and not the other. e.g. Index1 Index2 content content parent parent ... ... They share some common mappings. I want…

---

## [Generated index with malformed mappings and ignores number of shards](https://discuss.elastic.co/t/generated-index-with-malformed-mappings-and-ignores-number-of-shards/236462)

<div class="topic-metadata">

**Author:** [@Hoda\_Shirzad](https://discuss.elastic.co/u/Hoda_Shirzad)\
**Replies:** 9\
**Last updated:** [June 10, 2020, 3:03pm UTC](https://discuss.elastic.co/t/generated-index-with-malformed-mappings-and-ignores-number-of-shards/236462 "2020-06-10T15:03:15Z")

</div>

Hello there, I am trying to move my indexing code from an old code base to a new one, the elasticsearch server that I am using is 6.6.0 and I have tried the following parameters for create index using the official php c…

---

## [Deploy elasticsearch role based security using helm charts](https://discuss.elastic.co/t/deploy-elasticsearch-role-based-security-using-helm-charts/236496)

<div class="topic-metadata">

**Author:** [@a3984](https://discuss.elastic.co/u/a3984)\
**Replies:** 7\
**Last updated:** [June 10, 2020, 2:47pm UTC](https://discuss.elastic.co/t/deploy-elasticsearch-role-based-security-using-helm-charts/236496 "2020-06-10T14:47:11Z")

</div>

I am trying to configure elasticsearch in our kubernetes cluster using helm charts and values.yaml as we use Azure DevOps pipelines for our deployment strategy into Azure Kubernetes clusters. However, I am struggling to…

---

## [Node seems not to be discovered on EC2 network](https://discuss.elastic.co/t/node-seems-not-to-be-discovered-on-ec2-network/236193)

<div class="topic-metadata">

**Author:** [@Hayato](https://discuss.elastic.co/u/Hayato)\
**Replies:** 3\
**Last updated:** [June 10, 2020, 2:13pm UTC](https://discuss.elastic.co/t/node-seems-not-to-be-discovered-on-ec2-network/236193 "2020-06-10T14:13:34Z")

</div>

Hi all. Now I’m trying to form a two-nodes cluster on AWS EC2. I’m using Elasticsearch Ver. 7.3. “discovery-ec2” is installed in both two nodes for a cluster. The followings are elasticsearch.yml on each node-1 and no…

---

## [Elasticsearch doesn't find snapshots : \_snapshot/\_all response is blank](https://discuss.elastic.co/t/elasticsearch-doesnt-find-snapshots-snapshot-all-response-is-blank/236303)

<div class="topic-metadata">

**Author:** [@defalt](https://discuss.elastic.co/u/defalt)\
**Replies:** 1\
**Last updated:** [June 10, 2020, 1:21pm UTC](https://discuss.elastic.co/t/elasticsearch-doesnt-find-snapshots-snapshot-all-response-is-blank/236303 "2020-06-10T13:21:28Z")

</div>

Hello, I am trying to restore a snapshot from Elasticsearch 5.3. I am running a fresh Elasticsearch 5.3 installation with the following yml:\` node.name: restore\_node path.data: D:\\Data path.logs…

---

## [How to delete old /var/log/elasticsearch](https://discuss.elastic.co/t/how-to-delete-old-var-log-elasticsearch/236501)

<div class="topic-metadata">

**Author:** [@asp](https://discuss.elastic.co/u/asp)\
**Replies:** 0\
**Last updated:** [June 10, 2020, 11:18am UTC](https://discuss.elastic.co/t/how-to-delete-old-var-log-elasticsearch/236501 "2020-06-10T11:18:19Z")

</div>

Hi there, I am running Elasticsearch 7.6.2. I want to cleanup my logs in /var/log/elasticsearch. By default elasticsearch is rotating its logs. But they stay there forever. What is the easiest way to delete logs after…

---

## [Cluster goes yellow during force merge](https://discuss.elastic.co/t/cluster-goes-yellow-during-force-merge/236495)

<div class="topic-metadata">

**Author:** [@hprotzek](https://discuss.elastic.co/u/hprotzek)\
**Replies:** 0\
**Last updated:** [June 10, 2020, 10:56am UTC](https://discuss.elastic.co/t/cluster-goes-yellow-during-force-merge/236495 "2020-06-10T10:56:57Z")

</div>

We are using following ILM policy: "policy": { "phases": { "hot": { "min\_age": "0ms", "actions": { "rollover": { "max\_age": "1d", …

---

## [Custom date format to show microsecond](https://discuss.elastic.co/t/custom-date-format-to-show-microsecond/236470)

<div class="topic-metadata">

**Author:** [@dotan2401](https://discuss.elastic.co/u/dotan2401)\
**Replies:** 0\
**Last updated:** [June 10, 2020, 9:15am UTC](https://discuss.elastic.co/t/custom-date-format-to-show-microsecond/236470 "2020-06-10T09:15:28Z")

</div>

Is there any example of how to create a custom "date type" that can show microseconds in elastic search? In c# with Nest. Thanks.

---

## [Elasticsearch 7.7.1 RPM fresh install keystore permission issues](https://discuss.elastic.co/t/elasticsearch-7-7-1-rpm-fresh-install-keystore-permission-issues/236434)

<div class="topic-metadata">

**Author:** [@undelete](https://discuss.elastic.co/u/undelete)\
**Replies:** 1\
**Last updated:** [June 10, 2020, 8:25am UTC](https://discuss.elastic.co/t/elasticsearch-7-7-1-rpm-fresh-install-keystore-permission-issues/236434 "2020-06-10T08:25:55Z")

</div>

Hi, I have a fresh install of Elasticsearch. Whenever I try to add or change password of the keystore I get this error: ERROR: unable to create temporary keystore at \[/etc/elasticsearch/elasticsearch.keystore.tmp\], write…

---

## [How to get unique values from loop function for watcher subject](https://discuss.elastic.co/t/how-to-get-unique-values-from-loop-function-for-watcher-subject/235712)

<div class="topic-metadata">

**Author:** [@muralia](https://discuss.elastic.co/u/muralia)\
**Replies:** 1\
**Last updated:** [June 10, 2020, 8:22am UTC](https://discuss.elastic.co/t/how-to-get-unique-values-from-loop-function-for-watcher-subject/235712 "2020-06-10T08:22:08Z")

</div>

I have used {{#ctx.payload.hits.hits}} {{\_source.name}} {{/ctx.payload.hits.hits}} function in the subject of the watcher. Its printing all values with duplicates, can someone please help me how to get Unique values fro…

---

## [Customizing cluster settings for ESClientYamlSuiteTestCase](https://discuss.elastic.co/t/customizing-cluster-settings-for-esclientyamlsuitetestcase/236450)

<div class="topic-metadata">

**Author:** [@rahulkarajgikar](https://discuss.elastic.co/u/rahulkarajgikar)\
**Replies:** 0\
**Last updated:** [June 10, 2020, 7:26am UTC](https://discuss.elastic.co/t/customizing-cluster-settings-for-esclientyamlsuitetestcase/236450 "2020-06-10T07:26:01Z")

</div>

Hi everyone. I'm writing a rest test case for a plugin I've created, using ESClientYamlSuiteTestCase. I understand that this class starts up a cluster for testing. However, I also want to be able to customize the clust…

---

## [org.elasticsearch.transport.ConnectTransportException: \[\]\[172.18.0.2:9300\] connect\_timeout\[30s\]](https://discuss.elastic.co/t/org-elasticsearch-transport-connecttransportexception-172-18-0-2-9300-connect-timeout-30s/236260)

<div class="topic-metadata">

**Author:** [@Vishnu\_Vardhan](https://discuss.elastic.co/u/Vishnu_Vardhan)\
**Replies:** 3\
**Last updated:** [June 10, 2020, 7:18am UTC](https://discuss.elastic.co/t/org-elasticsearch-transport-connecttransportexception-172-18-0-2-9300-connect-timeout-30s/236260 "2020-06-10T07:18:25Z")

</div>

Continuing the discussion from Failed to connect to node \[{}{}{localhost}{127.0.0.1:9300}\], removed from nodes list:

---

## [Help with this query (combine term and range)](https://discuss.elastic.co/t/help-with-this-query-combine-term-and-range/236431)

<div class="topic-metadata">

**Author:** [@justaniceguy](https://discuss.elastic.co/u/justaniceguy)\
**Replies:** 1\
**Last updated:** [June 10, 2020, 6:48am UTC](https://discuss.elastic.co/t/help-with-this-query-combine-term-and-range/236431 "2020-06-10T06:48:55Z")

</div>

When I run this query with range I get results: { "query":{ "range":{ "crawled":{ "lt":1591666432 } }, }, "from":0, "size":1 …

---

## [Elastic 7.7.1 compatibility with FScrawler](https://discuss.elastic.co/t/elastic-7-7-1-compatibility-with-fscrawler/236438)

<div class="topic-metadata">

**Author:** [@Yamini\_Shashank](https://discuss.elastic.co/u/Yamini_Shashank)\
**Replies:** 0\
**Last updated:** [June 10, 2020, 5:49am UTC](https://discuss.elastic.co/t/elastic-7-7-1-compatibility-with-fscrawler/236438 "2020-06-10T05:49:49Z")

</div>

Hi @dadoonet, We have been using ES 7.5.0 successfully with FS Crawler. Now we wish to upgrade to 7.7.1. I could not find the compatibility details of this version with FSCrawler. Can you confirm on this please? Many…

---

## [Elasticsearch 7.6.0 - Security index is unavailable](https://discuss.elastic.co/t/elasticsearch-7-6-0-security-index-is-unavailable/236422)

<div class="topic-metadata">

**Author:** [@phaze-debug](https://discuss.elastic.co/u/phaze-debug)\
**Replies:** 0\
**Last updated:** [June 9, 2020, 10:11pm UTC](https://discuss.elastic.co/t/elasticsearch-7-6-0-security-index-is-unavailable/236422 "2020-06-09T22:11:42Z")

</div>

We are using elastic search 7.6.0 as a package from the DCOS universe (3 master nodes, 6 data nodes, 1 ingest and 1 coordinator node) with xpack enabled (using native realm). We ran into an issue when the DCOS cluster wa…

---

## [How handle ILM and SLM concurrency?](https://discuss.elastic.co/t/how-handle-ilm-and-slm-concurrency/236430)

<div class="topic-metadata">

**Author:** [@johtani](https://discuss.elastic.co/u/johtani)\
**Replies:** 0\
**Last updated:** [June 10, 2020, 12:25am UTC](https://discuss.elastic.co/t/how-handle-ilm-and-slm-concurrency/236430 "2020-06-10T00:25:09Z")

</div>

During taking Snapshot, we cannot close/delete indices. Is there same restriction using ILM and SLM? Or ILM and SLM don't run at the same time.

---

## [Is not support reindex from es6 to es7](https://discuss.elastic.co/t/is-not-support-reindex-from-es6-to-es7/236295)

<div class="topic-metadata">

**Author:** [@innze](https://discuss.elastic.co/u/innze)\
**Replies:** 3\
**Last updated:** [June 9, 2020, 11:23pm UTC](https://discuss.elastic.co/t/is-not-support-reindex-from-es6-to-es7/236295 "2020-06-09T23:23:56Z")

</div>

The following error is occurring when reindexing from remote es to es. Request POST \_reindex { "source": { "remote": { "host": "http://remote\_es\_url:9200" }, "index": "source…

---

## [Lots of byte\[\] in meory](https://discuss.elastic.co/t/lots-of-byte-in-meory/236406)

<div class="topic-metadata">

**Author:** [@Yogesh\_BG](https://discuss.elastic.co/u/Yogesh_BG)\
**Replies:** 0\
**Last updated:** [June 9, 2020, 6:20pm UTC](https://discuss.elastic.co/t/lots-of-byte-in-meory/236406 "2020-06-09T18:20:19Z")

</div>

Hi I am using elasticsearch java client 6.6.0 I do index lot of documents ~10K per second, almost 5MB per second i am using async api as below, i dont do any action.get, i dont want to check the response, its okay if …

---

## [How best to take Elastic master nodes down, make configuration change and then start them up?](https://discuss.elastic.co/t/how-best-to-take-elastic-master-nodes-down-make-configuration-change-and-then-start-them-up/236235)

<div class="topic-metadata">

**Author:** [@data\_smith](https://discuss.elastic.co/u/data_smith)\
**Replies:** 15\
**Last updated:** [June 9, 2020, 6:11pm UTC](https://discuss.elastic.co/t/how-best-to-take-elastic-master-nodes-down-make-configuration-change-and-then-start-them-up/236235 "2020-06-09T18:11:58Z")

</div>

I have to take down all the master nodes at once and then start them all back up again. My scenario is that I'm on Kubernetes and I'm using a specific storage type. I need to change the storage type and you can't just …

---

## [ElasticCloud Standard - Elasticsearch GeoIP proccessor: Inaccurae results](https://discuss.elastic.co/t/elasticcloud-standard-elasticsearch-geoip-proccessor-inaccurae-results/236400)

<div class="topic-metadata">

**Author:** [@elvis.hsu](https://discuss.elastic.co/u/elvis.hsu)\
**Replies:** 0\
**Last updated:** [June 9, 2020, 5:26pm UTC](https://discuss.elastic.co/t/elasticcloud-standard-elasticsearch-geoip-proccessor-inaccurae-results/236400 "2020-06-09T17:26:55Z")

</div>

Hi, I have been using the GeoIp processer for a while on ECS (ElasticCloud Standard) and recently I found out that some results are inaccurate as I have compared with the demo from MaxMind. I just wonder how often do y…

---

## [Match\_bool\_prefix in Java High Level Rest Client](https://discuss.elastic.co/t/match-bool-prefix-in-java-high-level-rest-client/236395)

<div class="topic-metadata">

**Author:** [@Pilpin](https://discuss.elastic.co/u/Pilpin)\
**Replies:** 0\
**Last updated:** [June 9, 2020, 4:42pm UTC](https://discuss.elastic.co/t/match-bool-prefix-in-java-high-level-rest-client/236395 "2020-06-09T16:42:20Z")

</div>

Hello, I'm using elasticsearch and the Java high level rest client in a project and I'd like to be able to make a match\_bool\_prefix query via the rest client but I noticed the static method is missing from the QueryBuil…

---

## [Ports used by Elasticsearch for communication](https://discuss.elastic.co/t/ports-used-by-elasticsearch-for-communication/233683)

<div class="topic-metadata">

**Author:** [@Arnab.g](https://discuss.elastic.co/u/Arnab.g)\
**Replies:** 6\
**Last updated:** [June 9, 2020, 4:24pm UTC](https://discuss.elastic.co/t/ports-used-by-elasticsearch-for-communication/233683 "2020-06-09T16:24:31Z")

</div>

Hello All - I have a completely locked down environment where we need to open ports for each communication between VMs. So while looking for all the ports used by elastisearch , though I know it is documented to be 9300…

---

## [Supporting multiple languages in elasticsearch](https://discuss.elastic.co/t/supporting-multiple-languages-in-elasticsearch/236369)

<div class="topic-metadata">

**Author:** [@thekradev](https://discuss.elastic.co/u/thekradev)\
**Replies:** 1\
**Last updated:** [June 9, 2020, 3:35pm UTC](https://discuss.elastic.co/t/supporting-multiple-languages-in-elasticsearch/236369 "2020-06-09T15:35:19Z")

</div>

I want to know how to return the response based on site language. for example: "name": { "en": "Berlin", "nl": "Berlijn", } The site language is "nl", so the name field value should be return as "Berlijn"…

---

## [Escape pipe \\ Vertical Operator (|) in Ingress Pipeline for grok processor](https://discuss.elastic.co/t/escape-pipe-vertical-operator-in-ingress-pipeline-for-grok-processor/236358)

<div class="topic-metadata">

**Author:** [@Atul\_Gunjal](https://discuss.elastic.co/u/Atul_Gunjal)\
**Replies:** 5\
**Last updated:** [June 9, 2020, 3:20pm UTC](https://discuss.elastic.co/t/escape-pipe-vertical-operator-in-ingress-pipeline-for-grok-processor/236358 "2020-06-09T15:20:01Z")

</div>

I want to process logs separated by pipe '|' operator in an ingress pipeline using grok. How can I ignore this character in the pattern? Log data: PUT /combined/\_doc/1?pipeline=pipeline\_combined\_logs { "service": "…

---

## [How do I connect my MySQL database to Elasticsearch (Cloud)](https://discuss.elastic.co/t/how-do-i-connect-my-mysql-database-to-elasticsearch-cloud/236249)

<div class="topic-metadata">

**Author:** [@Lenny\_Parisi](https://discuss.elastic.co/u/Lenny_Parisi)\
**Replies:** 2\
**Last updated:** [June 9, 2020, 3:07pm UTC](https://discuss.elastic.co/t/how-do-i-connect-my-mysql-database-to-elasticsearch-cloud/236249 "2020-06-09T15:07:39Z")

</div>

I'm new to Elasticsearch and have a very rough understanding of how it works, so I'm not even sure if it's right for me. Does anyone know how to establish a live feed from my MySQL database to Elasticsearch (currently se…

---

## [ES Rest Client - trust all certificates](https://discuss.elastic.co/t/es-rest-client-trust-all-certificates/236080)

<div class="topic-metadata">

**Author:** [@AsfK](https://discuss.elastic.co/u/AsfK)\
**Replies:** 6\
**Last updated:** [June 9, 2020, 3:06pm UTC](https://discuss.elastic.co/t/es-rest-client-trust-all-certificates/236080 "2020-06-09T15:06:30Z")

</div>

Hello! For Dev-Ops testing we want to make a untrusted connection. I found a self-side soulution here, but will be glad to avoid the key part. RestClientBuilder restHttp; // .... restHttp.setHttpClientConfigCallback(h…

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

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