# Elasticsearch

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

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

**Page:** 1745

---

## [Using transport bulk from java](https://discuss.elastic.co/t/using-transport-bulk-from-java/125115)

<div class="topic-metadata">

**Author:** [@DaeyunKim](https://discuss.elastic.co/u/DaeyunKim)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 7:25am UTC](https://discuss.elastic.co/t/using-transport-bulk-from-java/125115 "2018-03-22T07:25:43Z")

</div>

I am executing using bulk api. then some error elasticsearch version : 5.1.2 org.elasticsearch.action.ActionRequestValidationException: Validation Failed: 1: no requests added; import static org.elasticsearch.common…

---

## [Read consistency for the sake of polling](https://discuss.elastic.co/t/read-consistency-for-the-sake-of-polling/125067)

<div class="topic-metadata">

**Author:** [@dunkymole](https://discuss.elastic.co/u/dunkymole)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 6:52am UTC](https://discuss.elastic.co/t/read-consistency-for-the-sake-of-polling/125067 "2018-03-22T06:52:19Z")

</div>

Hi. I have an elasticsearch cluster that will be written to by multiple contributors. 90% of the write activity is reindexing existing documents in place to accommodate changes to attributes. On the read side I have a …

---

## [Can we use ELK stack without X-Pack?](https://discuss.elastic.co/t/can-we-use-elk-stack-without-x-pack/125104)

<div class="topic-metadata">

**Author:** [@muthu\_kumar1](https://discuss.elastic.co/u/muthu_kumar1)\
**Replies:** 3\
**Last updated:** [March 22, 2018, 6:49am UTC](https://discuss.elastic.co/t/can-we-use-elk-stack-without-x-pack/125104 "2018-03-22T06:49:41Z")

</div>

Can we use ELK stack without X-Pack

---

## [Does snapshot registration need to happen every time sever is started?](https://discuss.elastic.co/t/does-snapshot-registration-need-to-happen-every-time-sever-is-started/124648)

<div class="topic-metadata">

**Author:** [@klaus](https://discuss.elastic.co/u/klaus)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 6:20am UTC](https://discuss.elastic.co/t/does-snapshot-registration-need-to-happen-every-time-sever-is-started/124648 "2018-03-22T06:20:41Z")

</div>

As I understand it, two steps are needed. the directory to be used for snapshot must exist in path.rep of elasticSearch.yml after all the nodes are up, registration is needed It is unclear from tehdocumentation whethe…

---

## [Use of fingerprint for searching, visualizing, etc](https://discuss.elastic.co/t/use-of-fingerprint-for-searching-visualizing-etc/124903)

<div class="topic-metadata">

**Author:** [@Sylvain-69](https://discuss.elastic.co/u/Sylvain-69)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 5:52am UTC](https://discuss.elastic.co/t/use-of-fingerprint-for-searching-visualizing-etc/124903 "2018-03-22T05:52:24Z")

</div>

Hello everybody ! Here is what I have in elasticsearch : URL access logs with those fields : SourceIP, SourcePort, DestIP, DestPort, User, SessionID, Fingerprint (made with all the previous fields), URL. Into the sa…

---

## [General Elastic Docker Image Questions](https://discuss.elastic.co/t/general-elastic-docker-image-questions/125087)

<div class="topic-metadata">

**Author:** [@laubnyc](https://discuss.elastic.co/u/laubnyc)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 5:29am UTC](https://discuss.elastic.co/t/general-elastic-docker-image-questions/125087 "2018-03-22T05:29:20Z")

</div>

Q1: Trying to better understand the Elastic Docker images. E.g., if you were to build a container with docker pull docker.elastic.co/elasticsearch/elasticsearch:6.2.3 This container could run indefinitely. Conversel…

---

## [Unable to find scripts files on disk exception](https://discuss.elastic.co/t/unable-to-find-scripts-files-on-disk-exception/125023)

<div class="topic-metadata">

**Author:** [@saii](https://discuss.elastic.co/u/saii)\
**Replies:** 8\
**Last updated:** [March 22, 2018, 3:35am UTC](https://discuss.elastic.co/t/unable-to-find-scripts-files-on-disk-exception/125023 "2018-03-22T03:35:50Z")

</div>

The following is the exception I get \[image\] How can I overcome this? I have understood that the script file hourly which I used in a watcher program is not being loaded..But .scripts is one of the indices present in …

---

## [Getting Error While creating Watcher execution!](https://discuss.elastic.co/t/getting-error-while-creating-watcher-execution/124214)

<div class="topic-metadata">

**Author:** [@naveen\_K.N](https://discuss.elastic.co/u/naveen_K.N)\
**Replies:** 12\
**Last updated:** [March 22, 2018, 3:34am UTC](https://discuss.elastic.co/t/getting-error-while-creating-watcher-execution/124214 "2018-03-22T03:34:04Z")

</div>

Hi Elastic search Team, someone please explain why im getting "No handler found for uri \[/\_xpack/watcher/watch/prod-SL3b\_jvm\_memkpi/\_execute;\] and method \[POST\]" while trying to execute watcher created ?? Thanks in adv…

---

## [Need help in creating a custom analyzer](https://discuss.elastic.co/t/need-help-in-creating-a-custom-analyzer/125076)

<div class="topic-metadata">

**Author:** [@fhalde](https://discuss.elastic.co/u/fhalde)\
**Replies:** 1\
**Last updated:** [March 22, 2018, 3:30am UTC](https://discuss.elastic.co/t/need-help-in-creating-a-custom-analyzer/125076 "2018-03-22T03:30:05Z")

</div>

Can someone look into this please

---

## [Need help on dictionary for spell check & auto correction](https://discuss.elastic.co/t/need-help-on-dictionary-for-spell-check-auto-correction/125096)

<div class="topic-metadata">

**Author:** [@hanyi8000](https://discuss.elastic.co/u/hanyi8000)\
**Replies:** 0\
**Last updated:** [March 22, 2018, 3:04am UTC](https://discuss.elastic.co/t/need-help-on-dictionary-for-spell-check-auto-correction/125096 "2018-03-22T03:04:18Z")

</div>

Greetings everyone, Currently we're building spell check & auto correction into our e-commerce search solution. We know ES provides term & phrase suggesters that may support this feature properly. However business peopl…

---

## [Geopoint lat and lot](https://discuss.elastic.co/t/geopoint-lat-and-lot/124669)

<div class="topic-metadata">

**Author:** [@strong666](https://discuss.elastic.co/u/strong666)\
**Replies:** 2\
**Last updated:** [March 22, 2018, 1:17am UTC](https://discuss.elastic.co/t/geopoint-lat-and-lot/124669 "2018-03-22T01:17:10Z")

</div>

I database to store the geographical position is a "lon, lat", such as: 108.714931, 34.3380499, but I see the document, is to Geo - point expressed as a string with the format: "lat, lon," only Geo - point array form is …

---

## [In ELK 6.0 version, where can I see shards ? Looks like I can't install Elastic-Head plugin which can give this information](https://discuss.elastic.co/t/in-elk-6-0-version-where-can-i-see-shards-looks-like-i-cant-install-elastic-head-plugin-which-can-give-this-information/125069)

<div class="topic-metadata">

**Author:** [@jason\_smith](https://discuss.elastic.co/u/jason_smith)\
**Replies:** 5\
**Last updated:** [March 21, 2018, 11:53pm UTC](https://discuss.elastic.co/t/in-elk-6-0-version-where-can-i-see-shards-looks-like-i-cant-install-elastic-head-plugin-which-can-give-this-information/125069 "2018-03-21T23:53:23Z")

</div>

In ELK 6.0 version, where can I see shards and all the nodes in the cluster ? Looks like I can't install Elastic-Head plugin which can give this information starting from ELK 5.0 version. I am using ELK 6.0 on windows 8…

---

## [Painless calculate average last 10 values](https://discuss.elastic.co/t/painless-calculate-average-last-10-values/123979)

<div class="topic-metadata">

**Author:** [@Rodrigo\_Tornis](https://discuss.elastic.co/u/Rodrigo_Tornis)\
**Replies:** 3\
**Last updated:** [March 21, 2018, 10:36pm UTC](https://discuss.elastic.co/t/painless-calculate-average-last-10-values/123979 "2018-03-21T22:36:46Z")

</div>

Hello guys! Is it possible to create a painless script to calculate the average of the last 10 values in the lastprice field for calculating price changes? Thank you!

---

## [Why is my term query not working?](https://discuss.elastic.co/t/why-is-my-term-query-not-working/125066)

<div class="topic-metadata">

**Author:** [@skilledmonster](https://discuss.elastic.co/u/skilledmonster)\
**Replies:** 4\
**Last updated:** [March 21, 2018, 9:59pm UTC](https://discuss.elastic.co/t/why-is-my-term-query-not-working/125066 "2018-03-21T21:59:56Z")

</div>

Here is my settings file - { "settings": { "mappings": { "default": { "properties": { "AIRPORT\_CODE": { "type": "text" }, "PROVINCE\_NAME": { "type": "text" }, "AIRPORT\_NAME…

---

## [Berlin team - looking for ES team teacher & consultant](https://discuss.elastic.co/t/berlin-team-looking-for-es-team-teacher-consultant/125009)

<div class="topic-metadata">

**Author:** [@basiclaser](https://discuss.elastic.co/u/basiclaser)\
**Replies:** 4\
**Last updated:** [March 21, 2018, 9:47pm UTC](https://discuss.elastic.co/t/berlin-team-looking-for-es-team-teacher-consultant/125009 "2018-03-21T21:47:40Z")

</div>

Hi there, I'm in a team of four devs in Berlin. We are looking for an ES expert to come and answer a bunch of questions, teach us some fundamentals, advise us on how to implement and deploy our ES in our use-case, and ma…

---

## [ES cluster with SSH and port forwarding, transport port 9300](https://discuss.elastic.co/t/es-cluster-with-ssh-and-port-forwarding-transport-port-9300/121642)

<div class="topic-metadata">

**Author:** [@Maxclac](https://discuss.elastic.co/u/Maxclac)\
**Replies:** 13\
**Last updated:** [March 21, 2018, 7:53pm UTC](https://discuss.elastic.co/t/es-cluster-with-ssh-and-port-forwarding-transport-port-9300/121642 "2018-03-21T19:53:43Z")

</div>

Hello everyone! I would like to set up an ES cluster consisting of three nodes, i.e. my local machine ('localhost') and two virtual machines in a remote network ('host1' and 'host2') For each of them, I have this very …

---

## [Wildcard search on fields using multi-match while not searching sub fields](https://discuss.elastic.co/t/wildcard-search-on-fields-using-multi-match-while-not-searching-sub-fields/125063)

<div class="topic-metadata">

**Author:** [@Nathanael\_Burt](https://discuss.elastic.co/u/Nathanael_Burt)\
**Replies:** 0\
**Last updated:** [March 21, 2018, 7:31pm UTC](https://discuss.elastic.co/t/wildcard-search-on-fields-using-multi-match-while-not-searching-sub-fields/125063 "2018-03-21T19:31:06Z")

</div>

We have a mapping that has different fields for different language analyzers. I've created a gist with a simplified version of it here: https://gist.github.com/nburt/cea693045ea0e81566d5b2a27b0e77e0 When we know the lan…

---

## [Unresponsiveness when snapshot starts](https://discuss.elastic.co/t/unresponsiveness-when-snapshot-starts/125052)

<div class="topic-metadata">

**Author:** [@CletusTSJY](https://discuss.elastic.co/u/CletusTSJY)\
**Replies:** 0\
**Last updated:** [March 21, 2018, 6:02pm UTC](https://discuss.elastic.co/t/unresponsiveness-when-snapshot-starts/125052 "2018-03-21T18:02:25Z")

</div>

I have a 5.1 cluster of about 200 million documents spread across 30 indices (150 shards), running on 10 nodes. I index about 2,000 documents per minute and run around 6,000 queries per minute. I have an automated job c…

---

## [Nested aggregation on ctx.payload.hits](https://discuss.elastic.co/t/nested-aggregation-on-ctx-payload-hits/124584)

<div class="topic-metadata">

**Author:** [@erickiersky](https://discuss.elastic.co/u/erickiersky)\
**Replies:** 2\
**Last updated:** [March 21, 2018, 5:57pm UTC](https://discuss.elastic.co/t/nested-aggregation-on-ctx-payload-hits/124584 "2018-03-21T17:57:45Z")

</div>

Hello, Elastic Fans! I am trying to use this example as a starting point: The changes I am making are detecting a steep rise, not a drop. And for the input, I need to aggregate a bucket that is simply the average doc…

---

## [Elasticsearch 6.2.3 and JDBC SQL driver for MySQL](https://discuss.elastic.co/t/elasticsearch-6-2-3-and-jdbc-sql-driver-for-mysql/125043)

<div class="topic-metadata">

**Author:** [@napoleon182](https://discuss.elastic.co/u/napoleon182)\
**Replies:** 1\
**Last updated:** [March 21, 2018, 5:53pm UTC](https://discuss.elastic.co/t/elasticsearch-6-2-3-and-jdbc-sql-driver-for-mysql/125043 "2018-03-21T17:53:33Z")

</div>

Hi All, quick question: I'm having troubles working with JDBC Input plugin (https://www.elastic.co/guide/en/logstash/current/plugins-inputs-jdbc.html). I tried to install the elasticsearch-rive, but apparently it has be…

---

## [Cannot intall elasticsearch-plugin -install mobz/elasticsearch-head](https://discuss.elastic.co/t/cannot-intall-elasticsearch-plugin-install-mobz-elasticsearch-head/125047)

<div class="topic-metadata">

**Author:** [@jason\_smith](https://discuss.elastic.co/u/jason_smith)\
**Replies:** 1\
**Last updated:** [March 21, 2018, 5:47pm UTC](https://discuss.elastic.co/t/cannot-intall-elasticsearch-plugin-install-mobz-elasticsearch-head/125047 "2018-03-21T17:47:44Z")

</div>

I am using ELK 6.0 version on windows 8 machine. Elasticsearch, Logstash and Kibana are all running only one windows 8 instance. First of all, do I need to install Elasticsearch-Head plugin? I read that it gives the co…

---

## [Watcher Iteration questions](https://discuss.elastic.co/t/watcher-iteration-questions/124880)

<div class="topic-metadata">

**Author:** [@jeremy.smith](https://discuss.elastic.co/u/jeremy.smith)\
**Replies:** 1\
**Last updated:** [March 21, 2018, 5:32pm UTC](https://discuss.elastic.co/t/watcher-iteration-questions/124880 "2018-03-21T17:32:15Z")

</div>

I wanted to know if there is a way to iterate over the ctx.payload.hits array to get ctx.payload.hits.0.\_source to go to ctx.payload.hits.1.\_source such that I can use 1 watcher to post inidividual slack messages for eac…

---

## [Data ingestion to cluster from multiple sources](https://discuss.elastic.co/t/data-ingestion-to-cluster-from-multiple-sources/124937)

<div class="topic-metadata">

**Author:** [@paspao](https://discuss.elastic.co/u/paspao)\
**Replies:** 4\
**Last updated:** [March 21, 2018, 5:15pm UTC](https://discuss.elastic.co/t/data-ingestion-to-cluster-from-multiple-sources/124937 "2018-03-21T17:15:15Z")

</div>

Hello, I am starting to test my new 3 nodes ES cluster, but it is my first experience with it. In production cluster will receive data in real time from 7 sources to the same index. I expect 1M entries per data source…

---

## ["Too many dynamic script compilations" When using int literals](https://discuss.elastic.co/t/too-many-dynamic-script-compilations-when-using-int-literals/124835)

<div class="topic-metadata">

**Author:** [@neoform](https://discuss.elastic.co/u/neoform)\
**Replies:** 5\
**Last updated:** [March 21, 2018, 4:52pm UTC](https://discuss.elastic.co/t/too-many-dynamic-script-compilations-when-using-int-literals/124835 "2018-03-21T16:52:26Z")

</div>

Too many dynamic script compilations within, max: \[75/5m\]; please use indexed, or scripts with parameters instead; this limit can be changed by the \[script.max\_compilations\_rate\] The script I'm using has hardcoded int…

---

## [Docker elastic 6 unknown authority](https://discuss.elastic.co/t/docker-elastic-6-unknown-authority/123863)

<div class="topic-metadata">

**Author:** [@HugoRomaniCortes](https://discuss.elastic.co/u/HugoRomaniCortes)\
**Replies:** 5\
**Last updated:** [March 21, 2018, 4:23pm UTC](https://discuss.elastic.co/t/docker-elastic-6-unknown-authority/123863 "2018-03-21T16:23:18Z")

</div>

Hello, I'm struggling while pulling elastic 6.x images from elastic docker repository. I get the message: https://docker.elastic.co/v2/: x509: certificate signed by unknown authority I'm running the command on a linux…

---

## [Multiple field Sorting after bucket aggregation in Nest elastic search C#](https://discuss.elastic.co/t/multiple-field-sorting-after-bucket-aggregation-in-nest-elastic-search-c/125025)

<div class="topic-metadata">

**Author:** [@developer\_ak](https://discuss.elastic.co/u/developer_ak)\
**Replies:** 0\
**Last updated:** [March 21, 2018, 3:55pm UTC](https://discuss.elastic.co/t/multiple-field-sorting-after-bucket-aggregation-in-nest-elastic-search-c/125025 "2018-03-21T15:55:04Z")

</div>

Hi All I am trying to write sorting on multiple fields after performing bucketing aggregation. When I upgraded to Nest 6.0.0.0 C# I am getting an error saying that the following I need to convert my descriptor to IProm…

---

## [Post transformation from Elasticsearch to display in Kibana](https://discuss.elastic.co/t/post-transformation-from-elasticsearch-to-display-in-kibana/125017)

<div class="topic-metadata">

**Author:** [@tehmoon](https://discuss.elastic.co/u/tehmoon)\
**Replies:** 0\
**Last updated:** [March 21, 2018, 3:18pm UTC](https://discuss.elastic.co/t/post-transformation-from-elasticsearch-to-display-in-kibana/125017 "2018-03-21T15:18:25Z")

</div>

Hi, It is more a discussion rather that a direct question. Imagine you have the following use case: You insert the type of document as show bellow from different sources: { "count": 10000, "offset": 1234, } The c…

---

## [A little help getting started with ngram](https://discuss.elastic.co/t/a-little-help-getting-started-with-ngram/125010)

<div class="topic-metadata">

**Author:** [@bhulsman](https://discuss.elastic.co/u/bhulsman)\
**Replies:** 1\
**Last updated:** [March 21, 2018, 3:04pm UTC](https://discuss.elastic.co/t/a-little-help-getting-started-with-ngram/125010 "2018-03-21T15:04:06Z")

</div>

Just yesterday I started working with ElasticSearch and I'm pretty happy with how it works. There are just a few things I can't get my head wrapped around yet. See the situation below: {id: 5, name: "Lorem ipsum dolor s…

---

## [Bulk Indexing Rate](https://discuss.elastic.co/t/bulk-indexing-rate/124973)

<div class="topic-metadata">

**Author:** [@wpearson4](https://discuss.elastic.co/u/wpearson4)\
**Replies:** 3\
**Last updated:** [March 21, 2018, 2:48pm UTC](https://discuss.elastic.co/t/bulk-indexing-rate/124973 "2018-03-21T14:48:14Z")

</div>

I am running a 4 node cluster 2 data nodes 1.5 TB SSD each, 64gb Ram Each and Hexacore Processor, 1 Master node 16gb ram 4 core processor, 1 Client node 16gb ram 4 core processor. I am bulking index to http endpoint \_b…

---

## [Curator - SSL](https://discuss.elastic.co/t/curator-ssl/124999)

<div class="topic-metadata">

**Author:** [@adam.wendling](https://discuss.elastic.co/u/adam.wendling)\
**Replies:** 1\
**Last updated:** [March 21, 2018, 2:42pm UTC](https://discuss.elastic.co/t/curator-ssl/124999 "2018-03-21T14:42:25Z")

</div>

Hello. I am trying to setup curator with SSL. It is curator 5.4. I have put the certificate path and key path in the config file. When I try to run curator from the command line, it asks me to Enter PEM pass phrase: . I…

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

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