# Elasticsearch

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

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

**Page:** 716

---

## [Text '24/07/2018 11:04' could not be parsed at index 0](https://discuss.elastic.co/t/text-24-07-2018-11-04-could-not-be-parsed-at-index-0/262597)

<div class="topic-metadata">

**Author:** [@yash\_watwani](https://discuss.elastic.co/u/yash_watwani)\
**Replies:** 1\
**Last updated:** [January 30, 2021, 5:31pm UTC](https://discuss.elastic.co/t/text-24-07-2018-11-04-could-not-be-parsed-at-index-0/262597 "2021-01-30T17:31:26Z")

</div>

My row kinda look like this Opened\_Date 25/07/2017 16:01 02/11/2017 13:49 06/11/2017 20:36 09/11/2017 18:46 13/11/2017 13:51 22/11/2017 08:26 22/11/2017 09:16 24/11/2017 09:31 I am trying to run this query SELECT DATE…

---

## [Code location pointer](https://discuss.elastic.co/t/code-location-pointer/262688)

<div class="topic-metadata">

**Author:** [@mbenitez](https://discuss.elastic.co/u/mbenitez)\
**Replies:** 2\
**Last updated:** [January 30, 2021, 2:34pm UTC](https://discuss.elastic.co/t/code-location-pointer/262688 "2021-01-30T14:34:35Z")

</div>

Hello, I was wondering if someone here in the community could help me with some code location pointers. I am working on a project, and as part of the project I am looking at the Elasticsearch source code. I am interest…

---

## [Theoretical IMPORTANT questions about architecture of elasticsearch](https://discuss.elastic.co/t/theoretical-important-questions-about-architecture-of-elasticsearch/262596)

<div class="topic-metadata">

**Author:** [@111433](https://discuss.elastic.co/u/111433)\
**Replies:** 6\
**Last updated:** [January 30, 2021, 9:47am UTC](https://discuss.elastic.co/t/theoretical-important-questions-about-architecture-of-elasticsearch/262596 "2021-01-30T09:47:06Z")

</div>

Hello, we are developing a searching engine with elasticsearch and already have 3 nodes on dedicated servers for each. We almost have read the documentation, but faced to a couple of problems. about our servers: we ha…

---

## [Cat allocation disk.indices higher than disk.used or disk.total](https://discuss.elastic.co/t/cat-allocation-disk-indices-higher-than-disk-used-or-disk-total/262709)

<div class="topic-metadata">

**Author:** [@LJRamsey](https://discuss.elastic.co/u/LJRamsey)\
**Replies:** 0\
**Last updated:** [January 30, 2021, 9:24am UTC](https://discuss.elastic.co/t/cat-allocation-disk-indices-higher-than-disk-used-or-disk-total/262709 "2021-01-30T09:24:01Z")

</div>

Hello, We have a cluster that was upgraded priori this week from version 5.6.16 to version 6.8.13 and upgrade succeeded and everything was running as expected. One day later one of the data node reached disk watermark …

---

## [Problem in deploying an Elasticsearch cluster](https://discuss.elastic.co/t/problem-in-deploying-an-elasticsearch-cluster/262703)

<div class="topic-metadata">

**Author:** [@AayushPatel](https://discuss.elastic.co/u/AayushPatel)\
**Replies:** 1\
**Last updated:** [January 30, 2021, 8:02am UTC](https://discuss.elastic.co/t/problem-in-deploying-an-elasticsearch-cluster/262703 "2021-01-30T08:02:30Z")

</div>

Hi I tried to deploy an ELasticsearch cluster by first installing 3 master nodes (stacks 7.9) everything is fine but when I try to connect the nodes to each other some weird situation occurs. at first all the nodes wo…

---

## [Boundary Search x miles from original Boundary](https://discuss.elastic.co/t/boundary-search-x-miles-from-original-boundary/256239)

<div class="topic-metadata">

**Author:** [@mecham](https://discuss.elastic.co/u/mecham)\
**Replies:** 1\
**Last updated:** [January 30, 2021, 7:15am UTC](https://discuss.elastic.co/t/boundary-search-x-miles-from-original-boundary/256239 "2021-01-30T07:15:38Z")

</div>

I can across this article and found it very useful: I am trying to achieve something a little different and I thought you might be able to advise. On Rightmove.co.uk you can perform a radius search: https://www.righ…

---

## [Return the top k hits from each bucket after aggregation?](https://discuss.elastic.co/t/return-the-top-k-hits-from-each-bucket-after-aggregation/262687)

<div class="topic-metadata">

**Author:** [@sabetai](https://discuss.elastic.co/u/sabetai)\
**Replies:** 2\
**Last updated:** [January 30, 2021, 12:25am UTC](https://discuss.elastic.co/t/return-the-top-k-hits-from-each-bucket-after-aggregation/262687 "2021-01-30T00:25:17Z")

</div>

I'd like the top k hits from each index to be returned, I'm using the following query: GET /index-\*/\_search { "query": { "multi\_match": { "query": "word1 word2", "type": "phrase", "fields": \["fie…

---

## [What is the proper design pattern for plugins that must submit multiple requests to Elasticsearch?](https://discuss.elastic.co/t/what-is-the-proper-design-pattern-for-plugins-that-must-submit-multiple-requests-to-elasticsearch/262190)

<div class="topic-metadata">

**Author:** [@davemoore](https://discuss.elastic.co/u/davemoore)\
**Replies:** 13\
**Last updated:** [January 29, 2021, 8:18pm UTC](https://discuss.elastic.co/t/what-is-the-proper-design-pattern-for-plugins-that-must-submit-multiple-requests-to-elasticsearch/262190 "2021-01-29T20:18:47Z")

</div>

Question for plugin authors What is the proper way to implement a REST handler in a custom ActionPlugin (a.k.a. API extension plugin) that must wait for the response of multiple Elasticsearch requests before returning a…

---

## [Kibana unable to authenticate](https://discuss.elastic.co/t/kibana-unable-to-authenticate/260830)

<div class="topic-metadata">

**Author:** [@Daniel\_J1996](https://discuss.elastic.co/u/Daniel_J1996)\
**Replies:** 9\
**Last updated:** [January 29, 2021, 8:08pm UTC](https://discuss.elastic.co/t/kibana-unable-to-authenticate/260830 "2021-01-29T20:08:29Z")

</div>

Hello, I have been running into an issue with my Kibana dashboard. Currently, it shows "Kibana server is not ready yet". When I use the journalctl -xe command, I see the following error for Kibana: \["warning","plugins"…

---

## [ElasticSearch delete\_by\_query: Trying to create too many scroll contexts](https://discuss.elastic.co/t/elasticsearch-delete-by-query-trying-to-create-too-many-scroll-contexts/262627)

<div class="topic-metadata">

**Author:** [@lankin1](https://discuss.elastic.co/u/lankin1)\
**Replies:** 2\
**Last updated:** [January 29, 2021, 1:14pm UTC](https://discuss.elastic.co/t/elasticsearch-delete-by-query-trying-to-create-too-many-scroll-contexts/262627 "2021-01-29T13:14:14Z")

</div>

Hi, I am trying to fix this error while running delete\_by\_query API on AWS ElasticSearch: Trying to create too many scroll contexts. Must be less than or equal to: \[500\]. This limit can be set by changing the \[search.m…

---

## [Stats endpoint fails after creating an index](https://discuss.elastic.co/t/stats-endpoint-fails-after-creating-an-index/262562)

<div class="topic-metadata">

**Author:** [@tommyzli](https://discuss.elastic.co/u/tommyzli)\
**Replies:** 1\
**Last updated:** [January 29, 2021, 12:58pm UTC](https://discuss.elastic.co/t/stats-endpoint-fails-after-creating-an-index/262562 "2021-01-29T12:58:48Z")

</div>

Hi Elasticsearch version 7.6 I have a cluster with 3 master only nodes, 20 data nodes, and one index with 10 shards and 10 replicas. After I create a new index called profiles\_v1 with 10 shards and 0 replicas, the stat…

---

## [Timeout for snapshot process](https://discuss.elastic.co/t/timeout-for-snapshot-process/262640)

<div class="topic-metadata">

**Author:** [@sreekanth](https://discuss.elastic.co/u/sreekanth)\
**Replies:** 1\
**Last updated:** [January 29, 2021, 12:12pm UTC](https://discuss.elastic.co/t/timeout-for-snapshot-process/262640 "2021-01-29T12:12:47Z")

</div>

Hi, Anyway to set timeout for snapshot process? I am running with "?wait\_for\_completion=true" . Some times it gets stuck for a long time. I know that it should finish by 10min for the data i have. Anyway to set a timeou…

---

## [How to load balance an ES-cluster with 70+nodes and 70+ replica shards?](https://discuss.elastic.co/t/how-to-load-balance-an-es-cluster-with-70-nodes-and-70-replica-shards/262608)

<div class="topic-metadata">

**Author:** [@niidy](https://discuss.elastic.co/u/niidy)\
**Replies:** 1\
**Last updated:** [January 29, 2021, 8:16am UTC](https://discuss.elastic.co/t/how-to-load-balance-an-es-cluster-with-70-nodes-and-70-replica-shards/262608 "2021-01-29T08:16:42Z")

</div>

My es is 70+nodes and there is an index with a pri shard and 70+ replica shards, because there is no new data written, but there are a lot of queries. but now, only some of them are 80+ cpu and 20+ load (my node is 16c …

---

## [New document in one index should update a value in another index](https://discuss.elastic.co/t/new-document-in-one-index-should-update-a-value-in-another-index/262601)

<div class="topic-metadata">

**Author:** [@Parimelazhagan\_Vinay](https://discuss.elastic.co/u/Parimelazhagan_Vinay)\
**Replies:** 1\
**Last updated:** [January 29, 2021, 8:14am UTC](https://discuss.elastic.co/t/new-document-in-one-index-should-update-a-value-in-another-index/262601 "2021-01-29T08:14:30Z")

</div>

Hi All, I am new elasticsearch. Any help on the below use case would be helpful. I have the data which is flowing into one index say index\_raw ELK Dev 1.0 Time1 ELK Dev 2.0 Time2 ELK Stage 1.0 Time3 Now I wanted t…

---

## [Custom authentication plugin for Elastic search(7.10.0)](https://discuss.elastic.co/t/custom-authentication-plugin-for-elastic-search-7-10-0/262315)

<div class="topic-metadata">

**Author:** [@Hargovind](https://discuss.elastic.co/u/Hargovind)\
**Replies:** 5\
**Last updated:** [January 29, 2021, 8:11am UTC](https://discuss.elastic.co/t/custom-authentication-plugin-for-elastic-search-7-10-0/262315 "2021-01-29T08:11:46Z")

</div>

Hi everyone, I need to secure my elasticsearch server with custom authentication. pls help me to create a plugin for custom authentication in elasticsearch. Thanks.

---

## [How to re-generate certificate for nodes elasticsearch to enable xpack](https://discuss.elastic.co/t/how-to-re-generate-certificate-for-nodes-elasticsearch-to-enable-xpack/262554)

<div class="topic-metadata">

**Author:** [@testsemd\_email](https://discuss.elastic.co/u/testsemd_email)\
**Replies:** 2\
**Last updated:** [January 29, 2021, 7:07am UTC](https://discuss.elastic.co/t/how-to-re-generate-certificate-for-nodes-elasticsearch-to-enable-xpack/262554 "2021-01-29T07:07:39Z")

</div>

How to re-generate certificate for nodes elasticsearch after the password is generated for elastic cluster. I re-generated the certificate for nodes, got the error "client did not trust this server's certificate, closi…

---

## [Ingest processor for sending email gives \`access denied ("java.lang.RuntimePermission" "setFactory")\`](https://discuss.elastic.co/t/ingest-processor-for-sending-email-gives-access-denied-java-lang-runtimepermission-setfactory/262594)

<div class="topic-metadata">

**Author:** [@Ripu\_Sudan](https://discuss.elastic.co/u/Ripu_Sudan)\
**Replies:** 4\
**Last updated:** [January 29, 2021, 7:05am UTC](https://discuss.elastic.co/t/ingest-processor-for-sending-email-gives-access-denied-java-lang-runtimepermission-setfactory/262594 "2021-01-29T07:05:06Z")

</div>

I was making an ingest processor that would send an email on a particular condition, i'm using "compile 'javax.mail:javax.mail-api:1.5.3'" while running "gradle check" if gives permisson error. REPRODUCE WITH: ./gradle…

---

## ["Signed fields invalid" for configuring HTTPS transport layer](https://discuss.elastic.co/t/signed-fields-invalid-for-configuring-https-transport-layer/262491)

<div class="topic-metadata">

**Author:** [@gvx3](https://discuss.elastic.co/u/gvx3)\
**Replies:** 2\
**Last updated:** [January 29, 2021, 6:53am UTC](https://discuss.elastic.co/t/signed-fields-invalid-for-configuring-https-transport-layer/262491 "2021-01-29T06:53:01Z")

</div>

Hi all, I know that these kind of questions have been asking a lot, but I'm really stuck and can't help it I'm using Helm to deploy elasticsearch, I use letsencrypt to generate cert, so I have fullchain.pem which is fo…

---

## [Permission to give permission to Indices](https://discuss.elastic.co/t/permission-to-give-permission-to-indices/262253)

<div class="topic-metadata">

**Author:** [@Zerobot](https://discuss.elastic.co/u/Zerobot)\
**Replies:** 4\
**Last updated:** [January 29, 2021, 5:57am UTC](https://discuss.elastic.co/t/permission-to-give-permission-to-indices/262253 "2021-01-29T05:57:07Z")

</div>

Hi! I was wondering - is it possible to give someone permission to read some indices AND also a permission to give read-only permissions to other users? My point is: I have 5 indices and 5 people, each person has permi…

---

## [Elasticsearch 7.10 | XPACK enabled | Does not start after machine reboot](https://discuss.elastic.co/t/elasticsearch-7-10-xpack-enabled-does-not-start-after-machine-reboot/262508)

<div class="topic-metadata">

**Author:** [@dp119](https://discuss.elastic.co/u/dp119)\
**Replies:** 1\
**Last updated:** [January 29, 2021, 5:53am UTC](https://discuss.elastic.co/t/elasticsearch-7-10-xpack-enabled-does-not-start-after-machine-reboot/262508 "2021-01-29T05:53:15Z")

</div>

Hello, I enabled X-Pack with this command elasticsearch-setup-passwords auto I had to stop ES and restart the host machine. I'm trying to start Elasticsearch after the machine boot. ES doesn't start and has the below…

---

## [SSLError: ConnectionErro SSL: WRONG\_VERSION\_NUMBER](https://discuss.elastic.co/t/sslerror-connectionerro-ssl-wrong-version-number/262566)

<div class="topic-metadata">

**Author:** [@pemfir](https://discuss.elastic.co/u/pemfir)\
**Replies:** 3\
**Last updated:** [January 29, 2021, 5:49am UTC](https://discuss.elastic.co/t/sslerror-connectionerro-ssl-wrong-version-number/262566 "2021-01-29T05:49:15Z")

</div>

After enabling Xpack and setting SSL/TSL for a single node and username and password, i am trying to index a single data point from elasticsearch import Elasticsearch from datetime import datetime es = Elasticsearch( …

---

## [Machine learning, No node found to open the job because job memory requirements are stale](https://discuss.elastic.co/t/machine-learning-no-node-found-to-open-the-job-because-job-memory-requirements-are-stale/262582)

<div class="topic-metadata">

**Author:** [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Replies:** 0\
**Last updated:** [January 29, 2021, 2:33am UTC](https://discuss.elastic.co/t/machine-learning-no-node-found-to-open-the-job-because-job-memory-requirements-are-stale/262582 "2021-01-29T02:33:16Z")

</div>

Hi, Im getting this warning from ML jobs after restart the nodes on docker I run this commands in devs tools before restart the nodes PUT \_cluster/settings { "persistent": { "cluster.routing.allocation.enable":…

---

## [Elasticsearch Upgrade from 2.4 to 6.8](https://discuss.elastic.co/t/elasticsearch-upgrade-from-2-4-to-6-8/262580)

<div class="topic-metadata">

**Author:** [@mario12](https://discuss.elastic.co/u/mario12)\
**Replies:** 6\
**Last updated:** [January 29, 2021, 1:07am UTC](https://discuss.elastic.co/t/elasticsearch-upgrade-from-2-4-to-6-8/262580 "2021-01-29T01:07:37Z")

</div>

We are planning to upgrade elasticsearch from version 2.4 to 6.8. The current version of elasticsearch was an upgrade from 1.7 (side by side upgrade. Indices were restored to the new cluster). Since the indices are creat…

---

## [Elasticsearch query returning score of 1.0 for all documents?](https://discuss.elastic.co/t/elasticsearch-query-returning-score-of-1-0-for-all-documents/262567)

<div class="topic-metadata">

**Author:** [@sabetai](https://discuss.elastic.co/u/sabetai)\
**Replies:** 3\
**Last updated:** [January 29, 2021, 12:32am UTC](https://discuss.elastic.co/t/elasticsearch-query-returning-score-of-1-0-for-all-documents/262567 "2021-01-29T00:32:54Z")

</div>

For the following query GET /test/\_search { "query": "fire" } I get hits with no match all showing a score of 1.0. Any variations of queries I try gives the same results. What's going on here? Results: { "took" …

---

## [Elastic security throwing "Authentication to realm default\_native failed - Password authentication failed for \<user\>"](https://discuss.elastic.co/t/elastic-security-throwing-authentication-to-realm-default-native-failed-password-authentication-failed-for-user/262455)

<div class="topic-metadata">

**Author:** [@Shilpa\_S\_Shetty](https://discuss.elastic.co/u/Shilpa_S_Shetty)\
**Replies:** 1\
**Last updated:** [January 28, 2021, 11:01pm UTC](https://discuss.elastic.co/t/elastic-security-throwing-authentication-to-realm-default-native-failed-password-authentication-failed-for-user/262455 "2021-01-28T23:01:45Z")

</div>

Hi Team, I have es cluster with the below version |version|| |---|---| |number|"7.8.1"| |build\_flavor|"default"| |build\_type|"rpm"| |build\_hash|"b5ca9c58fb664ca8bf9e4057fc229b3396bf3a89"| |build\_date…

---

## [Multiple nodes in a single Ubuntu host with Debian package based install](https://discuss.elastic.co/t/multiple-nodes-in-a-single-ubuntu-host-with-debian-package-based-install/262396)

<div class="topic-metadata">

**Author:** [@Citeyes](https://discuss.elastic.co/u/Citeyes)\
**Replies:** 5\
**Last updated:** [January 28, 2021, 10:16pm UTC](https://discuss.elastic.co/t/multiple-nodes-in-a-single-ubuntu-host-with-debian-package-based-install/262396 "2021-01-28T22:16:57Z")

</div>

Hello community, I have installed elastic 7 and Kibana in a ubuntu host for dev purpose. I need to run multiple nodes under this unique host. However I installed elastic using apt install (Debian package) method ending …

---

## [Error mapping with an object](https://discuss.elastic.co/t/error-mapping-with-an-object/262390)

<div class="topic-metadata">

**Author:** [@Katherinne\_Quintero](https://discuss.elastic.co/u/Katherinne_Quintero)\
**Replies:** 2\
**Last updated:** [January 28, 2021, 10:00pm UTC](https://discuss.elastic.co/t/error-mapping-with-an-object/262390 "2021-01-28T22:00:41Z")

</div>

Hello, I am trying to save a document with the following structure but it gives me an error, I understand that it is an error in the map since validationForm.content.value is for some cases as an object and in other case…

---

## [How to keep 2 clusters in sync](https://discuss.elastic.co/t/how-to-keep-2-clusters-in-sync/262084)

<div class="topic-metadata">

**Author:** [@mouli\_v](https://discuss.elastic.co/u/mouli_v)\
**Replies:** 5\
**Last updated:** [January 28, 2021, 8:38pm UTC](https://discuss.elastic.co/t/how-to-keep-2-clusters-in-sync/262084 "2021-01-28T20:38:06Z")

</div>

We are in process of creating an ES cluster in GCP and our old cluster in AWS. I have used es reindex api https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html to copy data from old aws clust…

---

## [How to extract string from JSON string using painless script](https://discuss.elastic.co/t/how-to-extract-string-from-json-string-using-painless-script/262513)

<div class="topic-metadata">

**Author:** [@Aniket\_Salvi](https://discuss.elastic.co/u/Aniket_Salvi)\
**Replies:** 0\
**Last updated:** [January 28, 2021, 2:20pm UTC](https://discuss.elastic.co/t/how-to-extract-string-from-json-string-using-painless-script/262513 "2021-01-28T14:20:35Z")

</div>

Hi team, script: if(doc\['charstream.keyword'\].size() == 0){ return "null" } else{ String\[\] parts = /\\|/.split(doc\['charstream.keyword'\].value); return parts\[4\]; } Message string: "charstream": "Conte…

---

## [Custom naming the new indices from a Rollover](https://discuss.elastic.co/t/custom-naming-the-new-indices-from-a-rollover/262492)

<div class="topic-metadata">

**Author:** [@Eilon\_Reif](https://discuss.elastic.co/u/Eilon_Reif)\
**Replies:** 0\
**Last updated:** [January 28, 2021, 11:43am UTC](https://discuss.elastic.co/t/custom-naming-the-new-indices-from-a-rollover/262492 "2021-01-28T11:43:26Z")

</div>

Hi, Is there a way to name the new indices by date? something like: my-index-(now/d), instead of just an increasing number. (I'm indexing data by using the API directly, with out any ingestion server) Thanks SOLVED …

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

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