# Elasticsearch

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

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

**Page:** 691

---

## [Kibana in Docker does not show snapshot result](https://discuss.elastic.co/t/kibana-in-docker-does-not-show-snapshot-result/265814)

<div class="topic-metadata">

**Author:** [@thesn](https://discuss.elastic.co/u/thesn)\
**Replies:** 0\
**Last updated:** [March 1, 2021, 2:22pm UTC](https://discuss.elastic.co/t/kibana-in-docker-does-not-show-snapshot-result/265814 "2021-03-01T14:22:01Z")

</div>

Hi, I have Elasticsearch 7.11.1 and Kibana 7.11.1 installed using docker with volume bindings below. elastic7111: image: docker.elastic.co/elasticsearch/elasticsearch:7.11.1 container\_name: elastic7111 …

---

## ["Authentication using apikey failed - invalid ApiKey value"](https://discuss.elastic.co/t/authentication-using-apikey-failed-invalid-apikey-value/266083)

<div class="topic-metadata">

**Author:** [@freddux](https://discuss.elastic.co/u/freddux)\
**Replies:** 0\
**Last updated:** [March 3, 2021, 10:14am UTC](https://discuss.elastic.co/t/authentication-using-apikey-failed-invalid-apikey-value/266083 "2021-03-03T10:14:51Z")

</div>

Hi guys! New user here, I'm currently finding a tonne of this in my elasticsearch\_server.json log, and I can't find out where it is: {"type": "server", "timestamp": "2021-03-03T11:10:08,518+01:00", "level": "WARN", "co…

---

## [Douments structure](https://discuss.elastic.co/t/douments-structure/265938)

<div class="topic-metadata">

**Author:** [@Alessio\_Creo](https://discuss.elastic.co/u/Alessio_Creo)\
**Replies:** 3\
**Last updated:** [March 3, 2021, 9:48am UTC](https://discuss.elastic.co/t/douments-structure/265938 "2021-03-03T09:48:22Z")

</div>

Hi there, we're planning to ingest large xml payloads in our ES cluster and we'll have to do full text query on it. This payload can be split in more documents if nedeed but we wonder if a full text query is more perf…

---

## [Error: Resource is under maintenance / recovery](https://discuss.elastic.co/t/error-resource-is-under-maintenance-recovery/266056)

<div class="topic-metadata">

**Author:** [@Arjun\_S](https://discuss.elastic.co/u/Arjun_S)\
**Replies:** 1\
**Last updated:** [March 3, 2021, 7:32am UTC](https://discuss.elastic.co/t/error-resource-is-under-maintenance-recovery/266056 "2021-03-03T07:32:25Z")

</div>

We have hosted the ES in the ES cloud, and we got this error multiple times while doing a write operation request(POST) to one of our indices. Elasticsearch\\Common\\Exceptions\\ServerErrorResponseException: {"ok":false,"m…

---

## [One of the master pod is going to crashloop backoff](https://discuss.elastic.co/t/one-of-the-master-pod-is-going-to-crashloop-backoff/265977)

<div class="topic-metadata">

**Author:** [@knagasri](https://discuss.elastic.co/u/knagasri)\
**Replies:** 3\
**Last updated:** [March 3, 2021, 6:08am UTC](https://discuss.elastic.co/t/one-of-the-master-pod-is-going-to-crashloop-backoff/265977 "2021-03-03T06:08:35Z")

</div>

We have deployed Elasticsearch cluster with 7.4.0 and operator version 1.1.0 in GKE .One of the master pod is going to crashloop backoff without doing any changes. I can see below error when I checked the logs "org.elas…

---

## [Elasticdump doesn't work on https self signed certificate links](https://discuss.elastic.co/t/elasticdump-doesnt-work-on-https-self-signed-certificate-links/266049)

<div class="topic-metadata">

**Author:** [@Sandeep\_Raju](https://discuss.elastic.co/u/Sandeep_Raju)\
**Replies:** 1\
**Last updated:** [March 3, 2021, 6:06am UTC](https://discuss.elastic.co/t/elasticdump-doesnt-work-on-https-self-signed-certificate-links/266049 "2021-03-03T06:06:34Z")

</div>

Hi all, I'm trying to import an index data using elasticdump tool from an elasticsearch server which has self signed certificates. NODE\_TLS\_REJECT\_UNAUTHORIZED=0 elasticdump \\ --input=https://elastic:\*\*\*\*\*\*\*\*\*\*\*\*@mysec…

---

## [RestHighLevelClient get api hangs forever](https://discuss.elastic.co/t/resthighlevelclient-get-api-hangs-forever/265756)

<div class="topic-metadata">

**Author:** [@pavanpatel20](https://discuss.elastic.co/u/pavanpatel20)\
**Replies:** 2\
**Last updated:** [March 3, 2021, 5:36am UTC](https://discuss.elastic.co/t/resthighlevelclient-get-api-hangs-forever/265756 "2021-03-03T05:36:14Z")

</div>

I am using elasticsearch-rest-client 7.6.2 in my project and we saw that in one of the get call the get hangs forever and never returns. We got the thread dump and see that the thread is blocked on org.apache.http.concu…

---

## [Is it possible to write the index under restoring?](https://discuss.elastic.co/t/is-it-possible-to-write-the-index-under-restoring/266035)

<div class="topic-metadata">

**Author:** [@math\_u](https://discuss.elastic.co/u/math_u)\
**Replies:** 2\
**Last updated:** [March 3, 2021, 1:31am UTC](https://discuss.elastic.co/t/is-it-possible-to-write-the-index-under-restoring/266035 "2021-03-03T01:31:27Z")

</div>

I'm now using ES version 7.10.0. I suppose the indices under restoring are forbidden to write then, how is the documents of the indices which is occured while restoring dealt with?

---

## [Updating documents - immutability](https://discuss.elastic.co/t/updating-documents-immutability/266041)

<div class="topic-metadata">

**Author:** [@abhishekc92](https://discuss.elastic.co/u/abhishekc92)\
**Replies:** 4\
**Last updated:** [March 3, 2021, 2:33am UTC](https://discuss.elastic.co/t/updating-documents-immutability/266041 "2021-03-03T02:33:45Z")

</div>

Hi, I have a use case where a document can be updated or nested entries added to it over time. I get that documents are technically immutable and a new version is created, with the older one being soft deleted. Will this…

---

## [New cluster - every host an eligible master?](https://discuss.elastic.co/t/new-cluster-every-host-an-eligible-master/266040)

<div class="topic-metadata">

**Author:** [@ethrbunny](https://discuss.elastic.co/u/ethrbunny)\
**Replies:** 1\
**Last updated:** [March 3, 2021, 2:24am UTC](https://discuss.elastic.co/t/new-cluster-every-host-an-eligible-master/266040 "2021-03-03T02:24:01Z")

</div>

I setting up a new 5 host 7.x cluster to deal with audit and logging and such. Data should come to roughly 10T. How terrible an idea would it be to make every host an eligible master node (and data and ingest)? I can al…

---

## [Return JSON array of objects via webhook and script transform](https://discuss.elastic.co/t/return-json-array-of-objects-via-webhook-and-script-transform/266030)

<div class="topic-metadata">

**Author:** [@gabriel.ratcliff](https://discuss.elastic.co/u/gabriel.ratcliff)\
**Replies:** 0\
**Last updated:** [March 2, 2021, 11:18pm UTC](https://discuss.elastic.co/t/return-json-array-of-objects-via-webhook-and-script-transform/266030 "2021-03-02T23:18:05Z")

</div>

Hi there, I'm attempting to POST to an external webhook that takes an array of objects as a request body. So far, all I've been able to output is a JSON object with a \_value key that contains the array I'm looking for. …

---

## [About Snapshot Compatibility](https://discuss.elastic.co/t/about-snapshot-compatibility/266027)

<div class="topic-metadata">

**Author:** [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Replies:** 1\
**Last updated:** [March 2, 2021, 10:55pm UTC](https://discuss.elastic.co/t/about-snapshot-compatibility/266027 "2021-03-02T22:55:44Z")

</div>

I have a new 7.11 cluster which has access to a snapshot repo used by another 7.x cluster. How can I kick off a restore of one of the old snapshots into the new cluster? Thx D

---

## [Exporting Elastic cloud cluster performance stats](https://discuss.elastic.co/t/exporting-elastic-cloud-cluster-performance-stats/265707)

<div class="topic-metadata">

**Author:** [@kielni](https://discuss.elastic.co/u/kielni)\
**Replies:** 5\
**Last updated:** [March 2, 2021, 10:17pm UTC](https://discuss.elastic.co/t/exporting-elastic-cloud-cluster-performance-stats/265707 "2021-03-02T22:17:01Z")

</div>

I would like to make use of the the metrics available from Cloud / Deployments / \[deployment\] / Performance. The metrics are interesting, but the charts are difficult to use. I use Datadog for monitoring, and want to be …

---

## [What to do about shards from mixed versions](https://discuss.elastic.co/t/what-to-do-about-shards-from-mixed-versions/266018)

<div class="topic-metadata">

**Author:** [@modim1425](https://discuss.elastic.co/u/modim1425)\
**Replies:** 1\
**Last updated:** [March 2, 2021, 9:55pm UTC](https://discuss.elastic.co/t/what-to-do-about-shards-from-mixed-versions/266018 "2021-03-02T21:55:29Z")

</div>

Hello all! I am pretty new to elasticsearch but was tasked with replacing our cluster’s data nodes that were about to hit disc capacity. I started with one and thought I had done due diligence in researching the safe w…

---

## [Elasticsearch Transforms](https://discuss.elastic.co/t/elasticsearch-transforms/265874)

<div class="topic-metadata">

**Author:** [@karanp](https://discuss.elastic.co/u/karanp)\
**Replies:** 3\
**Last updated:** [March 2, 2021, 9:00pm UTC](https://discuss.elastic.co/t/elasticsearch-transforms/265874 "2021-03-02T21:00:06Z")

</div>

Hello, So recently I started using es pivot transform. At every stage I am getting some incomplete data and using scripted metric I am completing it and sending it to the new index. Currently what this does is that every…

---

## [High heap usage, old GC does not run consistently](https://discuss.elastic.co/t/high-heap-usage-old-gc-does-not-run-consistently/265253)

<div class="topic-metadata">

**Author:** [@jplaisted](https://discuss.elastic.co/u/jplaisted)\
**Replies:** 5\
**Last updated:** [March 2, 2021, 8:40pm UTC](https://discuss.elastic.co/t/high-heap-usage-old-gc-does-not-run-consistently/265253 "2021-03-02T20:40:58Z")

</div>

cross post from https://github.com/elastic/elasticsearch/issues/62278#issuecomment-783680804 per request. Elasticsearch version (bin/elasticsearch --version): 7.10.0 Plugins installed: JVM version (java -version): op…

---

## [Date Histogram calendar vs fixed intervals](https://discuss.elastic.co/t/date-histogram-calendar-vs-fixed-intervals/266010)

<div class="topic-metadata">

**Author:** [@spaffrath](https://discuss.elastic.co/u/spaffrath)\
**Replies:** 0\
**Last updated:** [March 2, 2021, 8:05pm UTC](https://discuss.elastic.co/t/date-histogram-calendar-vs-fixed-intervals/266010 "2021-03-02T20:05:36Z")

</div>

Hello, I am looking at the Date Histogram documentation and trying to understand the details of Calendar vs Fixed intervals. For periods of days or greater I get it, and the results I see from periods that span DST time …

---

## [Elasticsearch will not start after installing 7.9.2](https://discuss.elastic.co/t/elasticsearch-will-not-start-after-installing-7-9-2/264877)

<div class="topic-metadata">

**Author:** [@mike\_wills](https://discuss.elastic.co/u/mike_wills)\
**Replies:** 29\
**Last updated:** [March 2, 2021, 7:35pm UTC](https://discuss.elastic.co/t/elasticsearch-will-not-start-after-installing-7-9-2/264877 "2021-03-02T19:35:04Z")

</div>

Elasticsearch will not start after we installed 7.9.2. When started it enters a failed state. I ran journalctl -xe it points to Unregistered Authentication Agent. But when I check the logs I see the following: at …

---

## [Elasticsearch 7.11.1 Query cache empty](https://discuss.elastic.co/t/elasticsearch-7-11-1-query-cache-empty/265919)

<div class="topic-metadata">

**Author:** [@AllenBarra](https://discuss.elastic.co/u/AllenBarra)\
**Replies:** 1\
**Last updated:** [March 2, 2021, 7:34pm UTC](https://discuss.elastic.co/t/elasticsearch-7-11-1-query-cache-empty/265919 "2021-03-02T19:34:26Z")

</div>

GET test/\_search { "query": { "query\_string": { "query": "re:{ 0 TO \* }", "default\_operator": "AND", "analyze\_wildcard": false, "allow\_leading\_wildcard": false } }, "from": 0, "size": 10 } "indices" : { "qu…

---

## [High CPU and Memory Usage](https://discuss.elastic.co/t/high-cpu-and-memory-usage/265898)

<div class="topic-metadata">

**Author:** [@duck](https://discuss.elastic.co/u/duck)\
**Replies:** 1\
**Last updated:** [March 2, 2021, 7:10pm UTC](https://discuss.elastic.co/t/high-cpu-and-memory-usage/265898 "2021-03-02T19:10:25Z")

</div>

Hi, I've setup Elasticsearch and Kibana on Docker. For testing purpose, I've used "eCommerce Dashboard" example from Kibana(which has one index and almost 5,000 documents.). My Ubuntu server shows me Elasticsearch uses …

---

## [Unexpected json rejection](https://discuss.elastic.co/t/unexpected-json-rejection/265990)

<div class="topic-metadata">

**Author:** [@iakhmetzyanov](https://discuss.elastic.co/u/iakhmetzyanov)\
**Replies:** 4\
**Last updated:** [March 2, 2021, 5:50pm UTC](https://discuss.elastic.co/t/unexpected-json-rejection/265990 "2021-03-02T17:50:03Z")

</div>

Hello! Please help me to find out is it a bug or I can fix some configs to solve errors. I have ELK 7.9.2 installation. I'm sending logs from python app to Logstash to store them in Elastc and visualaize them with Kiba…

---

## [Log4j2 how to log tags](https://discuss.elastic.co/t/log4j2-how-to-log-tags/265987)

<div class="topic-metadata">

**Author:** [@pippobaudo](https://discuss.elastic.co/u/pippobaudo)\
**Replies:** 0\
**Last updated:** [March 2, 2021, 4:45pm UTC](https://discuss.elastic.co/t/log4j2-how-to-log-tags/265987 "2021-03-02T16:45:55Z")

</div>

Hi, I'm trying to log the elastic field "tags" in a java app. Im using the java library log4j2 and I used the following code: List\<String\> tag\_example = new ArrayList(); tag\_example.add("local"); tag\_examp…

---

## [Upgrade path from v 6.8.14 to current 7.11.x](https://discuss.elastic.co/t/upgrade-path-from-v-6-8-14-to-current-7-11-x/265979)

<div class="topic-metadata">

**Author:** [@acaldwell](https://discuss.elastic.co/u/acaldwell)\
**Replies:** 0\
**Last updated:** [March 2, 2021, 3:58pm UTC](https://discuss.elastic.co/t/upgrade-path-from-v-6-8-14-to-current-7-11-x/265979 "2021-03-02T15:58:43Z")

</div>

Hello, My organization is currently running the elastic stack v6.8.14 and will be upgrading to current 7.11.x in the near future. We are running this on kubernetes and have two clusters - prod and nonprod. Our nonprod…

---

## [Index.routing.allocation.require filter for \_name](https://discuss.elastic.co/t/index-routing-allocation-require-filter-for-name/265967)

<div class="topic-metadata">

**Author:** [@joemorris](https://discuss.elastic.co/u/joemorris)\
**Replies:** 6\
**Last updated:** [March 2, 2021, 3:29pm UTC](https://discuss.elastic.co/t/index-routing-allocation-require-filter-for-name/265967 "2021-03-02T15:29:09Z")

</div>

New to the inner workings of ES and stumbled on an error when testing a change in our staging environment. Before the change we had 3 master nodes (not in data mode) and 2 data nodes. We're now expanding the data mode to…

---

## [Getting Started: Contributing to Elasticsearch](https://discuss.elastic.co/t/getting-started-contributing-to-elasticsearch/265717)

<div class="topic-metadata">

**Author:** [@madumalt](https://discuss.elastic.co/u/madumalt)\
**Replies:** 2\
**Last updated:** [March 2, 2021, 3:12pm UTC](https://discuss.elastic.co/t/getting-started-contributing-to-elasticsearch/265717 "2021-03-02T15:12:55Z")

</div>

Hi All, I've been using ELK stack for sometime now and wanted to start contributing to the elasticsearch code base. I've setup the development environment and trying to understand the elasticsearch code base. However, …

---

## [Synchronization of Index among different ES-Clusters](https://discuss.elastic.co/t/synchronization-of-index-among-different-es-clusters/265774)

<div class="topic-metadata">

**Author:** [@jimchk](https://discuss.elastic.co/u/jimchk)\
**Replies:** 3\
**Last updated:** [March 2, 2021, 3:11pm UTC](https://discuss.elastic.co/t/synchronization-of-index-among-different-es-clusters/265774 "2021-03-02T15:11:14Z")

</div>

Hello, I would like to know about the best practice for synchronizing indexed data of an elastic search index to another index located in a different cluster. Currently, I have an index for reporting, which is my prima…

---

## [How to add the document id as currentdatetime in transform](https://discuss.elastic.co/t/how-to-add-the-document-id-as-currentdatetime-in-transform/264620)

<div class="topic-metadata">

**Author:** [@anjilinga](https://discuss.elastic.co/u/anjilinga)\
**Replies:** 8\
**Last updated:** [March 2, 2021, 2:50pm UTC](https://discuss.elastic.co/t/how-to-add-the-document-id-as-currentdatetime-in-transform/264620 "2021-03-02T14:50:31Z")

</div>

the transforma is running on every 5 sec, and the document is overwritng in the group by combination. Can you please suggest to create the record as separate one for each 5 sec. is it possible to add \_id with current d…

---

## [ES Continuous Transforms Checkpoint not updating](https://discuss.elastic.co/t/es-continuous-transforms-checkpoint-not-updating/265421)

<div class="topic-metadata">

**Author:** [@sphinx](https://discuss.elastic.co/u/sphinx)\
**Replies:** 1\
**Last updated:** [March 2, 2021, 2:42pm UTC](https://discuss.elastic.co/t/es-continuous-transforms-checkpoint-not-updating/265421 "2021-03-02T14:42:34Z")

</div>

Hi, this is pertaining to ES 7.10.2 with X-Pack. I am trying out transforms because we have a need to have a aggregate table of entities to be queried by downstream applications. we have a set of indices that the tran…

---

## [Pink spaces in Elasticsearch field names](https://discuss.elastic.co/t/pink-spaces-in-elasticsearch-field-names/265762)

<div class="topic-metadata">

**Author:** [@awazanak](https://discuss.elastic.co/u/awazanak)\
**Replies:** 4\
**Last updated:** [March 2, 2021, 1:22pm UTC](https://discuss.elastic.co/t/pink-spaces-in-elasticsearch-field-names/265762 "2021-03-02T13:22:39Z")

</div>

Set-up Elasticsearch v7.10.0 Python 3.7+ Python script runs once each month to create a monthly index using the bulk insert function in the elasticsearch module. The script uses strings to define the field name during …

---

## [Elasticsearch server crashing](https://discuss.elastic.co/t/elasticsearch-server-crashing/265881)

<div class="topic-metadata">

**Author:** [@JPross](https://discuss.elastic.co/u/JPross)\
**Replies:** 5\
**Last updated:** [March 2, 2021, 1:01pm UTC](https://discuss.elastic.co/t/elasticsearch-server-crashing/265881 "2021-03-02T13:01:27Z")

</div>

Hello, We have two Elasticsearch server which are configured as the Master-slave, one server keeps getting crash.We have recently upgraded the Elasticsearch server 5.1 to 7.1.1 on our client, It is giving the following …

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

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