# Elasticsearch

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

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

**Page:** 900

---

## [Overriding an installed ActionPlugin that implements getRestHandlerWrapper()](https://discuss.elastic.co/t/overriding-an-installed-actionplugin-that-implements-getresthandlerwrapper/235750)

<div class="topic-metadata">

**Author:** [@rahulkarajgikar](https://discuss.elastic.co/u/rahulkarajgikar)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 12:31pm UTC](https://discuss.elastic.co/t/overriding-an-installed-actionplugin-that-implements-getresthandlerwrapper/235750 "2020-06-04T12:31:58Z")

</div>

Hi everyone, So I've created an Action Plugin that intercepts RestRequests and performs some action for specific endpoints; I used the getRestHandlerWrapper() function to do this. The issue is that I already have anoth…

---

## [Unable to find elasticsearch-setup-password file](https://discuss.elastic.co/t/unable-to-find-elasticsearch-setup-password-file/235746)

<div class="topic-metadata">

**Author:** [@NileshG](https://discuss.elastic.co/u/NileshG)\
**Replies:** 1\
**Last updated:** [June 4, 2020, 12:30pm UTC](https://discuss.elastic.co/t/unable-to-find-elasticsearch-setup-password-file/235746 "2020-06-04T12:30:08Z")

</div>

Hi, I have installed x-pack plugins for elasticsearch and kibana. Now as per documentation, I am trying to setup the passwords for standard users e.g. elastic, kibana. However I don't see that command (setup-passwords) …

---

## ["not whitelisted in reindex.remote.whitelist" Revived](https://discuss.elastic.co/t/not-whitelisted-in-reindex-remote-whitelist-revived/235630)

<div class="topic-metadata">

**Author:** [@davehatma](https://discuss.elastic.co/u/davehatma)\
**Replies:** 0\
**Last updated:** [June 3, 2020, 8:05pm UTC](https://discuss.elastic.co/t/not-whitelisted-in-reindex-remote-whitelist-revived/235630 "2020-06-03T20:05:17Z")

</div>

Attempting to reindex from a 6.4 to 7.6 version using the \_reindex API. We believe we have set everything up correctly, albeit this setup seems to be and should be very simple. However, we cannot get the POST to the \_r…

---

## [Query indexes from react app](https://discuss.elastic.co/t/query-indexes-from-react-app/235747)

<div class="topic-metadata">

**Author:** [@raghav\_yadav](https://discuss.elastic.co/u/raghav_yadav)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 12:15pm UTC](https://discuss.elastic.co/t/query-indexes-from-react-app/235747 "2020-06-04T12:15:56Z")

</div>

I am trying to query an index from my react application using axios, but I am unable to get the API endpoint link which I should be querying. const query = { "query": { "match\_all": {} …

---

## [Open Distro for Elasticsearch - How to add permissions?](https://discuss.elastic.co/t/open-distro-for-elasticsearch-how-to-add-permissions/235477)

<div class="topic-metadata">

**Author:** [@ion\_popa](https://discuss.elastic.co/u/ion_popa)\
**Replies:** 4\
**Last updated:** [June 4, 2020, 11:49am UTC](https://discuss.elastic.co/t/open-distro-for-elasticsearch-how-to-add-permissions/235477 "2020-06-04T11:49:56Z")

</div>

Hello, I'm referring to this article below to add the following permissions to a role: cluster:admin/script/get cluster:admin/script/put Do you know how I can do that, as in which curl command can I execute ? I look…

---

## [Use doc field value in nested aggregation](https://discuss.elastic.co/t/use-doc-field-value-in-nested-aggregation/235745)

<div class="topic-metadata">

**Author:** [@Quang\_D\_Tr\_n](https://discuss.elastic.co/u/Quang_D_Tr_n)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 11:34am UTC](https://discuss.elastic.co/t/use-doc-field-value-in-nested-aggregation/235745 "2020-06-04T11:34:31Z")

</div>

My index has the following partly mapping: "properties" : { "price" : { "type" : "double" }, "services" : { "type" : "nested", "properties"…

---

## [Issue with ignore\_malformed + string keyword type](https://discuss.elastic.co/t/issue-with-ignore-malformed-string-keyword-type/235736)

<div class="topic-metadata">

**Author:** [@Xavier\_Romero](https://discuss.elastic.co/u/Xavier_Romero)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 10:53am UTC](https://discuss.elastic.co/t/issue-with-ignore-malformed-string-keyword-type/235736 "2020-06-04T10:53:18Z")

</div>

Hello, I have some data with an object named "data". I need to perform aggregations by fields inside the "data" object, so I need the keyword type for all strings. At the same time, I need to set the ignore\_malformed to…

---

## [How to change snapshot base path without modifying the repository?](https://discuss.elastic.co/t/how-to-change-snapshot-base-path-without-modifying-the-repository/235706)

<div class="topic-metadata">

**Author:** [@Aurel\_Drejta](https://discuss.elastic.co/u/Aurel_Drejta)\
**Replies:** 2\
**Last updated:** [June 4, 2020, 10:46am UTC](https://discuss.elastic.co/t/how-to-change-snapshot-base-path-without-modifying-the-repository/235706 "2020-06-04T10:46:02Z")

</div>

Hi everyone, I want to make snapshots of my cluster to be stored in a different base path or different folder without changing the base path of the repository that I'm making the snapshot. I use the azure repository pl…

---

## [Want to query combine bool and regexp](https://discuss.elastic.co/t/want-to-query-combine-bool-and-regexp/235507)

<div class="topic-metadata">

**Author:** [@hanase](https://discuss.elastic.co/u/hanase)\
**Replies:** 5\
**Last updated:** [June 4, 2020, 9:19am UTC](https://discuss.elastic.co/t/want-to-query-combine-bool-and-regexp/235507 "2020-06-04T09:19:41Z")

</div>

My DSL is { "size": 10, "query":{ "bool": { "should": \[ {"match\_phrase\_prefix": {"status" : "3"} }, {"match\_phrase\_prefix": {"status" : "4"} } \] } }, "aggs": { "host": {…

---

## [Kibana server is not ready yet suddenly](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet-suddenly/235654)

<div class="topic-metadata">

**Author:** [@Charles\_Yuliansen](https://discuss.elastic.co/u/Charles_Yuliansen)\
**Replies:** 2\
**Last updated:** [June 4, 2020, 9:15am UTC](https://discuss.elastic.co/t/kibana-server-is-not-ready-yet-suddenly/235654 "2020-06-04T09:15:06Z")

</div>

everything was fine until suddenly it appears "Kibana server is not ready yet". i have 1 master node (master), and 1 data node(node-1). It was working fine days until i realize. master:9200 \[root@localhost kibana\]# cur…

---

## [Python Elasticsearch create index mapping](https://discuss.elastic.co/t/python-elasticsearch-create-index-mapping/235709)

<div class="topic-metadata">

**Author:** [@Vignesh\_Sureshbabu\_K](https://discuss.elastic.co/u/Vignesh_Sureshbabu_K)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 8:54am UTC](https://discuss.elastic.co/t/python-elasticsearch-create-index-mapping/235709 "2020-06-04T08:54:48Z")

</div>

I am trying to create a ES index with custom mapping with elasticsearch python to increase the size of text in each document: mapping = {"mapping":{ "properties":{ "Apple":{"type":"text","ignore\_…

---

## [New version of elk installed: .keyword option is a pain!](https://discuss.elastic.co/t/new-version-of-elk-installed-keyword-option-is-a-pain/235692)

<div class="topic-metadata">

**Author:** [@Kwiskas](https://discuss.elastic.co/u/Kwiskas)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 7:45am UTC](https://discuss.elastic.co/t/new-version-of-elk-installed-keyword-option-is-a-pain/235692 "2020-06-04T07:45:56Z")

</div>

Hello We changed our elk stack version from 6.8 to 7.6 Since this, the previous entries are not aggregatables anymore. Can't do sum, hit, top hit, unless I use .keyword parameter added by elastic. So for an example: b…

---

## [Could you please suggest me how to debug the whether logs are ingested from fluentd to elasticsearch](https://discuss.elastic.co/t/could-you-please-suggest-me-how-to-debug-the-whether-logs-are-ingested-from-fluentd-to-elasticsearch/235688)

<div class="topic-metadata">

**Author:** [@chinmoy\_padhi](https://discuss.elastic.co/u/chinmoy_padhi)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 7:35am UTC](https://discuss.elastic.co/t/could-you-please-suggest-me-how-to-debug-the-whether-logs-are-ingested-from-fluentd-to-elasticsearch/235688 "2020-06-04T07:35:51Z")

</div>

Hi, As I am beginner to Elasticsearch. I have some logs on fluentd and enabled the logging through Rancher2 UI. So that fluentd will ingest the logs to elasticsearch I just want to make sure which are the path to debug…

---

## [What is this error](https://discuss.elastic.co/t/what-is-this-error/235664)

<div class="topic-metadata">

**Author:** [@pk.241011](https://discuss.elastic.co/u/pk.241011)\
**Replies:** 2\
**Last updated:** [June 4, 2020, 7:21am UTC](https://discuss.elastic.co/t/what-is-this-error/235664 "2020-06-04T07:21:55Z")

</div>

I was trying to create a deployment on Elastic Cloud (ES ver 7.7.0). I toyed with the whitelisting of the IP on the elasticsearch.yml to enable reindexing from the remote Elasticsearch cluster. I applied the changes and…

---

## [Check whether a field is an object or test](https://discuss.elastic.co/t/check-whether-a-field-is-an-object-or-test/235679)

<div class="topic-metadata">

**Author:** [@MiguelSalenda](https://discuss.elastic.co/u/MiguelSalenda)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 6:54am UTC](https://discuss.elastic.co/t/check-whether-a-field-is-an-object-or-test/235679 "2020-06-04T06:54:24Z")

</div>

Some information from a YAML files are stored and it could be as string or object. So the field in the YAML file could be stored as: field: valueAsString or field: valueAsObjet: property1 property2 The in…

---

## [Problem with master-nodes after resizing underlying instances (EC2 AWS)](https://discuss.elastic.co/t/problem-with-master-nodes-after-resizing-underlying-instances-ec2-aws/232167)

<div class="topic-metadata">

**Author:** [@Mathgox](https://discuss.elastic.co/u/Mathgox)\
**Replies:** 5\
**Last updated:** [June 4, 2020, 6:04am UTC](https://discuss.elastic.co/t/problem-with-master-nodes-after-resizing-underlying-instances-ec2-aws/232167 "2020-06-04T06:04:45Z")

</div>

Hi, we're running a Cluster with 3 dedicated Master on AWS EC2 Instances and changed the instance type. Every node got a clean and graceful shutdown and everything worked fine until we changed the elected master node. =…

---

## [AWS ElasticSearch Service - Live-Live Replication across Regions](https://discuss.elastic.co/t/aws-elasticsearch-service-live-live-replication-across-regions/235632)

<div class="topic-metadata">

**Author:** [@mehak](https://discuss.elastic.co/u/mehak)\
**Replies:** 5\
**Last updated:** [June 4, 2020, 5:31am UTC](https://discuss.elastic.co/t/aws-elasticsearch-service-live-live-replication-across-regions/235632 "2020-06-04T05:31:52Z")

</div>

Hi Everybody, I would need a suggestion for Disaster recovery scenario. Currently, we have an AWS ElasticSearch instance(version 7.4) that acts as a data source for Jaeger. This instance sits in Virginia region (us-eas…

---

## [Elastic wont start after adding realms configuration](https://discuss.elastic.co/t/elastic-wont-start-after-adding-realms-configuration/235115)

<div class="topic-metadata">

**Author:** [@AClerk](https://discuss.elastic.co/u/AClerk)\
**Replies:** 16\
**Last updated:** [June 4, 2020, 5:09am UTC](https://discuss.elastic.co/t/elastic-wont-start-after-adding-realms-configuration/235115 "2020-06-04T05:09:08Z")

</div>

Hi All, Added realm configuration to elasticsearch.yml. After that the service wont start. This is the added part → # # ---------------------------------- Realms ------------------------------------ # xpack: secu…

---

## [Aggregations query not returning response on Elasticsearch 7.5](https://discuss.elastic.co/t/aggregations-query-not-returning-response-on-elasticsearch-7-5/235544)

<div class="topic-metadata">

**Author:** [@prasad98](https://discuss.elastic.co/u/prasad98)\
**Replies:** 1\
**Last updated:** [June 4, 2020, 1:52am UTC](https://discuss.elastic.co/t/aggregations-query-not-returning-response-on-elasticsearch-7-5/235544 "2020-06-04T01:52:55Z")

</div>

Hi, I am trying to run an ES query based on aggregations. It runs and returns a response in ES 2.4 but when I try to run the query in ES 7.5, it returns a response with empty buckets. Below is my query: Elasticsearch 7.…

---

## [Proximity Search](https://discuss.elastic.co/t/proximity-search/235660)

<div class="topic-metadata">

**Author:** [@satender](https://discuss.elastic.co/u/satender)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 1:48am UTC](https://discuss.elastic.co/t/proximity-search/235660 "2020-06-04T01:48:05Z")

</div>

(pay\* or waiv\*)~10 or (reduc\* or descrease\*)~15 Please suggest which query type is more suitable to find result based on above text.

---

## [Date format exception with elasticsearch version 6.7.0](https://discuss.elastic.co/t/date-format-exception-with-elasticsearch-version-6-7-0/235641)

<div class="topic-metadata">

**Author:** [@momo94](https://discuss.elastic.co/u/momo94)\
**Replies:** 0\
**Last updated:** [June 3, 2020, 9:56pm UTC](https://discuss.elastic.co/t/date-format-exception-with-elasticsearch-version-6-7-0/235641 "2020-06-03T21:56:46Z")

</div>

I am using the following date format below but my elastic search version complains that it cannot parse the date. Below you will find an example mapping. This is a spring-boot application. Elasticsearch Version of sprin…

---

## [Filter latest document in each bucket](https://discuss.elastic.co/t/filter-latest-document-in-each-bucket/235638)

<div class="topic-metadata">

**Author:** [@ofirsa](https://discuss.elastic.co/u/ofirsa)\
**Replies:** 0\
**Last updated:** [June 3, 2020, 9:49pm UTC](https://discuss.elastic.co/t/filter-latest-document-in-each-bucket/235638 "2020-06-03T21:49:46Z")

</div>

Hi All. I need your help, I just started working with Elasticsearch. I have an Index with the following mapping: { "mapping": { "\_doc": { "properties": { "pending\_tasks": { "type": "integ…

---

## [What is the equivalent of now in script\_score decay function for DATE field](https://discuss.elastic.co/t/what-is-the-equivalent-of-now-in-script-score-decay-function-for-date-field/234424)

<div class="topic-metadata">

**Author:** [@elastic\_newbie](https://discuss.elastic.co/u/elastic_newbie)\
**Replies:** 0\
**Last updated:** [May 26, 2020, 9:44pm UTC](https://discuss.elastic.co/t/what-is-the-equivalent-of-now-in-script-score-decay-function-for-date-field/234424 "2020-05-26T21:44:41Z")

</div>

This is the current decay function which i am trying to convert this to script\_score decay function. What is the equivalent of "now" which i can use in script\_score "functions": \[ { …

---

## [NullPointerException on Lucene80NormsProducer](https://discuss.elastic.co/t/nullpointerexception-on-lucene80normsproducer/234677)

<div class="topic-metadata">

**Author:** [@Nicolas\_Labrot](https://discuss.elastic.co/u/Nicolas_Labrot)\
**Replies:** 1\
**Last updated:** [June 3, 2020, 9:09pm UTC](https://discuss.elastic.co/t/nullpointerexception-on-lucene80normsproducer/234677 "2020-06-03T21:09:06Z")

</div>

Hello, I got this exception \[1\] when running a search query on ES 7.6.2: { "query": { "bool": { "must": \[ { "match": { "titles.POL": { …

---

## [Rename nested fields with spaces using Ingest and Reindex](https://discuss.elastic.co/t/rename-nested-fields-with-spaces-using-ingest-and-reindex/234984)

<div class="topic-metadata">

**Author:** [@matheusMoreno](https://discuss.elastic.co/u/matheusMoreno)\
**Replies:** 1\
**Last updated:** [June 3, 2020, 8:58pm UTC](https://discuss.elastic.co/t/rename-nested-fields-with-spaces-using-ingest-and-reindex/234984 "2020-06-03T20:58:58Z")

</div>

UPDATE: I'm more stumped than before because I was able to update some fields with spaces, and not others. As a concrete example, intervention\_time.operation.H OURS gets updated to intervention\_time.operation.hours just …

---

## [AWS ElasticSearch - Manual Snapshot Archival](https://discuss.elastic.co/t/aws-elasticsearch-manual-snapshot-archival/234960)

<div class="topic-metadata">

**Author:** [@mehak](https://discuss.elastic.co/u/mehak)\
**Replies:** 7\
**Last updated:** [June 3, 2020, 8:07pm UTC](https://discuss.elastic.co/t/aws-elasticsearch-manual-snapshot-archival/234960 "2020-06-03T20:07:54Z")

</div>

Hi Everyone, I have a query regarding archival of ElasticSearch data. We are taking Manual snapshots of our ElasticSearch data after every 6 hours and it is getting stored in storage like S3. In our ElasticSearch, say w…

---

## [Aggregate (or join) over consecutive items after the matching item](https://discuss.elastic.co/t/aggregate-or-join-over-consecutive-items-after-the-matching-item/235627)

<div class="topic-metadata">

**Author:** [@johnc1](https://discuss.elastic.co/u/johnc1)\
**Replies:** 0\
**Last updated:** [June 3, 2020, 7:35pm UTC](https://discuss.elastic.co/t/aggregate-or-join-over-consecutive-items-after-the-matching-item/235627 "2020-06-03T19:35:27Z")

</div>

We're using elasticsearch for a graph-like workload, and it works excellent – we benchmarked it against 5 major alternatives on our workload on all queries except one. We need a very limited form of join, which we curren…

---

## [Date format strings are no longer interchangeable between snake\_case and camelCase](https://discuss.elastic.co/t/date-format-strings-are-no-longer-interchangeable-between-snake-case-and-camelcase/235621)

<div class="topic-metadata">

**Author:** [@kstevens715](https://discuss.elastic.co/u/kstevens715)\
**Replies:** 0\
**Last updated:** [June 3, 2020, 7:22pm UTC](https://discuss.elastic.co/t/date-format-strings-are-no-longer-interchangeable-between-snake-case-and-camelcase/235621 "2020-06-03T19:22:45Z")

</div>

After upgrading from ES 7.5.2 to 7.6.1, I found that a date format string of dateOptionalTime is no longer interchangeable with date\_optional\_time. In 7.5.2 this works fine. In 7.6.2 (and subsequently confirmed the same …

---

## [Failed to reindex nested fields](https://discuss.elastic.co/t/failed-to-reindex-nested-fields/235624)

<div class="topic-metadata">

**Author:** [@Christine\_Li](https://discuss.elastic.co/u/Christine_Li)\
**Replies:** 0\
**Last updated:** [June 3, 2020, 7:26pm UTC](https://discuss.elastic.co/t/failed-to-reindex-nested-fields/235624 "2020-06-03T19:26:50Z")

</div>

I have an index has { "mappings":{ "properties": { "Schema": { "type":"nested", "properties":{ "Column\_Name": {"type":"keyword"} …

---

## [Search query intermittently returns entire index, disregarding parameters](https://discuss.elastic.co/t/search-query-intermittently-returns-entire-index-disregarding-parameters/235620)

<div class="topic-metadata">

**Author:** [@samueljohnwilson](https://discuss.elastic.co/u/samueljohnwilson)\
**Replies:** 0\
**Last updated:** [June 3, 2020, 7:22pm UTC](https://discuss.elastic.co/t/search-query-intermittently-returns-entire-index-disregarding-parameters/235620 "2020-06-03T19:22:13Z")

</div>

I am experiencing an issue where searches occasionally fail to respect the provided terms, and instead return the most recent page of results in the index with a count that is the total sum of all documents in the index. …

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

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