# Elasticsearch

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

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

**Page:** 1633

---

## [Trying to set up analysis-icu plugin getting exception message](https://discuss.elastic.co/t/trying-to-set-up-analysis-icu-plugin-getting-exception-message/138220)

<div class="topic-metadata">

**Author:** [@Suleyman\_Yalman](https://discuss.elastic.co/u/Suleyman_Yalman)\
**Replies:** 0\
**Last updated:** [July 2, 2018, 2:01pm UTC](https://discuss.elastic.co/t/trying-to-set-up-analysis-icu-plugin-getting-exception-message/138220 "2018-07-02T14:01:30Z")

</div>

hi . l am trying to set up analysis-icu plugin getting below exception message what should l do? C:\\Program Files\\Elasticsearch\\bin\>elasticsearch-plugin install analysis-icu Exception in thread "main" java.net.Connect…

---

## [Disk space getting filled up](https://discuss.elastic.co/t/disk-space-getting-filled-up/137622)

<div class="topic-metadata">

**Author:** [@joshua625](https://discuss.elastic.co/u/joshua625)\
**Replies:** 10\
**Last updated:** [July 2, 2018, 1:57pm UTC](https://discuss.elastic.co/t/disk-space-getting-filled-up/137622 "2018-07-02T13:57:56Z")

</div>

Hello, I'm running out of disk volume even though my indices shows less amt of space. i.e I have something like 250GB out of which I can see 8 gb of indices. but, its occupying almost 150+GB/250 GB space of stuff. I bel…

---

## [Elasticsearch read-only after upgrade (6.2.0 -\> 6.3.0)](https://discuss.elastic.co/t/elasticsearch-read-only-after-upgrade-6-2-0-6-3-0/136496)

<div class="topic-metadata">

**Author:** [@jarnold](https://discuss.elastic.co/u/jarnold)\
**Replies:** 1\
**Last updated:** [July 2, 2018, 1:28pm UTC](https://discuss.elastic.co/t/elasticsearch-read-only-after-upgrade-6-2-0-6-3-0/136496 "2018-07-02T13:28:32Z")

</div>

I upgraded elasticsearch, kibana and logstash this morning, which seems to have caused the database to become read-only, as evidenced by the following log lines; \[2018-06-19T13:51:37,700\]\[ERROR\]\[o.e.x.w.e.ExecutionServi…

---

## [How to configure proxy setting for s3 repository plugins](https://discuss.elastic.co/t/how-to-configure-proxy-setting-for-s3-repository-plugins/137012)

<div class="topic-metadata">

**Author:** [@BKS089](https://discuss.elastic.co/u/BKS089)\
**Replies:** 3\
**Last updated:** [July 2, 2018, 1:06pm UTC](https://discuss.elastic.co/t/how-to-configure-proxy-setting-for-s3-repository-plugins/137012 "2018-07-02T13:06:09Z")

</div>

I have configured below setting echo "proxy.elasticsearch.internal" | ./elasticsearch-keystore add --stdin s3.client.default.proxy.host echo "3128" | ./elasticsearch-keystore add --stdin s3.client.default.proxy.por…

---

## [Cannot connect to localhost:9200/](https://discuss.elastic.co/t/cannot-connect-to-localhost-9200/138158)

<div class="topic-metadata">

**Author:** [@Sonny\_Berggreen\_Mads](https://discuss.elastic.co/u/Sonny_Berggreen_Mads)\
**Replies:** 9\
**Last updated:** [July 2, 2018, 12:38pm UTC](https://discuss.elastic.co/t/cannot-connect-to-localhost-9200/138158 "2018-07-02T12:38:55Z")

</div>

Hi, I'm not able to connect to localhost:9200/, can anybody help me? Thanks. Best Sonny

---

## [ML Job Failed: Error opening config file](https://discuss.elastic.co/t/ml-job-failed-error-opening-config-file/138170)

<div class="topic-metadata">

**Author:** [@vkemp](https://discuss.elastic.co/u/vkemp)\
**Replies:** 3\
**Last updated:** [July 2, 2018, 12:34pm UTC](https://discuss.elastic.co/t/ml-job-failed-error-opening-config-file/138170 "2018-07-02T12:34:57Z")

</div>

After I submit a straightforward Single Metric Job, it fails to run. No details in the UI. Elasticsearch and Kibana run on seperate hosts, both Windows Server 2016. The main error from the elasticsearch log after submitt…

---

## [java.nio.file.FileSystemException](https://discuss.elastic.co/t/java-nio-file-filesystemexception/138160)

<div class="topic-metadata">

**Author:** [@piingluo](https://discuss.elastic.co/u/piingluo)\
**Replies:** 5\
**Last updated:** [July 2, 2018, 12:27pm UTC](https://discuss.elastic.co/t/java-nio-file-filesystemexception/138160 "2018-07-02T12:27:37Z")

</div>

after i delete an indices, the log keeps getting the follow error: \[2018-07-02T17:24:30,396\]\[WARN \]\[o.e.g.DanglingIndicesState\] \[node-2\] failed to list dangling indices java.nio.file.FileSystemException: /elasticsearch/…

---

## [Elasticsearch dead but pid file exits](https://discuss.elastic.co/t/elasticsearch-dead-but-pid-file-exits/138198)

<div class="topic-metadata">

**Author:** [@Manoj\_13](https://discuss.elastic.co/u/Manoj_13)\
**Replies:** 0\
**Last updated:** [July 2, 2018, 12:07pm UTC](https://discuss.elastic.co/t/elasticsearch-dead-but-pid-file-exits/138198 "2018-07-02T12:07:32Z")

</div>

HI, I tried restarting the elasticsearch cluster by stop/start all the nodes. After service start, we see the following error: Elasticsearch dead but pid file exits. Logs are not getting populated also. Checked for …

---

## [Problems installing Elastic Search](https://discuss.elastic.co/t/problems-installing-elastic-search/138128)

<div class="topic-metadata">

**Author:** [@Sonny\_Berggreen\_Mads](https://discuss.elastic.co/u/Sonny_Berggreen_Mads)\
**Replies:** 2\
**Last updated:** [July 2, 2018, 11:56am UTC](https://discuss.elastic.co/t/problems-installing-elastic-search/138128 "2018-07-02T11:56:53Z")

</div>

Dear all, I have trouble installing Elastic Search. I have unfolded the folder "elasticsearch-6.3.0" which contains the elasticsearch.bat file (in the Bin folder). However, I cannot run (or find) the file in the Comman…

---

## [Index \_close does nothing](https://discuss.elastic.co/t/index-close-does-nothing/138192)

<div class="topic-metadata">

**Author:** [@atom](https://discuss.elastic.co/u/atom)\
**Replies:** 0\
**Last updated:** [July 2, 2018, 11:38am UTC](https://discuss.elastic.co/t/index-close-does-nothing/138192 "2018-07-02T11:38:25Z")

</div>

Hi there, i am performing \_close / \_open each time changes were made in synonyms file in elasticsearch. Unfortunately,\_close seems to do nothing since a few hours. With: /\_cluster/state/metadata i can see, my index is…

---

## [Performance of painless scripts in 6.x](https://discuss.elastic.co/t/performance-of-painless-scripts-in-6-x/137308)

<div class="topic-metadata">

**Author:** [@vangap](https://discuss.elastic.co/u/vangap)\
**Replies:** 9\
**Last updated:** [July 2, 2018, 11:50am UTC](https://discuss.elastic.co/t/performance-of-painless-scripts-in-6-x/137308 "2018-07-02T11:50:48Z")

</div>

I have tested with 6.3 + Java 10 in docker and also 6.2.4 + Java 8 in docker. Behavior is same. With the same query, ES 6.x latencies are 10x slower than 5.6.4. I have observed similar behavior with few other scripted …

---

## [Is there any way to create an additional field without using Scripted field and Logstash?](https://discuss.elastic.co/t/is-there-any-way-to-create-an-additional-field-without-using-scripted-field-and-logstash/138157)

<div class="topic-metadata">

**Author:** [@elasticheart](https://discuss.elastic.co/u/elasticheart)\
**Replies:** 4\
**Last updated:** [July 2, 2018, 11:43am UTC](https://discuss.elastic.co/t/is-there-any-way-to-create-an-additional-field-without-using-scripted-field-and-logstash/138157 "2018-07-02T11:43:23Z")

</div>

Hi, I am using ELK GA 6.3.0. In my index, there is a number attribute, currently taking as string. To perform aggregations, I have created a number scripted field like; return doc\['field\_a'\].value; This works fine, bu…

---

## [TransportClient builder query](https://discuss.elastic.co/t/transportclient-builder-query/138083)

<div class="topic-metadata">

**Author:** [@pkshara](https://discuss.elastic.co/u/pkshara)\
**Replies:** 1\
**Last updated:** [July 2, 2018, 11:03am UTC](https://discuss.elastic.co/t/transportclient-builder-query/138083 "2018-07-02T11:03:16Z")

</div>

Hi Team, SearchResponse res = client.prepareSearch("logstash\_stack\_index") .setTypes("logs") .setSearchType(SearchType.DFS\_QUERY\_THEN\_FETCH) .setQuery(QueryBuilders.matchQuery("Errors", "org.springframework.jdbc.Cann…

---

## [Resolving version conflicts for UpdateByQuery in Elasticsearch](https://discuss.elastic.co/t/resolving-version-conflicts-for-updatebyquery-in-elasticsearch/138180)

<div class="topic-metadata">

**Author:** [@manubhogal19](https://discuss.elastic.co/u/manubhogal19)\
**Replies:** 0\
**Last updated:** [July 2, 2018, 10:51am UTC](https://discuss.elastic.co/t/resolving-version-conflicts-for-updatebyquery-in-elasticsearch/138180 "2018-07-02T10:51:03Z")

</div>

I need to implement UpdateByQuery on large dataset, on a server which is updated by various nodes very frequently. This results in version control issues for a lot of documents. Also, retry\_on\_conflict is not the solutio…

---

## [Automatically making text fields aggregatable](https://discuss.elastic.co/t/automatically-making-text-fields-aggregatable/137973)

<div class="topic-metadata">

**Author:** [@dbwest](https://discuss.elastic.co/u/dbwest)\
**Replies:** 1\
**Last updated:** [July 2, 2018, 10:57am UTC](https://discuss.elastic.co/t/automatically-making-text-fields-aggregatable/137973 "2018-07-02T10:57:36Z")

</div>

Hi, when we are logging our fields for many things come in as 'Text'. We use the bulk import and ndjson. We want them to be 'Keyword's so they are aggregatable. Is there an automatic way to do this. Currently we pull dow…

---

## [Verifying data consistency between Oracle and ES](https://discuss.elastic.co/t/verifying-data-consistency-between-oracle-and-es/138156)

<div class="topic-metadata">

**Author:** [@maarab](https://discuss.elastic.co/u/maarab)\
**Replies:** 1\
**Last updated:** [July 2, 2018, 10:56am UTC](https://discuss.elastic.co/t/verifying-data-consistency-between-oracle-and-es/138156 "2018-07-02T10:56:42Z")

</div>

I have an Oracle database with 80 million records. These have been migrated to elasticsearch and there is a continuous sync running that will keep the data updated in elasticsearch whenever data is added/changed in the O…

---

## [Dynamic mapping for geo\_point](https://discuss.elastic.co/t/dynamic-mapping-for-geo-point/138181)

<div class="topic-metadata">

**Author:** [@jalogisch](https://discuss.elastic.co/u/jalogisch)\
**Replies:** 0\
**Last updated:** [July 2, 2018, 10:51am UTC](https://discuss.elastic.co/t/dynamic-mapping-for-geo-point/138181 "2018-07-02T10:51:19Z")

</div>

He all, I have a dynamic mapping in my ES 5.6.10 index template to make some fields geo\_point aware - to store longitute and latitude in this field. { "geo\_map": { "match": "\*\_geoloc…

---

## [Best Index Setting for Shards + Replica?](https://discuss.elastic.co/t/best-index-setting-for-shards-replica/138161)

<div class="topic-metadata">

**Author:** [@MarcusCaepio](https://discuss.elastic.co/u/MarcusCaepio)\
**Replies:** 1\
**Last updated:** [July 2, 2018, 10:28am UTC](https://discuss.elastic.co/t/best-index-setting-for-shards-replica/138161 "2018-07-02T10:28:45Z")

</div>

Hi All, I have an index, which is being filled with round about 7000 - 8000 events per second (!). The indices itself are built daily. My cluster consists of 8 powerful server. Kibana is running on a VM with elasticsea…

---

## [Does node package support browser use now?](https://discuss.elastic.co/t/does-node-package-support-browser-use-now/137958)

<div class="topic-metadata">

**Author:** [@rs123](https://discuss.elastic.co/u/rs123)\
**Replies:** 2\
**Last updated:** [July 2, 2018, 9:41am UTC](https://discuss.elastic.co/t/does-node-package-support-browser-use-now/137958 "2018-07-02T09:41:56Z")

</div>

Does elasticsearch.js package support browser use now?

---

## [Explicit Mapping Vs Dynamic Mapping](https://discuss.elastic.co/t/explicit-mapping-vs-dynamic-mapping/138139)

<div class="topic-metadata">

**Author:** [@bluelullaby](https://discuss.elastic.co/u/bluelullaby)\
**Replies:** 3\
**Last updated:** [July 2, 2018, 8:54am UTC](https://discuss.elastic.co/t/explicit-mapping-vs-dynamic-mapping/138139 "2018-07-02T08:54:10Z")

</div>

Recently, I need to build a new project to replace the old one which is based on Lucene. But in my experiment, I have found that there is a serious restriction about updating field mapping. From this address (https://ww…

---

## [Elastic search configuration for windows server](https://discuss.elastic.co/t/elastic-search-configuration-for-windows-server/137378)

<div class="topic-metadata">

**Author:** [@saineshwar\_bageri](https://discuss.elastic.co/u/saineshwar_bageri)\
**Replies:** 9\
**Last updated:** [July 2, 2018, 8:43am UTC](https://discuss.elastic.co/t/elastic-search-configuration-for-windows-server/137378 "2018-07-02T08:43:16Z")

</div>

If I have a data of 20 Million and I want to push into elastic search single instance. what will be the configuration of the server, I will be using windows server. Does single instance is enough. Creating Elasticsearc…

---

## [Could not parse watch \[circuit\_alert\]. null token](https://discuss.elastic.co/t/could-not-parse-watch-circuit-alert-null-token/138146)

<div class="topic-metadata">

**Author:** [@Sefa](https://discuss.elastic.co/u/Sefa)\
**Replies:** 1\
**Last updated:** [July 2, 2018, 8:34am UTC](https://discuss.elastic.co/t/could-not-parse-watch-circuit-alert-null-token/138146 "2018-07-02T08:34:36Z")

</div>

Hi, Following alert put request is returning could not parse watch \[circuit\_alert\]. null token error. How can I solve it? { "trigger": { "schedule": { "interval": "30s" } }, "input": { "sea…

---

## [SearchRequest for JSON query](https://discuss.elastic.co/t/searchrequest-for-json-query/136970)

<div class="topic-metadata">

**Author:** [@kumarroopesh](https://discuss.elastic.co/u/kumarroopesh)\
**Replies:** 6\
**Last updated:** [July 2, 2018, 7:56am UTC](https://discuss.elastic.co/t/searchrequest-for-json-query/136970 "2018-07-02T07:56:04Z")

</div>

Hi, I am using RestHighLevelClient for my project. I have JSON queries to be executed and get the response and parse them. Earlier I was using low level RestClient.Get to get the response. Please help me in doing the …

---

## [Generate a security token using a admin token?](https://discuss.elastic.co/t/generate-a-security-token-using-a-admin-token/137705)

<div class="topic-metadata">

**Author:** [@BO\_GAO](https://discuss.elastic.co/u/BO_GAO)\
**Replies:** 9\
**Last updated:** [July 2, 2018, 7:52am UTC](https://discuss.elastic.co/t/generate-a-security-token-using-a-admin-token/137705 "2018-07-02T07:52:26Z")

</div>

I am trying to generate a security token when a user is logging in. It has been mentioned in the following documentation that "to generate a token" using a query, we need to include a valid "admin" token in the header. h…

---

## [Elastic indices](https://discuss.elastic.co/t/elastic-indices/137923)

<div class="topic-metadata">

**Author:** [@zen.xen](https://discuss.elastic.co/u/zen.xen)\
**Replies:** 4\
**Last updated:** [July 2, 2018, 7:51am UTC](https://discuss.elastic.co/t/elastic-indices/137923 "2018-07-02T07:51:22Z")

</div>

Hello, I have installed ELK 6.3 on Windows 2012. How can I manage them, meaning how to display and delete?

---

## [About a moving average bucket, as input for another aggregation](https://discuss.elastic.co/t/about-a-moving-average-bucket-as-input-for-another-aggregation/138135)

<div class="topic-metadata">

**Author:** [@olc-olivier](https://discuss.elastic.co/u/olc-olivier)\
**Replies:** 0\
**Last updated:** [July 2, 2018, 7:32am UTC](https://discuss.elastic.co/t/about-a-moving-average-bucket-as-input-for-another-aggregation/138135 "2018-07-02T07:32:19Z")

</div>

Hi, I asked a question on Stackoverflow but nobody seems to have a solution for my request. I would like to use the moving average bucket as input source for a another aggregation. ex: Max by day on the moving avera…

---

## [Where does elasticsearch.jquery.js sends back search request's answer?](https://discuss.elastic.co/t/where-does-elasticsearch-jquery-js-sends-back-search-requests-answer/138124)

<div class="topic-metadata">

**Author:** [@rs123](https://discuss.elastic.co/u/rs123)\
**Replies:** 0\
**Last updated:** [July 2, 2018, 6:50am UTC](https://discuss.elastic.co/t/where-does-elasticsearch-jquery-js-sends-back-search-requests-answer/138124 "2018-07-02T06:50:27Z")

</div>

I want to store data from user index's documents to an array, How? function newAutocomplete(){ var client = new $.es.Client({ hosts: 'localhost:9200' }); const response = client.search({ …

---

## [Real Time data ingestion in ES from Multiple Source](https://discuss.elastic.co/t/real-time-data-ingestion-in-es-from-multiple-source/138069)

<div class="topic-metadata">

**Author:** [@nandan\_bigdata](https://discuss.elastic.co/u/nandan_bigdata)\
**Replies:** 2\
**Last updated:** [July 2, 2018, 6:50am UTC](https://discuss.elastic.co/t/real-time-data-ingestion-in-es-from-multiple-source/138069 "2018-07-02T06:50:22Z")

</div>

Hi Team, I am working on data ingestion project. I have multiple data source as below:- Mysql Data CSV Data XML Data JSON Data Log data MongoDB data As data is generating every time, so I want to make sure data shou…

---

## [Aggregate on array objects](https://discuss.elastic.co/t/aggregate-on-array-objects/138122)

<div class="topic-metadata">

**Author:** [@ksarsecha](https://discuss.elastic.co/u/ksarsecha)\
**Replies:** 0\
**Last updated:** [July 2, 2018, 6:21am UTC](https://discuss.elastic.co/t/aggregate-on-array-objects/138122 "2018-07-02T06:21:54Z")

</div>

I want to aggregate document based on entire array object and not single value inside array object. For example, given are the following documents { "took": 15, "timed\_out": false, "\_shards": { "total": 5, "succes…

---

## [Is there a way to accumulate the count of given word(s) in a standard indexed field?](https://discuss.elastic.co/t/is-there-a-way-to-accumulate-the-count-of-given-word-s-in-a-standard-indexed-field/138113)

<div class="topic-metadata">

**Author:** [@sdavids](https://discuss.elastic.co/u/sdavids)\
**Replies:** 0\
**Last updated:** [July 2, 2018, 3:34am UTC](https://discuss.elastic.co/t/is-there-a-way-to-accumulate-the-count-of-given-word-s-in-a-standard-indexed-field/138113 "2018-07-02T03:34:59Z")

</div>

We would like to provide customers the ability to enter keywords and get a date histogram driven chart which tracks both the amount of documents that it hit (straight forward) and how many times that particular keyword w…

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

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