# Elasticsearch

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

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

**Page:** 1098

---

## [Featured results / Pinned query](https://discuss.elastic.co/t/featured-results-pinned-query/207391)

<div class="topic-metadata">

**Author:** [@fsh](https://discuss.elastic.co/u/fsh)\
**Replies:** 2\
**Last updated:** [November 12, 2019, 12:15pm UTC](https://discuss.elastic.co/t/featured-results-pinned-query/207391 "2019-11-12T12:15:15Z")

</div>

Hi, I'm stuck with a concept of 2 sets of search results combined into 1 set (that would make paginating simple). My simplified mapping looks like this: 'properties' =\> \[ 'featured' =\> \['type' =\> 'boolean'\]…

---

## [Perform significant terms aggregation in Elastic search based on sum of a field rather than count if documents](https://discuss.elastic.co/t/perform-significant-terms-aggregation-in-elastic-search-based-on-sum-of-a-field-rather-than-count-if-documents/207247)

<div class="topic-metadata">

**Author:** [@vaibhav\_gupta1](https://discuss.elastic.co/u/vaibhav_gupta1)\
**Replies:** 1\
**Last updated:** [November 12, 2019, 11:44am UTC](https://discuss.elastic.co/t/perform-significant-terms-aggregation-in-elastic-search-based-on-sum-of-a-field-rather-than-count-if-documents/207247 "2019-11-12T11:44:56Z")

</div>

Suppose I have these three documents. I wish to apply significant terms on the token field. By default, significance would be calculated based on the count of foreground and background sets. E.g. For the term Annine, the…

---

## [Elasticsearch snapshot partialy fails due to "index shard snapshot failed exception"](https://discuss.elastic.co/t/elasticsearch-snapshot-partialy-fails-due-to-index-shard-snapshot-failed-exception/206788)

<div class="topic-metadata">

**Author:** [@Futerkowiec](https://discuss.elastic.co/u/Futerkowiec)\
**Replies:** 4\
**Last updated:** [November 12, 2019, 11:36am UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-partialy-fails-due-to-index-shard-snapshot-failed-exception/206788 "2019-11-12T11:36:21Z")

</div>

Kibana version: 7.4.2 Elasticsearch version: 7.4.2 Original install method (e.g. download page, yum, deb, from source, etc.) and version: all components were downloaded from official elastic page. Fresh install or upg…

---

## [Unable to mount previous data after enable x pack](https://discuss.elastic.co/t/unable-to-mount-previous-data-after-enable-x-pack/207499)

<div class="topic-metadata">

**Author:** [@Aditya\_Kar](https://discuss.elastic.co/u/Aditya_Kar)\
**Replies:** 0\
**Last updated:** [November 12, 2019, 11:08am UTC](https://discuss.elastic.co/t/unable-to-mount-previous-data-after-enable-x-pack/207499 "2019-11-12T11:08:42Z")

</div>

I have added x-pack security to my elastic search. but it is not mounting from my existing indexed data. Please suggest to me how my existing data will mount to x pack enabled elastic search. I am using version 7.4.1 v…

---

## [Shading high level Java rest client](https://discuss.elastic.co/t/shading-high-level-java-rest-client/207492)

<div class="topic-metadata">

**Author:** [@Abhishek\_S](https://discuss.elastic.co/u/Abhishek_S)\
**Replies:** 0\
**Last updated:** [November 12, 2019, 10:46am UTC](https://discuss.elastic.co/t/shading-high-level-java-rest-client/207492 "2019-11-12T10:46:02Z")

</div>

Hi, Can I shade high level rest client? bascially I want to use latest Elastic Search Rest client (7.4) and Lucene 5.3.0 (Legacy) in my project. Thanks, Abhishek

---

## [Problem running lifecycle policy on index template with alias](https://discuss.elastic.co/t/problem-running-lifecycle-policy-on-index-template-with-alias/207487)

<div class="topic-metadata">

**Author:** [@rufonon](https://discuss.elastic.co/u/rufonon)\
**Replies:** 0\
**Last updated:** [November 12, 2019, 10:21am UTC](https://discuss.elastic.co/t/problem-running-lifecycle-policy-on-index-template-with-alias/207487 "2019-11-12T10:21:07Z")

</div>

Good Morning, I am a developer that I am starting to assemble a basic cluster of elasticsearch and kibana. I have some doubts and I would like to know how to solve them. I have 3 machines that see each other in a clus…

---

## [How to bind the public IP?](https://discuss.elastic.co/t/how-to-bind-the-public-ip/207318)

<div class="topic-metadata">

**Author:** [@Pinno\_Lin](https://discuss.elastic.co/u/Pinno_Lin)\
**Replies:** 3\
**Last updated:** [November 12, 2019, 9:58am UTC](https://discuss.elastic.co/t/how-to-bind-the-public-ip/207318 "2019-11-12T09:58:45Z")

</div>

Hi All, I have 4 node prepare to 1 master (172.20.9.45, 192.168.1.1) and 3 data node (192.168.1.11 ~13). The 172.20.9.x is public LAN, 192.168.1.x is private LAN by hub. The ES version : 7.4.0 these is my elasticsearch…

---

## [Why Are Bulk Insertions Not Being Round Robined?](https://discuss.elastic.co/t/why-are-bulk-insertions-not-being-round-robined/207461)

<div class="topic-metadata">

**Author:** [@thegrif](https://discuss.elastic.co/u/thegrif)\
**Replies:** 1\
**Last updated:** [November 12, 2019, 9:37am UTC](https://discuss.elastic.co/t/why-are-bulk-insertions-not-being-round-robined/207461 "2019-11-12T09:37:29Z")

</div>

This question is cross-posted from Amazon's Elasticsearch Forum. (link) I'm unsure whether it's an Elasticsearch or an AWS issue - but would welcome any help/feedback this community can offer. Bulk indexing requests poi…

---

## [Spring data elastic 7.4 version](https://discuss.elastic.co/t/spring-data-elastic-7-4-version/207397)

<div class="topic-metadata">

**Author:** [@tfe2012](https://discuss.elastic.co/u/tfe2012)\
**Replies:** 5\
**Last updated:** [November 12, 2019, 9:28am UTC](https://discuss.elastic.co/t/spring-data-elastic-7-4-version/207397 "2019-11-12T09:28:58Z")

</div>

Hi, I update my cluster to 7.4.2 version But getting an error: Caused by: java.lang.ClassNotFoundException: org.elasticsearch.action.Action at java.net.URLClassLoader.findClass (URLClassLoader.java:436) at java.lang.…

---

## [ODBC Driver Wildcard](https://discuss.elastic.co/t/odbc-driver-wildcard/206183)

<div class="topic-metadata">

**Author:** [@beerygaz](https://discuss.elastic.co/u/beerygaz)\
**Replies:** 7\
**Last updated:** [November 12, 2019, 9:13am UTC](https://discuss.elastic.co/t/odbc-driver-wildcard/206183 "2019-11-12T09:13:52Z")

</div>

I'm trying to access elasticsearch data in PwoerBi using the ODBC driver. It seems I can't use a wild-card to consolidate my indexes. For example I have filebeats-yyy.mm.dd indexes and I want to visualise data across f…

---

## [Creating a role with index pattern "-abc" as to not allow index creation of this pattern is not working](https://discuss.elastic.co/t/creating-a-role-with-index-pattern-abc-as-to-not-allow-index-creation-of-this-pattern-is-not-working/207466)

<div class="topic-metadata">

**Author:** [@Harshraj\_Shinde](https://discuss.elastic.co/u/Harshraj_Shinde)\
**Replies:** 0\
**Last updated:** [November 12, 2019, 8:40am UTC](https://discuss.elastic.co/t/creating-a-role-with-index-pattern-abc-as-to-not-allow-index-creation-of-this-pattern-is-not-working/207466 "2019-11-12T08:40:22Z")

</div>

POST \_security/role/testrole4 { "cluster": \[ "all" \], "indices": \[ { "names": \[ "-abc" \], "privileges": \[ "all" \], "allow\_restricted\_indices": true } \], "applications": \[ { "application": "", "privileg…

---

## [Display Active and Inactive bot is Kibana dashboard](https://discuss.elastic.co/t/display-active-and-inactive-bot-is-kibana-dashboard/207463)

<div class="topic-metadata">

**Author:** [@wakdafak](https://discuss.elastic.co/u/wakdafak)\
**Replies:** 0\
**Last updated:** [November 12, 2019, 8:27am UTC](https://discuss.elastic.co/t/display-active-and-inactive-bot-is-kibana-dashboard/207463 "2019-11-12T08:27:55Z")

</div>

Dear All I am quite new to Kibana and Elasticsearch. Is it possible to display Active and Inactive bots on Kibana dashboard? if possible, any idea on how to do it? Thanks in advance

---

## [System Requirements and Architecture Selection Suggestion](https://discuss.elastic.co/t/system-requirements-and-architecture-selection-suggestion/207459)

<div class="topic-metadata">

**Author:** [@firat.tekin](https://discuss.elastic.co/u/firat.tekin)\
**Replies:** 0\
**Last updated:** [November 12, 2019, 7:49am UTC](https://discuss.elastic.co/t/system-requirements-and-architecture-selection-suggestion/207459 "2019-11-12T07:49:41Z")

</div>

Hey there, I just tried Elastic Cloud service and looks like it meets my expectations. I want to ask some questions before further steps. I've got approximately 600GB of data currently, which strictly defined as "keywo…

---

## [Rollover goes beyond the condition](https://discuss.elastic.co/t/rollover-goes-beyond-the-condition/207442)

<div class="topic-metadata">

**Author:** [@Mohammad.ali](https://discuss.elastic.co/u/Mohammad.ali)\
**Replies:** 1\
**Last updated:** [November 12, 2019, 6:08am UTC](https://discuss.elastic.co/t/rollover-goes-beyond-the-condition/207442 "2019-11-12T06:08:50Z")

</div>

Hello every one As the number of out indecies are growing we are considered to use ilm in elasticsearch. this is an example of ilm we are using for test: { "policy": { "phases": { "hot": { "min\_age": "0ms", "acti…

---

## [Modifying the default RestStatus code in Custom Realm auth response](https://discuss.elastic.co/t/modifying-the-default-reststatus-code-in-custom-realm-auth-response/207436)

<div class="topic-metadata">

**Author:** [@gautu7](https://discuss.elastic.co/u/gautu7)\
**Replies:** 0\
**Last updated:** [November 12, 2019, 4:14am UTC](https://discuss.elastic.co/t/modifying-the-default-reststatus-code-in-custom-realm-auth-response/207436 "2019-11-12T04:14:52Z")

</div>

Hi, I have a custom Realm authorization plugin which validates with an external endpoint, when there is a failure I want to be able to return specific error codes back to the client calling the Elasticsearch endpoint. F…

---

## [RuntimeException: Request cannot be executed; I/O reactor status: STOPPED](https://discuss.elastic.co/t/runtimeexception-request-cannot-be-executed-i-o-reactor-status-stopped/207428)

<div class="topic-metadata">

**Author:** [@xyx](https://discuss.elastic.co/u/xyx)\
**Replies:** 2\
**Last updated:** [November 12, 2019, 3:10am UTC](https://discuss.elastic.co/t/runtimeexception-request-cannot-be-executed-i-o-reactor-status-stopped/207428 "2019-11-12T03:10:22Z")

</div>

today I got an Exception. (1)logs: My project logs:RuntimeException: Request cannot be executed; I/O reactor status: STOPPED? Es logs:ERROR NodeStatsCollector node-3 timed out when collecting data. What should I do …

---

## [Several question about SSL/TLS](https://discuss.elastic.co/t/several-question-about-ssl-tls/207069)

<div class="topic-metadata">

**Author:** [@laijianbin](https://discuss.elastic.co/u/laijianbin)\
**Replies:** 5\
**Last updated:** [November 12, 2019, 2:51am UTC](https://discuss.elastic.co/t/several-question-about-ssl-tls/207069 "2019-11-12T02:51:49Z")

</div>

Hi, I am reference security configured SSL/TLS in elasticsearch My elasticsearch.yml: xpack.security.enabled: true network.host: MY\_IP xpack.security.transport.ssl.enabled: true xpack.security.transport.ssl.verifi…

---

## [Fail to connect spark-elasticsearch with SSL](https://discuss.elastic.co/t/fail-to-connect-spark-elasticsearch-with-ssl/206818)

<div class="topic-metadata">

**Author:** [@daniel.velasco](https://discuss.elastic.co/u/daniel.velasco)\
**Replies:** 4\
**Last updated:** [November 12, 2019, 2:22am UTC](https://discuss.elastic.co/t/fail-to-connect-spark-elasticsearch-with-ssl/206818 "2019-11-12T02:22:27Z")

</div>

Hi, I'm trying to connect spark with elasticsearch using the elastic-spark connector (https://www.elastic.co/guide/en/elasticsearch/hadoop/master/spark.html). Elastic is located on a different machine from which I launch…

---

## [Elasticsearch Search data](https://discuss.elastic.co/t/elasticsearch-search-data/205148)

<div class="topic-metadata">

**Author:** [@anand1](https://discuss.elastic.co/u/anand1)\
**Replies:** 3\
**Last updated:** [November 12, 2019, 1:34am UTC](https://discuss.elastic.co/t/elasticsearch-search-data/205148 "2019-11-12T01:34:36Z")

</div>

Hi All, I am new to Elasticsearch. I have created the below indexes and have pushed the same document to both the indexes. Only the difference is index settings that is first index has five shards and second index has o…

---

## [One index to rule them all... or separate ones on a microservice architecture](https://discuss.elastic.co/t/one-index-to-rule-them-all-or-separate-ones-on-a-microservice-architecture/207192)

<div class="topic-metadata">

**Author:** [@nicolas.orbes](https://discuss.elastic.co/u/nicolas.orbes)\
**Replies:** 2\
**Last updated:** [November 11, 2019, 7:31pm UTC](https://discuss.elastic.co/t/one-index-to-rule-them-all-or-separate-ones-on-a-microservice-architecture/207192 "2019-11-11T19:31:19Z")

</div>

Hi guys! We are migrating our monolith into a new microservice architecture and want to start using ELK just from the beginning. We are using Spring Boot to create the microservices and logging using Logback with this …

---

## [Cannot access doc values after forcemerging](https://discuss.elastic.co/t/cannot-access-doc-values-after-forcemerging/206870)

<div class="topic-metadata">

**Author:** [@Joshua\_Reback](https://discuss.elastic.co/u/Joshua_Reback)\
**Replies:** 2\
**Last updated:** [November 11, 2019, 7:30pm UTC](https://discuss.elastic.co/t/cannot-access-doc-values-after-forcemerging/206870 "2019-11-11T19:30:12Z")

</div>

Hi, I am working on a scripted engine which needs to access doc values to do some calculations. The code it uses to access the doc value below: ScriptDocValues.Longs docValues = (ScriptDocValues.Longs) lookup.doc().get…

---

## [Performance degraded after upgrading to 7.x](https://discuss.elastic.co/t/performance-degraded-after-upgrading-to-7-x/206843)

<div class="topic-metadata">

**Author:** [@hyeteck](https://discuss.elastic.co/u/hyeteck)\
**Replies:** 13\
**Last updated:** [November 11, 2019, 6:54pm UTC](https://discuss.elastic.co/t/performance-degraded-after-upgrading-to-7-x/206843 "2019-11-11T18:54:20Z")

</div>

We were running elasticsearch 6.7.2 and decided to upgrade to 7.x but our performances has degraded since the upgrade. We use the cluster to ingest log data and ship all data via filebeat. Index names contain dates so …

---

## [Disconnect between when Elasticsearch is "running" and when it's "available"](https://discuss.elastic.co/t/disconnect-between-when-elasticsearch-is-running-and-when-its-available/207392)

<div class="topic-metadata">

**Author:** [@tubbo](https://discuss.elastic.co/u/tubbo)\
**Replies:** 0\
**Last updated:** [November 11, 2019, 4:40pm UTC](https://discuss.elastic.co/t/disconnect-between-when-elasticsearch-is-running-and-when-its-available/207392 "2019-11-11T16:40:56Z")

</div>

Is there any way to make it so Elasticsearch won't say it's running until it can actually accept requests? I've constantly had to build in hacks in my projects that essentially are there just because Elasticsearch takes …

---

## [UpdateByQuery in 6.1 java aapi](https://discuss.elastic.co/t/updatebyquery-in-6-1-java-aapi/207388)

<div class="topic-metadata">

**Author:** [@nikuland](https://discuss.elastic.co/u/nikuland)\
**Replies:** 0\
**Last updated:** [November 11, 2019, 4:26pm UTC](https://discuss.elastic.co/t/updatebyquery-in-6-1-java-aapi/207388 "2019-11-11T16:26:08Z")

</div>

I am using 6.1 java client. I want to use updateByQuery API seems like this is supported only wiht transport client. Can someone confirm my understanding please. I tried with Kibana, and updateByQuery works, however i wa…

---

## [Rolling upgrade from v5.6 to v6.8](https://discuss.elastic.co/t/rolling-upgrade-from-v5-6-to-v6-8/206852)

<div class="topic-metadata">

**Author:** [@rschirin](https://discuss.elastic.co/u/rschirin)\
**Replies:** 5\
**Last updated:** [November 11, 2019, 3:10pm UTC](https://discuss.elastic.co/t/rolling-upgrade-from-v5-6-to-v6-8/206852 "2019-11-11T15:10:30Z")

</div>

Hi guys, I read the documentation regarding the rolling upgrade procedure that could be used to do not interrupt service. In my cluster, I have this situation: 3 master nodes 12 data nodes 2 coordinating only nodes …

---

## [Curl: (3) Port number ended with '\\'](https://discuss.elastic.co/t/curl-3-port-number-ended-with/207377)

<div class="topic-metadata">

**Author:** [@Coder\_HK](https://discuss.elastic.co/u/Coder_HK)\
**Replies:** 0\
**Last updated:** [November 11, 2019, 3:08pm UTC](https://discuss.elastic.co/t/curl-3-port-number-ended-with/207377 "2019-11-11T15:08:48Z")

</div>

I am newbie to Elastic Search and I am trying to perform a -XPOST operation to insert new data but it gives me the above error .. Here's my Ubuntu terminal commands curl -XPOST http:\\localhost:9200/classes/class/1/ -d …

---

## [Elasticsearch frequent grabage collection](https://discuss.elastic.co/t/elasticsearch-frequent-grabage-collection/207368)

<div class="topic-metadata">

**Author:** [@Arunraj\_MR](https://discuss.elastic.co/u/Arunraj_MR)\
**Replies:** 0\
**Last updated:** [November 11, 2019, 2:23pm UTC](https://discuss.elastic.co/t/elasticsearch-frequent-grabage-collection/207368 "2019-11-11T14:23:29Z")

</div>

I have an elasticsearch cluster(2.1.1) with 4 nodes in production. All the nodes have the same JVM configuration with heap size set as 31 GB. In one node, elasticsearch process have high CPU usage. On checking the logs …

---

## [High Rest Java Client with CompletableFuture](https://discuss.elastic.co/t/high-rest-java-client-with-completablefuture/183952)

<div class="topic-metadata">

**Author:** [@Santosh\_Pandey](https://discuss.elastic.co/u/Santosh_Pandey)\
**Replies:** 3\
**Last updated:** [November 11, 2019, 2:19pm UTC](https://discuss.elastic.co/t/high-rest-java-client-with-completablefuture/183952 "2019-11-11T14:19:45Z")

</div>

Using Elastic search high client java client, I was able to search asynchronously restHighLevelClient.searchAsync(searchRequest, RequestOptions.DEFAULT,new ActionListener() { @Override public void onResponse(SearchRes…

---

## [Fields not saved with template mapping](https://discuss.elastic.co/t/fields-not-saved-with-template-mapping/206785)

<div class="topic-metadata">

**Author:** [@mortueta](https://discuss.elastic.co/u/mortueta)\
**Replies:** 2\
**Last updated:** [November 11, 2019, 2:16pm UTC](https://discuss.elastic.co/t/fields-not-saved-with-template-mapping/206785 "2019-11-11T14:16:08Z")

</div>

Hi, Before now I was using dynamic templates as it is quite easy to structure the data automatically and in case of needing new fields this is done automatically. Now that I have every field that I need, I want to defi…

---

## [Elasticsearch starting and stoping](https://discuss.elastic.co/t/elasticsearch-starting-and-stoping/207365)

<div class="topic-metadata">

**Author:** [@anjanbarik](https://discuss.elastic.co/u/anjanbarik)\
**Replies:** 0\
**Last updated:** [November 11, 2019, 2:05pm UTC](https://discuss.elastic.co/t/elasticsearch-starting-and-stoping/207365 "2019-11-11T14:05:38Z")

</div>

Hello, Our elasticsearch starting and stopping instantly. When looked into log found attached error. Can you please help ? Please find the below output of the issues

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

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