# Elasticsearch

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

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

**Page:** 1664

---

## [REST Api for Keystore](https://discuss.elastic.co/t/rest-api-for-keystore/134723)

<div class="topic-metadata">

**Author:** [@rshetty](https://discuss.elastic.co/u/rshetty)\
**Replies:** 2\
**Last updated:** [June 6, 2018, 8:45am UTC](https://discuss.elastic.co/t/rest-api-for-keystore/134723 "2018-06-06T08:45:33Z")

</div>

Is there any REST call we can use to retrieve the key-value from the elasticsearch keystore? I have a script for setting up the elasticsearch snapshot and restore where I need to pass the ES credentials, I was wondering …

---

## [Multi\_match bool query, error](https://discuss.elastic.co/t/multi-match-bool-query-error/134620)

<div class="topic-metadata">

**Author:** [@matteo.lavaggi](https://discuss.elastic.co/u/matteo.lavaggi)\
**Replies:** 7\
**Last updated:** [June 6, 2018, 8:31am UTC](https://discuss.elastic.co/t/multi-match-bool-query-error/134620 "2018-06-06T08:31:15Z")

</div>

Hi dear, any one can tell me where is the mistake in this sintax? i'm tryng to query different fields with different match type to get better result with no luck { "\_source": { }, "query": { "bool": { "…

---

## [Hard backup and restore](https://discuss.elastic.co/t/hard-backup-and-restore/134742)

<div class="topic-metadata">

**Author:** [@chuski92](https://discuss.elastic.co/u/chuski92)\
**Replies:** 0\
**Last updated:** [June 6, 2018, 7:05am UTC](https://discuss.elastic.co/t/hard-backup-and-restore/134742 "2018-06-06T07:05:09Z")

</div>

Hello. I have another doubt about elasticsearch. I know that the best way to make a backup of our database is using snapshots, but, if I want to make our own backup of the snapshots, can it be done? We are using a back…

---

## [Elastic stack component installation using rpm without root user](https://discuss.elastic.co/t/elastic-stack-component-installation-using-rpm-without-root-user/133920)

<div class="topic-metadata">

**Author:** [@tushar\_raut](https://discuss.elastic.co/u/tushar_raut)\
**Replies:** 2\
**Last updated:** [June 6, 2018, 6:28am UTC](https://discuss.elastic.co/t/elastic-stack-component-installation-using-rpm-without-root-user/133920 "2018-06-06T06:28:16Z")

</div>

Hello Team, I have downloaded the rpm's of almost all the components of elastic stack and trying to install on my cluster. I don't have root/sudo user access, So while installing this rpms getting permission denied er…

---

## [Mapping Properties : Index : false](https://discuss.elastic.co/t/mapping-properties-index-false/134706)

<div class="topic-metadata">

**Author:** [@Clems](https://discuss.elastic.co/u/Clems)\
**Replies:** 4\
**Last updated:** [June 6, 2018, 6:25am UTC](https://discuss.elastic.co/t/mapping-properties-index-false/134706 "2018-06-06T06:25:01Z")

</div>

Hi everyone, In my mapping properties, for one of the fields, I added "index : false" , but ElasticSearch is still indexing it and this field is still searchable. However, when I ask for the mapping, I do have: "name" …

---

## [Cross cluster search on Elastic Cloud](https://discuss.elastic.co/t/cross-cluster-search-on-elastic-cloud/134711)

<div class="topic-metadata">

**Author:** [@neelesh](https://discuss.elastic.co/u/neelesh)\
**Replies:** 1\
**Last updated:** [June 6, 2018, 5:28am UTC](https://discuss.elastic.co/t/cross-cluster-search-on-elastic-cloud/134711 "2018-06-06T05:28:56Z")

</div>

Hi, I am trying to configure the cross cluster search on 2 clusters on elastic cloud (both of them are on cloud: 2 zones 3 nodes each, elastic version 6.2.3). I have followed the instruction (PUT \_cluster/settings) to …

---

## [Calculate in per bucket](https://discuss.elastic.co/t/calculate-in-per-bucket/134724)

<div class="topic-metadata">

**Author:** [@br14nb0](https://discuss.elastic.co/u/br14nb0)\
**Replies:** 0\
**Last updated:** [June 6, 2018, 5:10am UTC](https://discuss.elastic.co/t/calculate-in-per-bucket/134724 "2018-06-06T05:10:45Z")

</div>

I have some buckets and there are 2 doc\_count per bucket. So is there any way I can calculate between those docs ? Like sub timestamp to get duration.

---

## [I/O reactor has been shut down](https://discuss.elastic.co/t/i-o-reactor-has-been-shut-down/134716)

<div class="topic-metadata">

**Author:** [@Ishant\_Agarwal](https://discuss.elastic.co/u/Ishant_Agarwal)\
**Replies:** 0\
**Last updated:** [June 6, 2018, 4:00am UTC](https://discuss.elastic.co/t/i-o-reactor-has-been-shut-down/134716 "2018-06-06T04:00:58Z")

</div>

Hi All, My problem is if lot of timeout happens after that I simply keep on getting. java.lang.IllegalStateException: Request cannot be executed; I/O reactor status: STOPPED So basically first I get the following stac…

---

## [Looking Up Data in Another Table by Key](https://discuss.elastic.co/t/looking-up-data-in-another-table-by-key/134699)

<div class="topic-metadata">

**Author:** [@scollora](https://discuss.elastic.co/u/scollora)\
**Replies:** 0\
**Last updated:** [June 5, 2018, 10:20pm UTC](https://discuss.elastic.co/t/looking-up-data-in-another-table-by-key/134699 "2018-06-05T22:20:53Z")

</div>

Hi everyone, I've seen a post or two about the needs for SQL-like joins and being a little new to Elasticsearch, I wanted to get some feedback as to the best approach for some data visualization. I am getting SNMP data…

---

## [Removal of types in es 6](https://discuss.elastic.co/t/removal-of-types-in-es-6/133934)

<div class="topic-metadata">

**Author:** [@Ninad\_Pradhan](https://discuss.elastic.co/u/Ninad_Pradhan)\
**Replies:** 9\
**Last updated:** [June 5, 2018, 10:19pm UTC](https://discuss.elastic.co/t/removal-of-types-in-es-6/133934 "2018-06-05T22:19:13Z")

</div>

Am I the only one feeling that es keeps making these fundamental level changes affecting everyone? If they thought the analogy of tables and databases was a bad one, why did it take them like a thousand releases to know…

---

## [Vizualize Kibana](https://discuss.elastic.co/t/vizualize-kibana/134635)

<div class="topic-metadata">

**Author:** [@ahmed\_charafouddine](https://discuss.elastic.co/u/ahmed_charafouddine)\
**Replies:** 3\
**Last updated:** [June 5, 2018, 10:01pm UTC](https://discuss.elastic.co/t/vizualize-kibana/134635 "2018-06-05T22:01:29Z")

</div>

Error : Visualize: ElasticsearchException\[CircuitBreakingException\[\[fielddata\] Data too large, data for \[host\] would be larger than limit of \[7710022041/7.1gb\]\]\]; nested: UncheckedExecutionException\[CircuitBreakingExcept…

---

## [getAsStructuredMap no longer available in Elasticsearch 6.2.4](https://discuss.elastic.co/t/getasstructuredmap-no-longer-available-in-elasticsearch-6-2-4/134689)

<div class="topic-metadata">

**Author:** [@Prajakta\_Dhaygude](https://discuss.elastic.co/u/Prajakta_Dhaygude)\
**Replies:** 0\
**Last updated:** [June 5, 2018, 8:27pm UTC](https://discuss.elastic.co/t/getasstructuredmap-no-longer-available-in-elasticsearch-6-2-4/134689 "2018-06-05T20:27:18Z")

</div>

Hi, I am upgrading our Java API to Elasticsearch 6.2.4. I see following methods are removed between version 6.0.x and 6.1.x - org.elasticsearch.common.settings.Settings public java.util.Map\<java.lang.String,java.lang.…

---

## [Synchonising Elastic Search with SQL server](https://discuss.elastic.co/t/synchonising-elastic-search-with-sql-server/131996)

<div class="topic-metadata">

**Author:** [@RikRak](https://discuss.elastic.co/u/RikRak)\
**Replies:** 3\
**Last updated:** [June 5, 2018, 7:22pm UTC](https://discuss.elastic.co/t/synchonising-elastic-search-with-sql-server/131996 "2018-06-05T19:22:20Z")

</div>

I'm involved in a project where data is aggregated from a wide variety of datasources into an SQL Server instance. The aggregation is continuous (via a polling service), and involves large volumes of data (millions of r…

---

## [Javascript problem](https://discuss.elastic.co/t/javascript-problem/134352)

<div class="topic-metadata">

**Author:** [@rr\_silicon](https://discuss.elastic.co/u/rr_silicon)\
**Replies:** 1\
**Last updated:** [June 5, 2018, 6:30pm UTC](https://discuss.elastic.co/t/javascript-problem/134352 "2018-06-05T18:30:35Z")

</div>

I have a script that was running on ES 5.x and that I tried now on ES 6.2.4. define(\['scripts/d3.v4', 'scripts/elasticsearch'\], function (d3, es) { "use strict"; var svg = d3.select("svg"), width = +svg.attr("width"),…

---

## [Error: Scroll must be provided when scanning](https://discuss.elastic.co/t/error-scroll-must-be-provided-when-scanning/134644)

<div class="topic-metadata">

**Author:** [@Jensxy](https://discuss.elastic.co/u/Jensxy)\
**Replies:** 0\
**Last updated:** [June 5, 2018, 2:33pm UTC](https://discuss.elastic.co/t/error-scroll-must-be-provided-when-scanning/134644 "2018-06-05T14:33:41Z")

</div>

Hello guys, I have ES v2.4.4 installed and try to execute the following statement in R elastic::Search(es\_idx, scroll = "3m", search\_type = "scan") And i get the following error Error: 500 - all shards failed ES …

---

## [X-pack settings for x-pack features](https://discuss.elastic.co/t/x-pack-settings-for-x-pack-features/129016)

<div class="topic-metadata">

**Author:** [@alexus](https://discuss.elastic.co/u/alexus)\
**Replies:** 9\
**Last updated:** [June 5, 2018, 4:59pm UTC](https://discuss.elastic.co/t/x-pack-settings-for-x-pack-features/129016 "2018-06-05T16:59:31Z")

</div>

I change respective setting(s) to false, yet still seeing apps/features via Kibana APM Settings in Kibana | Kibana User Guide Development Tools Settings in Kibana | Kibana User Guide Please advise.

---

## [Querying ElasticSearch Hive table from Sql workbench](https://discuss.elastic.co/t/querying-elasticsearch-hive-table-from-sql-workbench/133732)

<div class="topic-metadata">

**Author:** [@naresh523](https://discuss.elastic.co/u/naresh523)\
**Replies:** 2\
**Last updated:** [June 5, 2018, 4:56pm UTC](https://discuss.elastic.co/t/querying-elasticsearch-hive-table-from-sql-workbench/133732 "2018-06-05T16:56:43Z")

</div>

Hi, I'm trying to query elasticsearch hive table from SQL Workbench. I'm using Elastic: 6.2.X version. I've uploaded both elasticsearch-hadoop & elasticsearch-hadoop-hive jars but, it didn't work. Here is the error: …

---

## [Curator - Reindex does not complete on first run](https://discuss.elastic.co/t/curator-reindex-does-not-complete-on-first-run/134629)

<div class="topic-metadata">

**Author:** [@barryp](https://discuss.elastic.co/u/barryp)\
**Replies:** 9\
**Last updated:** [June 5, 2018, 4:36pm UTC](https://discuss.elastic.co/t/curator-reindex-does-not-complete-on-first-run/134629 "2018-06-05T16:36:53Z")

</div>

When run a reindex action in curator 5.5 for the first time, it doesn't reindex all docs. Only 998 docs. If I then run it for a second time it finishes the rest of the 870k docs. Logs do not show an error. reindex.yml…

---

## [Finding all documents nearby another in one request](https://discuss.elastic.co/t/finding-all-documents-nearby-another-in-one-request/134666)

<div class="topic-metadata">

**Author:** [@GeoffreyOnRails](https://discuss.elastic.co/u/GeoffreyOnRails)\
**Replies:** 0\
**Last updated:** [June 5, 2018, 4:30pm UTC](https://discuss.elastic.co/t/finding-all-documents-nearby-another-in-one-request/134666 "2018-06-05T16:30:04Z")

</div>

I have multiple documents containing a geo-spatial location. I'd like to make a query finding all the documents (let's say B,C,D) whose location is below a given distance of another document (A). All my document have a …

---

## [SingleSignOnService Binding HTTP-POST](https://discuss.elastic.co/t/singlesignonservice-binding-http-post/134474)

<div class="topic-metadata">

**Author:** [@everson](https://discuss.elastic.co/u/everson)\
**Replies:** 4\
**Last updated:** [June 5, 2018, 4:27pm UTC](https://discuss.elastic.co/t/singlesignonservice-binding-http-post/134474 "2018-06-05T16:27:55Z")

</div>

Hi! We are configuring x-pack to integrates with an SSO provider, but unfortunately, this SSO Service exposes only HTTP-POST binding. I saw on X-Pack documentation that it only supports Redirect binding but I would want…

---

## [AccessDeniedException starting elasticsearch after installing X-Pack](https://discuss.elastic.co/t/accessdeniedexception-starting-elasticsearch-after-installing-x-pack/134480)

<div class="topic-metadata">

**Author:** [@Justin\_Wells](https://discuss.elastic.co/u/Justin_Wells)\
**Replies:** 3\
**Last updated:** [June 5, 2018, 3:27pm UTC](https://discuss.elastic.co/t/accessdeniedexception-starting-elasticsearch-after-installing-x-pack/134480 "2018-06-05T15:27:33Z")

</div>

Steps to get to problem on ubuntu 16.04, single node: Installed Elasticsearch 6.2.1 via .deb package Installed X-Pack, ec2-discovery and s3-repository modules Set bootstrap password using: printf {{ bootstrap\_passwor…

---

## [LDAP inappropriate authentication](https://discuss.elastic.co/t/ldap-inappropriate-authentication/132320)

<div class="topic-metadata">

**Author:** [@tommer](https://discuss.elastic.co/u/tommer)\
**Replies:** 20\
**Last updated:** [June 5, 2018, 3:20pm UTC](https://discuss.elastic.co/t/ldap-inappropriate-authentication/132320 "2018-06-05T15:20:01Z")

</div>

Hello, i use X-Pack 6.1 and configure a LDAP access, but i get: LDAPException(resultCode=48 (inappropriate authentication), but a ldapsearch with same config works fine. Does elasticsearch requests the ldap server in a…

---

## [Error kibana](https://discuss.elastic.co/t/error-kibana/134639)

<div class="topic-metadata">

**Author:** [@ahmed\_charafouddine](https://discuss.elastic.co/u/ahmed_charafouddine)\
**Replies:** 2\
**Last updated:** [June 5, 2018, 3:04pm UTC](https://discuss.elastic.co/t/error-kibana/134639 "2018-06-05T15:04:27Z")

</div>

Courier Fetch: 311 of 4228 shards failed. why ?

---

## [Why elasticsearch convert all my field name to lower case?](https://discuss.elastic.co/t/why-elasticsearch-convert-all-my-field-name-to-lower-case/134593)

<div class="topic-metadata">

**Author:** [@ali1](https://discuss.elastic.co/u/ali1)\
**Replies:** 7\
**Last updated:** [June 5, 2018, 2:57pm UTC](https://discuss.elastic.co/t/why-elasticsearch-convert-all-my-field-name-to-lower-case/134593 "2018-06-05T14:57:38Z")

</div>

hello, i create the following index : PUT testindex { "mappings": { "datai": { "properties": { "firsName": { "type": "text" }, "lastName": { "type": "text" }, "phoneNumber":…

---

## [Count number of elements in an array](https://discuss.elastic.co/t/count-number-of-elements-in-an-array/134568)

<div class="topic-metadata">

**Author:** [@javidr](https://discuss.elastic.co/u/javidr)\
**Replies:** 2\
**Last updated:** [June 5, 2018, 2:50pm UTC](https://discuss.elastic.co/t/count-number-of-elements-in-an-array/134568 "2018-06-05T14:50:33Z")

</div>

Hi I have a json that contains an array on it. The structure is something like this: {date:xxx, stock: \[ {name: xxx : status:OK}, {name: yyy : status:OK}, {name: zzz : status:KO}, {name: xxz : status:OK},\]} I woul…

---

## [Missing documents on 400,000+ documents only](https://discuss.elastic.co/t/missing-documents-on-400-000-documents-only/134647)

<div class="topic-metadata">

**Author:** [@John\_Williams](https://discuss.elastic.co/u/John_Williams)\
**Replies:** 0\
**Last updated:** [June 5, 2018, 2:49pm UTC](https://discuss.elastic.co/t/missing-documents-on-400-000-documents-only/134647 "2018-06-05T14:49:58Z")

</div>

I'm new to elasticsearch and currently have ES 6.2 build with their official docker image running via Symfony's FOSElasticaBundle. The search side works fine, but I'm having really issues with some documents disappearing…

---

## [Using must\_not and wildcard to search](https://discuss.elastic.co/t/using-must-not-and-wildcard-to-search/134590)

<div class="topic-metadata">

**Author:** [@sirbrian](https://discuss.elastic.co/u/sirbrian)\
**Replies:** 5\
**Last updated:** [June 5, 2018, 2:48pm UTC](https://discuss.elastic.co/t/using-must-not-and-wildcard-to-search/134590 "2018-06-05T14:48:33Z")

</div>

Hi, I am new to Elasticsearch and Kibana. I am using the Kibana Dev Tools to search Elasticsearch. What I want to do is find all results that don't match a wildcard term. If I try this a search with "must\_not": \[ …

---

## [Missing Snapshot Error](https://discuss.elastic.co/t/missing-snapshot-error/134485)

<div class="topic-metadata">

**Author:** [@MPurcell](https://discuss.elastic.co/u/MPurcell)\
**Replies:** 7\
**Last updated:** [June 5, 2018, 2:20pm UTC](https://discuss.elastic.co/t/missing-snapshot-error/134485 "2018-06-05T14:20:11Z")

</div>

I'm trying to use curator to delete all snapshots older then a 100 days in my repository. I noticed it was failing with the error message: Failed to complete action: delete\_snapshots. \<class 'curator.exceptions.FailedEx…

---

## [Stemming not performed](https://discuss.elastic.co/t/stemming-not-performed/134609)

<div class="topic-metadata">

**Author:** [@roshni](https://discuss.elastic.co/u/roshni)\
**Replies:** 3\
**Last updated:** [June 5, 2018, 2:11pm UTC](https://discuss.elastic.co/t/stemming-not-performed/134609 "2018-06-05T14:11:06Z")

</div>

Hi , I am using elasticsearch v5.4.3 it seems it is not supporting stemming. \</\> curl -X PUT "localhost:9200/my\_index" -H 'Content-Type: application/json' -d' { "settings": { "analysis" : { "analyzer" : { "my\_ana…

---

## [Securing communications between Beats and Elasticsearch](https://discuss.elastic.co/t/securing-communications-between-beats-and-elasticsearch/134631)

<div class="topic-metadata">

**Author:** [@TheNmaptomyHeartBeat](https://discuss.elastic.co/u/TheNmaptomyHeartBeat)\
**Replies:** 3\
**Last updated:** [June 5, 2018, 2:09pm UTC](https://discuss.elastic.co/t/securing-communications-between-beats-and-elasticsearch/134631 "2018-06-05T14:09:14Z")

</div>

I have been trying to do this for while now. I have my Elasticsearch cluster with X-Pack on it. I am receiving logs from multiple Beats from multiple other servers to my cluster. Is there a way to encrypt that traffic …

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

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