# Elasticsearch

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

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

**Page:** 1350

---

## [o.e.d.z.UnicastZenPing - failed to resolve host: java.net.UnknownHostException](https://discuss.elastic.co/t/o-e-d-z-unicastzenping-failed-to-resolve-host-java-net-unknownhostexception/174507)

<div class="topic-metadata">

**Author:** [@lemon\_soft](https://discuss.elastic.co/u/lemon_soft)\
**Replies:** 9\
**Last updated:** [March 29, 2019, 12:18pm UTC](https://discuss.elastic.co/t/o-e-d-z-unicastzenping-failed-to-resolve-host-java-net-unknownhostexception/174507 "2019-03-29T12:18:04Z")

</div>

Hello. I have a simple problem. My elasticsearch nodes don't communicate each other. Could you help me? :worried: Elasticsearch 6.7.0(installed from rpm) CentOS Linux 7.6.1810 Linux 3.10.0-957.5.1.el7.x86\_64 on x86\_64 …

---

## [Strange aggregation behavior (returning partial data)](https://discuss.elastic.co/t/strange-aggregation-behavior-returning-partial-data/174495)

<div class="topic-metadata">

**Author:** [@00a45f9a00ca005db54c](https://discuss.elastic.co/u/00a45f9a00ca005db54c)\
**Replies:** 1\
**Last updated:** [March 29, 2019, 12:12pm UTC](https://discuss.elastic.co/t/strange-aggregation-behavior-returning-partial-data/174495 "2019-03-29T12:12:35Z")

</div>

Hello there Elastic aggregation returns sometimes partial data, sometimes full data from the same documents depending on date range. Ex. docs: "message": { "metadata": { "kitId": "07e102c2-c92c-4a9a-9d95…

---

## [Metrics with kafka using elasticstack](https://discuss.elastic.co/t/metrics-with-kafka-using-elasticstack/174517)

<div class="topic-metadata">

**Author:** [@jagan](https://discuss.elastic.co/u/jagan)\
**Replies:** 0\
**Last updated:** [March 29, 2019, 10:39am UTC](https://discuss.elastic.co/t/metrics-with-kafka-using-elasticstack/174517 "2019-03-29T10:39:46Z")

</div>

Hi, could you please suggest how do i get the kafka log metrics from my server using elastic stack. I am new to kafka. how to start i am in confusion.i am able to get logs from syslogs and redis log but not able to get…

---

## [Is Pagination Possible on Aggregation in Elastic 6.6.2](https://discuss.elastic.co/t/is-pagination-possible-on-aggregation-in-elastic-6-6-2/174510)

<div class="topic-metadata">

**Author:** [@Ravi\_Jain](https://discuss.elastic.co/u/Ravi_Jain)\
**Replies:** 2\
**Last updated:** [March 29, 2019, 10:14am UTC](https://discuss.elastic.co/t/is-pagination-possible-on-aggregation-in-elastic-6-6-2/174510 "2019-03-29T10:14:57Z")

</div>

I want to perform pagination aggregation, is it possible in Elastic Search

---

## [Which is the best benchmark tool for Elasticsearch?](https://discuss.elastic.co/t/which-is-the-best-benchmark-tool-for-elasticsearch/174454)

<div class="topic-metadata">

**Author:** [@suvarna](https://discuss.elastic.co/u/suvarna)\
**Replies:** 1\
**Last updated:** [March 29, 2019, 9:44am UTC](https://discuss.elastic.co/t/which-is-the-best-benchmark-tool-for-elasticsearch/174454 "2019-03-29T09:44:13Z")

</div>

Hi Please let me know which is the best and industry wise standerd benchmark tool with good workloads for Elasticsearch.

---

## [Can we provide database connection in FSCrawler?](https://discuss.elastic.co/t/can-we-provide-database-connection-in-fscrawler/174465)

<div class="topic-metadata">

**Author:** [@pyerunka](https://discuss.elastic.co/u/pyerunka)\
**Replies:** 3\
**Last updated:** [March 29, 2019, 9:41am UTC](https://discuss.elastic.co/t/can-we-provide-database-connection-in-fscrawler/174465 "2019-03-29T09:41:58Z")

</div>

Hi, Can someone guide me, Can we add database connection using FSCrawler? so that path can be fetched directly from database and files will also get indexed using same path. Thanks, Priyanka

---

## [How to search with only raw query JSON with Elastic Java API 6.5.1?](https://discuss.elastic.co/t/how-to-search-with-only-raw-query-json-with-elastic-java-api-6-5-1/174310)

<div class="topic-metadata">

**Author:** [@neerajjain92](https://discuss.elastic.co/u/neerajjain92)\
**Replies:** 3\
**Last updated:** [March 29, 2019, 9:36am UTC](https://discuss.elastic.co/t/how-to-search-with-only-raw-query-json-with-elastic-java-api-6-5-1/174310 "2019-03-29T09:36:18Z")

</div>

How can I take the raw JSON String and query via the Java API? It should work for any complex query that Curl accepts in Elastic. For example: { "query": { "bool": { "must": \[ { "match\_ph…

---

## [AccessDeniedException when trying to startup ElasticSearch](https://discuss.elastic.co/t/accessdeniedexception-when-trying-to-startup-elasticsearch/174484)

<div class="topic-metadata">

**Author:** [@ordner](https://discuss.elastic.co/u/ordner)\
**Replies:** 4\
**Last updated:** [March 29, 2019, 9:27am UTC](https://discuss.elastic.co/t/accessdeniedexception-when-trying-to-startup-elasticsearch/174484 "2019-03-29T09:27:54Z")

</div>

I am following this tutorial here: https://www.elastic.co/blog/elasticsearch-security-configure-tls-ssl-pki-authentication After generating the certs and moving them to config/certs and adding this to elasticsearch.yml: …

---

## [Distributed search, how to work?](https://discuss.elastic.co/t/distributed-search-how-to-work/173073)

<div class="topic-metadata">

**Author:** [@jerry-chen-315](https://discuss.elastic.co/u/jerry-chen-315)\
**Replies:** 5\
**Last updated:** [March 29, 2019, 9:19am UTC](https://discuss.elastic.co/t/distributed-search-how-to-work/173073 "2019-03-29T09:19:19Z")

</div>

Hello, I read this document about distributed search execution: https://www.elastic.co/guide/en/elasticsearch/guide/current/\_query\_phase.html If query is broadcast to every shard in the index. Are there duplicate quer…

---

## [If I am using low-level client I am unable to throw custom exception](https://discuss.elastic.co/t/if-i-am-using-low-level-client-i-am-unable-to-throw-custom-exception/173376)

<div class="topic-metadata">

**Author:** [@aashrithVarikuti](https://discuss.elastic.co/u/aashrithVarikuti)\
**Replies:** 1\
**Last updated:** [March 29, 2019, 9:17am UTC](https://discuss.elastic.co/t/if-i-am-using-low-level-client-i-am-unable-to-throw-custom-exception/173376 "2019-03-29T09:17:50Z")

</div>

Did anyone faced this kind of issue? Could you please help me out

---

## [Put mapping hanged on cluster and cluster is non-responsive](https://discuss.elastic.co/t/put-mapping-hanged-on-cluster-and-cluster-is-non-responsive/174479)

<div class="topic-metadata">

**Author:** [@Hitesh\_Chavhan](https://discuss.elastic.co/u/Hitesh_Chavhan)\
**Replies:** 1\
**Last updated:** [March 29, 2019, 8:37am UTC](https://discuss.elastic.co/t/put-mapping-hanged-on-cluster-and-cluster-is-non-responsive/174479 "2019-03-29T08:37:43Z")

</div>

We are using Elasticsearch 5.6 and Java8. We have updated the cluster with put mapping and few hours later the cluster stopped responding. Only \_cat/pending\_tasks responding. Somehow we can see multiple put-mapping ev…

---

## [Significance/Role of Action and Gateway forders in elasticsearch server](https://discuss.elastic.co/t/significance-role-of-action-and-gateway-forders-in-elasticsearch-server/174489)

<div class="topic-metadata">

**Author:** [@MKU](https://discuss.elastic.co/u/MKU)\
**Replies:** 3\
**Last updated:** [March 29, 2019, 8:35am UTC](https://discuss.elastic.co/t/significance-role-of-action-and-gateway-forders-in-elasticsearch-server/174489 "2019-03-29T08:35:50Z")

</div>

I would like to know what the files in action and gateway folder do in general,because while debugging elasticsearch i got some errors in these files. Thanks

---

## [How to change userid in docker contianer for bind mounting config / data?](https://discuss.elastic.co/t/how-to-change-userid-in-docker-contianer-for-bind-mounting-config-data/173097)

<div class="topic-metadata">

**Author:** [@asp](https://discuss.elastic.co/u/asp)\
**Replies:** 1\
**Last updated:** [March 29, 2019, 7:55am UTC](https://discuss.elastic.co/t/how-to-change-userid-in-docker-contianer-for-bind-mounting-config-data/173097 "2019-03-29T07:55:32Z")

</div>

Hi, the container for logstash, elasticsearch and kibana are using user:group 1000:1000 inside of the container. If I would like to use bind mounts to link in custom configuration or the data folder, I need to give use…

---

## [Custom indices on User Group with GOLD](https://discuss.elastic.co/t/custom-indices-on-user-group-with-gold/174486)

<div class="topic-metadata">

**Author:** [@Rui\_Martins](https://discuss.elastic.co/u/Rui_Martins)\
**Replies:** 0\
**Last updated:** [March 29, 2019, 7:28am UTC](https://discuss.elastic.co/t/custom-indices-on-user-group-with-gold/174486 "2019-03-29T07:28:46Z")

</div>

Hi, with GOLD license can we define custom indices on User Roles? Like this: The info on subscriptions site is not clear enough for me. Can anyone confirm please? Thanks,

---

## [searchSourceBuilder fetchSource flag doesn't work for aggregation responses](https://discuss.elastic.co/t/searchsourcebuilder-fetchsource-flag-doesnt-work-for-aggregation-responses/174482)

<div class="topic-metadata">

**Author:** [@Shankar\_Daruga](https://discuss.elastic.co/u/Shankar_Daruga)\
**Replies:** 0\
**Last updated:** [March 29, 2019, 6:59am UTC](https://discuss.elastic.co/t/searchsourcebuilder-fetchsource-flag-doesnt-work-for-aggregation-responses/174482 "2019-03-29T06:59:44Z")

</div>

Hi, We are using searchSourceBuilder to create queries. We have source enabled in our mapping and we've tried setting the searchSourceBuilder.fetchSource(false) in our client code. It works fine for normal search reques…

---

## [Designing elasitcsearch node spec - CPU cores](https://discuss.elastic.co/t/designing-elasitcsearch-node-spec-cpu-cores/174453)

<div class="topic-metadata">

**Author:** [@zidane28](https://discuss.elastic.co/u/zidane28)\
**Replies:** 5\
**Last updated:** [March 29, 2019, 6:57am UTC](https://discuss.elastic.co/t/designing-elasitcsearch-node-spec-cpu-cores/174453 "2019-03-29T06:57:06Z")

</div>

I not so sure whether this kind of question had been asked before, but I'm having problem on deciding how many cores should I put for my data nodes. I somehow know how many RAM or disk space I should assign, but for CPU…

---

## [Solutions for master timeouts while creating indices](https://discuss.elastic.co/t/solutions-for-master-timeouts-while-creating-indices/174367)

<div class="topic-metadata">

**Author:** [@animageofmine](https://discuss.elastic.co/u/animageofmine)\
**Replies:** 5\
**Last updated:** [March 29, 2019, 6:01am UTC](https://discuss.elastic.co/t/solutions-for-master-timeouts-while-creating-indices/174367 "2019-03-29T06:01:53Z")

</div>

I have read so many threads for ProcessClusterEventTimeoutException timeouts. We are facing the same while creating an index. Based on my understanding, the real issue is too many updates to cluster state causing this ti…

---

## [After migrating to elasticsearch 6.7 create index, exist index API's of JAVA REST HIGH API were deprecated](https://discuss.elastic.co/t/after-migrating-to-elasticsearch-6-7-create-index-exist-index-apis-of-java-rest-high-api-were-deprecated/174337)

<div class="topic-metadata">

**Author:** [@Harsha\_Yerasi](https://discuss.elastic.co/u/Harsha_Yerasi)\
**Replies:** 4\
**Last updated:** [March 29, 2019, 4:52am UTC](https://discuss.elastic.co/t/after-migrating-to-elasticsearch-6-7-create-index-exist-index-apis-of-java-rest-high-api-were-deprecated/174337 "2019-03-29T04:52:22Z")

</div>

Hi, I have just migrated from elasticsearch 6.6 to 6.7. I have created my index using the below guide. https://www.elastic.co/guide/en/elasticsearch/client/java-rest/6.7/java-rest-high-create-index.html But the creat…

---

## [Bad Gateway issue](https://discuss.elastic.co/t/bad-gateway-issue/174464)

<div class="topic-metadata">

**Author:** [@sukku77](https://discuss.elastic.co/u/sukku77)\
**Replies:** 0\
**Last updated:** [March 29, 2019, 4:31am UTC](https://discuss.elastic.co/t/bad-gateway-issue/174464 "2019-03-29T04:31:46Z")

</div>

Hi All, I am not able to search in Kibana UI for specific string value (which is indexed already) due to "Discover: Bad Gateway" alert pop up issue. But I am able to search for other String values except this case. But …

---

## [Pipeline Aggregation output not as expected](https://discuss.elastic.co/t/pipeline-aggregation-output-not-as-expected/174460)

<div class="topic-metadata">

**Author:** [@Xephonia](https://discuss.elastic.co/u/Xephonia)\
**Replies:** 0\
**Last updated:** [March 29, 2019, 4:00am UTC](https://discuss.elastic.co/t/pipeline-aggregation-output-not-as-expected/174460 "2019-03-29T04:00:14Z")

</div>

This is what i want to achieve. I want to get the number of times employees have visited given state/country. Following is the data present as format EmployeeId, state/country E1, France E2, France E2, France E3, Fra…

---

## [Impact on replacing Oracle JDK with openJDK](https://discuss.elastic.co/t/impact-on-replacing-oracle-jdk-with-openjdk/173883)

<div class="topic-metadata">

**Author:** [@Amol\_Gaitonde](https://discuss.elastic.co/u/Amol_Gaitonde)\
**Replies:** 2\
**Last updated:** [March 29, 2019, 2:56am UTC](https://discuss.elastic.co/t/impact-on-replacing-oracle-jdk-with-openjdk/173883 "2019-03-29T02:56:05Z")

</div>

We have moved to openJDK 8 on version 6.2.4 and since then we are noticing issues such as below. UNASSIGNED INDEX\_CREATED Frequentlty Kibana having intermittent no living connection error messages and status becomes Re…

---

## [\[ES5.1\] Query for documents that are present in index A, but not in index B](https://discuss.elastic.co/t/es5-1-query-for-documents-that-are-present-in-index-a-but-not-in-index-b/174445)

<div class="topic-metadata">

**Author:** [@hyankov](https://discuss.elastic.co/u/hyankov)\
**Replies:** 0\
**Last updated:** [March 29, 2019, 12:04am UTC](https://discuss.elastic.co/t/es5-1-query-for-documents-that-are-present-in-index-a-but-not-in-index-b/174445 "2019-03-29T00:04:23Z")

</div>

Greetings, I have index A and index B. Index B is a botched reindex of A. Problem is, index B now contains new data I can't lose. So I have documents that are present in A, or B or A&B. I will fix this by running anothe…

---

## [Elasticsearch request with c# NEST POST](https://discuss.elastic.co/t/elasticsearch-request-with-c-nest-post/173112)

<div class="topic-metadata">

**Author:** [@Philippe\_Schaeffer](https://discuss.elastic.co/u/Philippe_Schaeffer)\
**Replies:** 3\
**Last updated:** [March 28, 2019, 9:58pm UTC](https://discuss.elastic.co/t/elasticsearch-request-with-c-nest-post/173112 "2019-03-28T21:58:41Z")

</div>

Hello, Sorry to disturb you but I'm totally blocked, I'm french student and I work on a project in my company. I want to make a query in c# on elasticsearch. The adress which I can have a json response is: X.X.X.X:56…

---

## [Elasticsearch aggregation query ignores parent filter when setting min\_doc\_count to 0 in child terms aggregation](https://discuss.elastic.co/t/elasticsearch-aggregation-query-ignores-parent-filter-when-setting-min-doc-count-to-0-in-child-terms-aggregation/174434)

<div class="topic-metadata">

**Author:** [@m5tt](https://discuss.elastic.co/u/m5tt)\
**Replies:** 0\
**Last updated:** [March 28, 2019, 9:14pm UTC](https://discuss.elastic.co/t/elasticsearch-aggregation-query-ignores-parent-filter-when-setting-min-doc-count-to-0-in-child-terms-aggregation/174434 "2019-03-28T21:14:12Z")

</div>

If i run this query in Elasticsearch, it returns a bucket set aggregating on field name. Not returning any document that has a type field of 1 This is correct. {:size=\>0, :aggs=\> {:agg=\> {:filter=\>{:term=\>{"type"…

---

## [Curator delete\_indices curator.validators.SchemaCheck result:65 Schema error: extra keys not allowed @ data\['filter'\]](https://discuss.elastic.co/t/curator-delete-indices-curator-validators-schemacheck-result-65-schema-error-extra-keys-not-allowed-data-filter/174416)

<div class="topic-metadata">

**Author:** [@Ryan\_Downey](https://discuss.elastic.co/u/Ryan_Downey)\
**Replies:** 2\
**Last updated:** [March 28, 2019, 8:12pm UTC](https://discuss.elastic.co/t/curator-delete-indices-curator-validators-schemacheck-result-65-schema-error-extra-keys-not-allowed-data-filter/174416 "2019-03-28T20:12:04Z")

</div>

When testing Curator I get an error; Schema error: extra keys not allowed @ data\['filter'\], and I can't seem to fix the issue. A primary reference for this has been the thread https://discuss.elastic.co/t/curator-field-…

---

## [Elastic Index Scope Parameter](https://discuss.elastic.co/t/elastic-index-scope-parameter/174413)

<div class="topic-metadata">

**Author:** [@Vincent\_Stevenson](https://discuss.elastic.co/u/Vincent_Stevenson)\
**Replies:** 0\
**Last updated:** [March 28, 2019, 6:57pm UTC](https://discuss.elastic.co/t/elastic-index-scope-parameter/174413 "2019-03-28T18:57:05Z")

</div>

I am getting low quality search results because our Json documents have lots of nested fields which many repetitions of words that makes irrelevant Json documents get higher relevance scores than they should. Is it poss…

---

## [S3 plugin config in elasticsearch.yml](https://discuss.elastic.co/t/s3-plugin-config-in-elasticsearch-yml/174400)

<div class="topic-metadata">

**Author:** [@\_sar](https://discuss.elastic.co/u/_sar)\
**Replies:** 0\
**Last updated:** [March 28, 2019, 5:38pm UTC](https://discuss.elastic.co/t/s3-plugin-config-in-elasticsearch-yml/174400 "2019-03-28T17:38:23Z")

</div>

Installed Elasticsearch 6.7.0 and the service fails to start with the following error: \[2019-03-28T15:25:28,350\]\[WARN \]\[o.e.b.ElasticsearchUncaughtExceptionHandler\] \[cRr44aA\] uncaught exception in thread \[main\] org.el…

---

## [How do I get parts of a document distinctly](https://discuss.elastic.co/t/how-do-i-get-parts-of-a-document-distinctly/174390)

<div class="topic-metadata">

**Author:** [@asahun](https://discuss.elastic.co/u/asahun)\
**Replies:** 3\
**Last updated:** [March 28, 2019, 5:15pm UTC](https://discuss.elastic.co/t/how-do-i-get-parts-of-a-document-distinctly/174390 "2019-03-28T17:15:35Z")

</div>

I tried to simulate my date with the following table. But what I want out of it is three records containing City & State. e.g. Lets original data will look like, |ID|Product|Price|City|State| |100|ABC|$201|Seattle|WA| …

---

## [Run elasticsearch as root](https://discuss.elastic.co/t/run-elasticsearch-as-root/174338)

<div class="topic-metadata">

**Author:** [@freaka](https://discuss.elastic.co/u/freaka)\
**Replies:** 3\
**Last updated:** [March 28, 2019, 4:37pm UTC](https://discuss.elastic.co/t/run-elasticsearch-as-root/174338 "2019-03-28T16:37:50Z")

</div>

Hi, I have read on multiple occasions that you cannot run elasticsearch as root. I understand the principle behind this and I agree. However, due to very specific installation constraints, we do not install our solution…

---

## [Need help configuring xpack with elasticsearch on own deploy to GKE](https://discuss.elastic.co/t/need-help-configuring-xpack-with-elasticsearch-on-own-deploy-to-gke/172396)

<div class="topic-metadata">

**Author:** [@Gruido](https://discuss.elastic.co/u/Gruido)\
**Replies:** 5\
**Last updated:** [March 28, 2019, 4:09pm UTC](https://discuss.elastic.co/t/need-help-configuring-xpack-with-elasticsearch-on-own-deploy-to-gke/172396 "2019-03-28T16:09:44Z")

</div>

Need to know where and how to add xpack.security.enable: true in GKE K8s manifest/yml I know that by default when I deploy elasticsearch, xpack isn't enabled but is install so I could authenticate a user without the nee…

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

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