# Elasticsearch

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

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

**Page:** 1456

---

## [Seeking suggestions on alternative for my parent-child model situation](https://discuss.elastic.co/t/seeking-suggestions-on-alternative-for-my-parent-child-model-situation/160558)

<div class="topic-metadata">

**Author:** [@avenky](https://discuss.elastic.co/u/avenky)\
**Replies:** 0\
**Last updated:** [December 12, 2018, 2:27pm UTC](https://discuss.elastic.co/t/seeking-suggestions-on-alternative-for-my-parent-child-model-situation/160558 "2018-12-12T14:27:58Z")

</div>

Hi All, #0. Accounts Details (slowly changing dimension) | | | | ---\> #1. Balances (daily snapshot - truncated and loaded daily) | | ---\> #2. Transactions (history data - appended daily) | | ---\> #3. Acces…

---

## [Missing required email account setting for account](https://discuss.elastic.co/t/missing-required-email-account-setting-for-account/160394)

<div class="topic-metadata">

**Author:** [@sebastiaanspeck](https://discuss.elastic.co/u/sebastiaanspeck)\
**Replies:** 1\
**Last updated:** [December 12, 2018, 12:47pm UTC](https://discuss.elastic.co/t/missing-required-email-account-setting-for-account/160394 "2018-12-12T12:47:01Z")

</div>

I added this lines to my elasticsearch.yml and my elasticsearch.yml looks like this: xpack.notification.email.account: gmail\_account: profile: gmail smtp: auth: true starttls.…

---

## [Can we send two emails when the data matches particular string?](https://discuss.elastic.co/t/can-we-send-two-emails-when-the-data-matches-particular-string/160220)

<div class="topic-metadata">

**Author:** [@sudhakar\_katakara](https://discuss.elastic.co/u/sudhakar_katakara)\
**Replies:** 0\
**Last updated:** [December 10, 2018, 4:52pm UTC](https://discuss.elastic.co/t/can-we-send-two-emails-when-the-data-matches-particular-string/160220 "2018-12-10T16:52:33Z")

</div>

we are monitoring Infrastructure (around 5000 servers) using different monitoring tools(around 5 tools). Whenever any server goes down, all monitoring tools generate an events and send an email. So approximately if serve…

---

## [Elasticsearch Pricing Inquiry](https://discuss.elastic.co/t/elasticsearch-pricing-inquiry/160477)

<div class="topic-metadata">

**Author:** [@Churchill](https://discuss.elastic.co/u/Churchill)\
**Replies:** 1\
**Last updated:** [December 12, 2018, 12:43pm UTC](https://discuss.elastic.co/t/elasticsearch-pricing-inquiry/160477 "2018-12-12T12:43:57Z")

</div>

Good day, I would like to request for a price quotations for all your Elasticsearch and Elasticsearch Cluster plans for Azure. Thank you!

---

## [Restrict mapping so that only a single entity is inserted rather than an array](https://discuss.elastic.co/t/restrict-mapping-so-that-only-a-single-entity-is-inserted-rather-than-an-array/160478)

<div class="topic-metadata">

**Author:** [@akg002](https://discuss.elastic.co/u/akg002)\
**Replies:** 1\
**Last updated:** [December 12, 2018, 12:39pm UTC](https://discuss.elastic.co/t/restrict-mapping-so-that-only-a-single-entity-is-inserted-rather-than-an-array/160478 "2018-12-12T12:39:10Z")

</div>

I have a field which strictly needs to be a single entity. But elastic accepts array as well. Can I restrict this behaviour such that only one element can be inserted.

---

## [Proper index routing during Shrink in ES 5.5](https://discuss.elastic.co/t/proper-index-routing-during-shrink-in-es-5-5/160532)

<div class="topic-metadata">

**Author:** [@lonzodc](https://discuss.elastic.co/u/lonzodc)\
**Replies:** 0\
**Last updated:** [December 12, 2018, 11:45am UTC](https://discuss.elastic.co/t/proper-index-routing-during-shrink-in-es-5-5/160532 "2018-12-12T11:45:48Z")

</div>

Hi, I need to run the Shrink API on multiple indices having the default of 5 shards. Shrink will decrease the number of shard from 5 to 1. However, as a prerequisite to the Shrink API, a "index.routing.allocation.requir…

---

## [Retrieve role info in Elasticsearch plugin](https://discuss.elastic.co/t/retrieve-role-info-in-elasticsearch-plugin/160199)

<div class="topic-metadata">

**Author:** [@Uiidoi12](https://discuss.elastic.co/u/Uiidoi12)\
**Replies:** 4\
**Last updated:** [December 12, 2018, 11:18am UTC](https://discuss.elastic.co/t/retrieve-role-info-in-elasticsearch-plugin/160199 "2018-12-12T11:18:46Z")

</div>

Hi, I'm building a custom plugin and need to retrieve, at some point, all info about a specific role by its name. How can I do that? Do I need to use org.elasticsearch.client.Client, is so could you provide a sample p…

---

## [Script fields returning 0 for half\_float field](https://discuss.elastic.co/t/script-fields-returning-0-for-half-float-field/160371)

<div class="topic-metadata">

**Author:** [@guilherme\_maranhao](https://discuss.elastic.co/u/guilherme_maranhao)\
**Replies:** 3\
**Last updated:** [December 12, 2018, 11:13am UTC](https://discuss.elastic.co/t/script-fields-returning-0-for-half-float-field/160371 "2018-12-12T11:13:12Z")

</div>

Hi there, I have the following nested mapping: my\_object\_nested\_field, type: nested { my\_inner\_object { my\_field, type: half\_float } } My \_source clause contains the 'my\_object\_nested\_field.my\_inner\_ob…

---

## [Filtering on aggregated values](https://discuss.elastic.co/t/filtering-on-aggregated-values/158576)

<div class="topic-metadata">

**Author:** [@cezet](https://discuss.elastic.co/u/cezet)\
**Replies:** 2\
**Last updated:** [December 12, 2018, 10:41am UTC](https://discuss.elastic.co/t/filtering-on-aggregated-values/158576 "2018-12-12T10:41:09Z")

</div>

Hi all, I'm a newbie in elasticsearch, so I apologise if my question is incorrect, too simple ... I have a type called "individual", also have a type "income", individual has many incomes. income type contains fileds d…

---

## [Facing issue while starting elasticsearch](https://discuss.elastic.co/t/facing-issue-while-starting-elasticsearch/160507)

<div class="topic-metadata">

**Author:** [@johnrabi](https://discuss.elastic.co/u/johnrabi)\
**Replies:** 3\
**Last updated:** [December 12, 2018, 10:16am UTC](https://discuss.elastic.co/t/facing-issue-while-starting-elasticsearch/160507 "2018-12-12T10:16:17Z")

</div>

Hi Team, i am facing issue , while starting the elasticsearch at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:86) Caused by: ParsingException\[Failed to parse object: expecting token of type \[START…

---

## [Elasticsearch fails to start](https://discuss.elastic.co/t/elasticsearch-fails-to-start/160347)

<div class="topic-metadata">

**Author:** [@sph18](https://discuss.elastic.co/u/sph18)\
**Replies:** 3\
**Last updated:** [December 12, 2018, 9:37am UTC](https://discuss.elastic.co/t/elasticsearch-fails-to-start/160347 "2018-12-12T09:37:41Z")

</div>

Hi everyone one. I am a junior sysadmin and I am very new to Elasticsearch. My OS is CentOS 6.9 and I have installed elasticsearch-2.4.6 with Java 1.8.0\_191 When I start the elasticsearch service I get the following er…

---

## [Cluster endpoint with coordinating node](https://discuss.elastic.co/t/cluster-endpoint-with-coordinating-node/160492)

<div class="topic-metadata">

**Author:** [@pkaramol](https://discuss.elastic.co/u/pkaramol)\
**Replies:** 0\
**Last updated:** [December 12, 2018, 7:52am UTC](https://discuss.elastic.co/t/cluster-endpoint-with-coordinating-node/160492 "2018-12-12T07:52:20Z")

</div>

I have set up a 6 node (3 master + 3 data) cluster. I have also set a 7th coordinating node just to expose kibana as outlined here. What is now the cluster endpoint? In my elasticsearch.yml cluster.name: es-esa-stag…

---

## [Extract top visited websites from logs](https://discuss.elastic.co/t/extract-top-visited-websites-from-logs/29189)

<div class="topic-metadata">

**Author:** [@Hayder\_Abbass](https://discuss.elastic.co/u/Hayder_Abbass)\
**Replies:** 3\
**Last updated:** [June 8, 2017, 6:52pm UTC](https://discuss.elastic.co/t/extract-top-visited-websites-from-logs/29189 "2017-06-08T18:52:24Z")

</div>

Hello, We are storing log data containing information about sites that has been visited from our network. I had like to query the top 10 visited websites. How can I achieve this with ElasticSearch? The index mapping is…

---

## [Xpack with elasticsearch java rest client](https://discuss.elastic.co/t/xpack-with-elasticsearch-java-rest-client/160379)

<div class="topic-metadata">

**Author:** [@utkarsh](https://discuss.elastic.co/u/utkarsh)\
**Replies:** 2\
**Last updated:** [December 12, 2018, 4:38am UTC](https://discuss.elastic.co/t/xpack-with-elasticsearch-java-rest-client/160379 "2018-12-12T04:38:35Z")

</div>

Updating elastic to 5.x from 2.x needs shield security to be replaced with x-pack security and java Transport client with java Rest-High-Level client/Low-Level-Client. Where can i find the information on how to use xpac…

---

## [JDBC SQL using DBeaver and SSL/TLS](https://discuss.elastic.co/t/jdbc-sql-using-dbeaver-and-ssl-tls/160472)

<div class="topic-metadata">

**Author:** [@mickmill54](https://discuss.elastic.co/u/mickmill54)\
**Replies:** 0\
**Last updated:** [December 12, 2018, 3:59am UTC](https://discuss.elastic.co/t/jdbc-sql-using-dbeaver-and-ssl-tls/160472 "2018-12-12T03:59:17Z")

</div>

There is an excellent article on the elastic site for configuring DBeaver, a sql client for OSX, https://www.elastic.co/guide/en/elasticsearch/reference/current/sql-client-apps-dbeaver.html We have SSL/TLS enabled on ou…

---

## [Bulk update performance](https://discuss.elastic.co/t/bulk-update-performance/160468)

<div class="topic-metadata">

**Author:** [@guanghaofan](https://discuss.elastic.co/u/guanghaofan)\
**Replies:** 0\
**Last updated:** [December 12, 2018, 3:33am UTC](https://discuss.elastic.co/t/bulk-update-performance/160468 "2018-12-12T03:33:17Z")

</div>

hi es experts: I use the es high/low leve JAVA API to update some docs, what we found is the speed is very low, and it takes about 3-4 mins for a 'Bulk Request' size about 10K. then we I did is separate the Big Bulk Si…

---

## [Missing (few) official Docker images](https://discuss.elastic.co/t/missing-few-official-docker-images/160138)

<div class="topic-metadata">

**Author:** [@renan](https://discuss.elastic.co/u/renan)\
**Replies:** 3\
**Last updated:** [December 12, 2018, 2:31am UTC](https://discuss.elastic.co/t/missing-few-official-docker-images/160138 "2018-12-12T02:31:08Z")

</div>

At Werkspot (part of IAC / HomeAdvisor US) we extensively use Elastic products for both full-text search for our platform and for our centralized logging system. As we are migrating our stack to run on top of Kubernetes…

---

## [How to install curator at offline environment?](https://discuss.elastic.co/t/how-to-install-curator-at-offline-environment/160323)

<div class="topic-metadata">

**Author:** [@kimchigood](https://discuss.elastic.co/u/kimchigood)\
**Replies:** 2\
**Last updated:** [December 12, 2018, 2:10am UTC](https://discuss.elastic.co/t/how-to-install-curator-at-offline-environment/160323 "2018-12-12T02:10:49Z")

</div>

Hello. I want to install curator at offline environment. i tried to install each dependencies manually but failed. is there any solution with out internet access?

---

## [Deploying elasticsearch cluster in kubernetes - how to deal with storage?](https://discuss.elastic.co/t/deploying-elasticsearch-cluster-in-kubernetes-how-to-deal-with-storage/160456)

<div class="topic-metadata">

**Author:** [@ethrbunny](https://discuss.elastic.co/u/ethrbunny)\
**Replies:** 0\
**Last updated:** [December 12, 2018, 1:16am UTC](https://discuss.elastic.co/t/deploying-elasticsearch-cluster-in-kubernetes-how-to-deal-with-storage/160456 "2018-12-12T01:16:56Z")

</div>

Im wanting to grow my elasticsearch installation into a cluster. To this end I'd like to run it under kubernetes but I can't figure out how to keep the various data stores (per container) properly assigned. IE if I were…

---

## [Read file from Elasticsearch plugin](https://discuss.elastic.co/t/read-file-from-elasticsearch-plugin/160374)

<div class="topic-metadata">

**Author:** [@Uiidoi12](https://discuss.elastic.co/u/Uiidoi12)\
**Replies:** 1\
**Last updated:** [December 11, 2018, 10:10pm UTC](https://discuss.elastic.co/t/read-file-from-elasticsearch-plugin/160374 "2018-12-11T22:10:48Z")

</div>

Hi, I'm trying to read a file inside my custom plugin like this: JsonReader reader = new JsonReader(new FileReader(getClass().getClassLoader().getResource( "myplugin/es/plugin/file.json").getFile())); but …

---

## [No monitoring data collected](https://discuss.elastic.co/t/no-monitoring-data-collected/160348)

<div class="topic-metadata">

**Author:** [@Nicola\_Ambrosetti\_Br](https://discuss.elastic.co/u/Nicola_Ambrosetti_Br)\
**Replies:** 3\
**Last updated:** [December 11, 2018, 9:10pm UTC](https://discuss.elastic.co/t/no-monitoring-data-collected/160348 "2018-12-11T21:10:10Z")

</div>

I've just setup a small elastic cluster with version 6.5.2. I've activated monitoring both in kibana and logstash and I can see that there are monitoring indexes for all: \[ambnic@myhome ~\]$ curl http://localhost:9200/\_c…

---

## [Class\_cast\_exception for dynamic field with "." in its name](https://discuss.elastic.co/t/class-cast-exception-for-dynamic-field-with-in-its-name/158819)

<div class="topic-metadata">

**Author:** [@Steven\_Ensslen](https://discuss.elastic.co/u/Steven_Ensslen)\
**Replies:** 4\
**Last updated:** [December 11, 2018, 8:59pm UTC](https://discuss.elastic.co/t/class-cast-exception-for-dynamic-field-with-in-its-name/158819 "2018-12-11T20:59:22Z")

</div>

I have an index with dynamic\_templates set as follows "dynamic\_templates": \[ { "all\_dynamic\_as\_keyword": { "match\_mapping\_type": "\*", "mapping": { …

---

## [Is it possible to load an ingest pipeline without using the HTTP API?](https://discuss.elastic.co/t/is-it-possible-to-load-an-ingest-pipeline-without-using-the-http-api/160345)

<div class="topic-metadata">

**Author:** [@johnny90210](https://discuss.elastic.co/u/johnny90210)\
**Replies:** 1\
**Last updated:** [December 11, 2018, 8:02pm UTC](https://discuss.elastic.co/t/is-it-possible-to-load-an-ingest-pipeline-without-using-the-http-api/160345 "2018-12-11T20:02:35Z")

</div>

I want to load an ingest pipeline into my Dockerized ES instance. I could do this using curl in the CMD directive but I'd rather just load it directly somehow, as I don't want to modify the container. Is there a way to d…

---

## [Query to ignore fields with empty content](https://discuss.elastic.co/t/query-to-ignore-fields-with-empty-content/156756)

<div class="topic-metadata">

**Author:** [@Pradeep\_ES](https://discuss.elastic.co/u/Pradeep_ES)\
**Replies:** 6\
**Last updated:** [December 11, 2018, 7:45pm UTC](https://discuss.elastic.co/t/query-to-ignore-fields-with-empty-content/156756 "2018-12-11T19:45:59Z")

</div>

I have the following requirements a) Show suggestions if a query has hits in both query\_terms and trigger\_terms b) Show suggestions if a query has hits in query\_terms and trigger\_terms is an empty array with no content …

---

## [Adding mode nodes to cluster slow down search performance](https://discuss.elastic.co/t/adding-mode-nodes-to-cluster-slow-down-search-performance/160272)

<div class="topic-metadata">

**Author:** [@okproject](https://discuss.elastic.co/u/okproject)\
**Replies:** 8\
**Last updated:** [December 11, 2018, 6:25pm UTC](https://discuss.elastic.co/t/adding-mode-nodes-to-cluster-slow-down-search-performance/160272 "2018-12-11T18:25:40Z")

</div>

Hi, Summary I have 2 questions When i add more nodes to the cluster, simple search performance slow down. Can you please help to achieve this problem ? I shared details at the bottom. I want to know that elasticsear…

---

## [Bucket\_sort aggregation Java API](https://discuss.elastic.co/t/bucket-sort-aggregation-java-api/160425)

<div class="topic-metadata">

**Author:** [@pablo\_rufat](https://discuss.elastic.co/u/pablo_rufat)\
**Replies:** 0\
**Last updated:** [December 11, 2018, 6:13pm UTC](https://discuss.elastic.co/t/bucket-sort-aggregation-java-api/160425 "2018-12-11T18:13:39Z")

</div>

Hi everybody! I need to use the Pipeline Aggregation bucket\_sort in a java REST API I'm developing. Reading the documentation I saw it's not listed in the pipeline aggregations section: https://www.elastic.co/guide/en…

---

## [Storage footprint not the same as cummulative index size, why is that,](https://discuss.elastic.co/t/storage-footprint-not-the-same-as-cummulative-index-size-why-is-that/158872)

<div class="topic-metadata">

**Author:** [@jacobot](https://discuss.elastic.co/u/jacobot)\
**Replies:** 13\
**Last updated:** [December 11, 2018, 5:43pm UTC](https://discuss.elastic.co/t/storage-footprint-not-the-same-as-cummulative-index-size-why-is-that/158872 "2018-12-11T17:43:46Z")

</div>

Hi, i am issueing this query GET /\_cat/allocation?v&h=disk.indices,disk.avail,disk.used,disk.total,disk.percent response disk.indices disk.avail disk.used disk.total disk.percent 10.2gb 15.2gb 34.6gb …

---

## [What type of cluster configuration is best for indexing/bulk upload reliability?](https://discuss.elastic.co/t/what-type-of-cluster-configuration-is-best-for-indexing-bulk-upload-reliability/160417)

<div class="topic-metadata">

**Author:** [@juiip](https://discuss.elastic.co/u/juiip)\
**Replies:** 0\
**Last updated:** [December 11, 2018, 5:30pm UTC](https://discuss.elastic.co/t/what-type-of-cluster-configuration-is-best-for-indexing-bulk-upload-reliability/160417 "2018-12-11T17:30:32Z")

</div>

I want to configure an Elasticsearch cluster so that indexing through bulk uploads are fast and reliable. The cluster will be made up on 6 nodes, but I'm unsure of which type of node handles indexing and bulk uploads, an…

---

## [Unable to get snapshot information from repository with Curator](https://discuss.elastic.co/t/unable-to-get-snapshot-information-from-repository-with-curator/160365)

<div class="topic-metadata">

**Author:** [@aleksei.saiko](https://discuss.elastic.co/u/aleksei.saiko)\
**Replies:** 3\
**Last updated:** [December 11, 2018, 4:13pm UTC](https://discuss.elastic.co/t/unable-to-get-snapshot-information-from-repository-with-curator/160365 "2018-12-11T16:13:10Z")

</div>

Hi there! I configured both s3 repository in AWS, made a backup there, and it worked. But now, I want to test the restore action with Curator. I created new instance, installed ES, S3 plugin, curator, configured it to…

---

## [Elastic licensing in virtualised environments](https://discuss.elastic.co/t/elastic-licensing-in-virtualised-environments/160367)

<div class="topic-metadata">

**Author:** [@rayh](https://discuss.elastic.co/u/rayh)\
**Replies:** 4\
**Last updated:** [December 11, 2018, 3:33pm UTC](https://discuss.elastic.co/t/elastic-licensing-in-virtualised-environments/160367 "2018-12-11T15:33:54Z")

</div>

Hi I am a little unsure about the elastic.co licensing for running multiple elasticsearch instances on a single host - is the license per instance or per physical host? Also how is that affected by HA functionality like…

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

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