# Elasticsearch

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

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

**Page:** 1685

---

## [Elasticsearch not running on windows 10](https://discuss.elastic.co/t/elasticsearch-not-running-on-windows-10/132425)

<div class="topic-metadata">

**Author:** [@raman2.0](https://discuss.elastic.co/u/raman2.0)\
**Replies:** 4\
**Last updated:** [May 18, 2018, 7:59am UTC](https://discuss.elastic.co/t/elasticsearch-not-running-on-windows-10/132425 "2018-05-18T07:59:33Z")

</div>

Elasticsearch not running, showing: C:\\Users\\Applicate\\Downloads\\elasticsearch\\elasticsearch-6.2.4\>bin\\elasticsearch.bat \[2018-05-18T06:53:52,513\]\[INFO \]\[o.e.n.Node \] \[LAPTOP-12HF0A7H\] initializing ... \[…

---

## [Aggregating across multiple sub documents?](https://discuss.elastic.co/t/aggregating-across-multiple-sub-documents/131354)

<div class="topic-metadata">

**Author:** [@Varun\_Somani](https://discuss.elastic.co/u/Varun_Somani)\
**Replies:** 0\
**Last updated:** [May 10, 2018, 8:32pm UTC](https://discuss.elastic.co/t/aggregating-across-multiple-sub-documents/131354 "2018-05-10T20:32:36Z")

</div>

I have a following documents Document 1: { "county" : "Santa Clara", "city": "San Jose", "date" : 123432342342, "user" : { "0" : { "name" : "abc", "metrics" : { …

---

## [Elastic data consistency](https://discuss.elastic.co/t/elastic-data-consistency/132166)

<div class="topic-metadata">

**Author:** [@Roman\_G](https://discuss.elastic.co/u/Roman_G)\
**Replies:** 1\
**Last updated:** [May 18, 2018, 7:48am UTC](https://discuss.elastic.co/t/elastic-data-consistency/132166 "2018-05-18T07:48:41Z")

</div>

We are going to have elastic cloud in our corporate data center which we trying to set up. The question is about data being consistent on different servers – we want to make sure that the data is consistent when differe…

---

## [Elasticsearch 2.4.6 return an array of all values for a field for a bucket in aggregation](https://discuss.elastic.co/t/elasticsearch-2-4-6-return-an-array-of-all-values-for-a-field-for-a-bucket-in-aggregation/132430)

<div class="topic-metadata">

**Author:** [@mushroomlog](https://discuss.elastic.co/u/mushroomlog)\
**Replies:** 0\
**Last updated:** [May 18, 2018, 7:34am UTC](https://discuss.elastic.co/t/elasticsearch-2-4-6-return-an-array-of-all-values-for-a-field-for-a-bucket-in-aggregation/132430 "2018-05-18T07:34:29Z")

</div>

I am doing a complex aggregation which involves nested buckets and filters. I want to then return an array of all values for field \[x\] in this filtered bucket. Is that possible? Something that will return "bucket":{ …

---

## [Localhost:9200 What does this indicates](https://discuss.elastic.co/t/localhost-9200-what-does-this-indicates/132408)

<div class="topic-metadata">

**Author:** [@skyluke.1987](https://discuss.elastic.co/u/skyluke.1987)\
**Replies:** 1\
**Last updated:** [May 18, 2018, 7:33am UTC](https://discuss.elastic.co/t/localhost-9200-what-does-this-indicates/132408 "2018-05-18T07:33:48Z")

</div>

Hi all, following the guide, I am able to see the following page with the info. But my Scirius will showing unable to connect to elasticsearch. May I know what is my next step after seeing this display page? \[image\]

---

## [DateMath from DateTime.MinValue](https://discuss.elastic.co/t/datemath-from-datetime-minvalue/132347)

<div class="topic-metadata">

**Author:** [@die\_seltsame](https://discuss.elastic.co/u/die_seltsame)\
**Replies:** 0\
**Last updated:** [May 17, 2018, 1:43pm UTC](https://discuss.elastic.co/t/datemath-from-datetime-minvalue/132347 "2018-05-17T13:43:07Z")

</div>

I'm trying to search for a date that is greater than DateTime.MinValue, but elastic throws search\_phase\_execution\_exception. When I create var d = DateMath.Anchored(DateTime.MinValue) , d.Self = null and d.ToString() ret…

---

## [Multi-level nested query](https://discuss.elastic.co/t/multi-level-nested-query/131421)

<div class="topic-metadata">

**Author:** [@prasad.ram1431](https://discuss.elastic.co/u/prasad.ram1431)\
**Replies:** 5\
**Last updated:** [May 18, 2018, 5:57am UTC](https://discuss.elastic.co/t/multi-level-nested-query/131421 "2018-05-18T05:57:40Z")

</div>

Hi, I have a below sample piece of data, "indCodes":{ "industryCodeTypes": \[ { "typeDBCode": 1016, …

---

## [ELK data not getting saved](https://discuss.elastic.co/t/elk-data-not-getting-saved/131854)

<div class="topic-metadata">

**Author:** [@Rahul\_Kumar2](https://discuss.elastic.co/u/Rahul_Kumar2)\
**Replies:** 6\
**Last updated:** [May 18, 2018, 5:01am UTC](https://discuss.elastic.co/t/elk-data-not-getting-saved/131854 "2018-05-18T05:01:47Z")

</div>

Hi awesome people We are using ELK with Amazon SQS in an in-house server. Elasticsearch log \[2018-05-15T11:39:03,411\]\[INFO \]\[o.e.m.j.JvmGcMonitorService\] \[node-1\] \[gc\]\[old\]\[982956\]\[151886\] duration \[8.8s\], collection…

---

## [Couldn't connect to Elasticsearch](https://discuss.elastic.co/t/couldnt-connect-to-elasticsearch/132196)

<div class="topic-metadata">

**Author:** [@vnkasturi](https://discuss.elastic.co/u/vnkasturi)\
**Replies:** 4\
**Last updated:** [May 18, 2018, 3:35am UTC](https://discuss.elastic.co/t/couldnt-connect-to-elasticsearch/132196 "2018-05-18T03:35:14Z")

</div>

I am trying to connect to the configured Elasticsearchservice instance in AWS from my machine and getting the following error. Any help is appreciated. ven@ven:~$ sudo metricbeat setup Exiting: Couldn't connect to any …

---

## [ES error occurred when I ran \`geonames\` track of Rally](https://discuss.elastic.co/t/es-error-occurred-when-i-ran-geonames-track-of-rally/131453)

<div class="topic-metadata">

**Author:** [@8a98bb2968a03fe24acf](https://discuss.elastic.co/u/8a98bb2968a03fe24acf)\
**Replies:** 10\
**Last updated:** [May 18, 2018, 2:22am UTC](https://discuss.elastic.co/t/es-error-occurred-when-i-ran-geonames-track-of-rally/131453 "2018-05-18T02:22:13Z")

</div>

Here is ES error when I ran geonames track of Rally. org.elasticsearch.transport.RemoteTransportException: \[rally-node-0\]\[127.0.0.1:39300\]\[indices:data/read/search\[phase/query\]\] Caused by: org.elasticsearch.index.query.…

---

## [What search query is being used when I look for text using kibana?](https://discuss.elastic.co/t/what-search-query-is-being-used-when-i-look-for-text-using-kibana/132373)

<div class="topic-metadata">

**Author:** [@subrato](https://discuss.elastic.co/u/subrato)\
**Replies:** 5\
**Last updated:** [May 17, 2018, 11:35pm UTC](https://discuss.elastic.co/t/what-search-query-is-being-used-when-i-look-for-text-using-kibana/132373 "2018-05-17T23:35:29Z")

</div>

I have written some code that should look for text and return results from Elastic Search. Search looks at multiple fields. The results don't match to what I get if I search for the same text in kibana. So I am trying t…

---

## [Best practice to search for a regular expression next to a list of terms](https://discuss.elastic.co/t/best-practice-to-search-for-a-regular-expression-next-to-a-list-of-terms/132383)

<div class="topic-metadata">

**Author:** [@kevitra](https://discuss.elastic.co/u/kevitra)\
**Replies:** 5\
**Last updated:** [May 17, 2018, 9:16pm UTC](https://discuss.elastic.co/t/best-practice-to-search-for-a-regular-expression-next-to-a-list-of-terms/132383 "2018-05-17T21:16:51Z")

</div>

I am trying to write a query with the following criteria: The query has a regular expression and the document must contain a hit The query has a list of words and at least one of the words must appear within N words of…

---

## [Elastic Query Builder](https://discuss.elastic.co/t/elastic-query-builder/132397)

<div class="topic-metadata">

**Author:** [@Ayush\_Nenawati](https://discuss.elastic.co/u/Ayush_Nenawati)\
**Replies:** 0\
**Last updated:** [May 17, 2018, 8:51pm UTC](https://discuss.elastic.co/t/elastic-query-builder/132397 "2018-05-17T20:51:37Z")

</div>

Is there a tool available on the web already which converts custom conditions like (segmentA AND segmentB) or (segment A OR Segment B) to elastic query. Where segment A is combination of criteria like (name:Ayush and ag…

---

## [Mapper for \[clientip\] conflicts with existing mapping in other types:\\n\[mapper \[clientip\] has different \[norms\] values, cannot change from disable to enabled\]](https://discuss.elastic.co/t/mapper-for-clientip-conflicts-with-existing-mapping-in-other-types-n-mapper-clientip-has-different-norms-values-cannot-change-from-disable-to-enabled/131576)

<div class="topic-metadata">

**Author:** [@chrisan](https://discuss.elastic.co/u/chrisan)\
**Replies:** 1\
**Last updated:** [May 17, 2018, 4:37pm UTC](https://discuss.elastic.co/t/mapper-for-clientip-conflicts-with-existing-mapping-in-other-types-n-mapper-clientip-has-different-norms-values-cannot-change-from-disable-to-enabled/131576 "2018-05-17T16:37:13Z")

</div>

Elasticsearch 6.2.4 We use logstash+elasticsearch to get some bandwidth metrics on our cloudfront usage. This is how logstash parses things: https://gist.github.com/chrisan/1c5ce5beacfc0e124d39fa842f051857#file-logstas…

---

## [Msearch - bad request - method and path required](https://discuss.elastic.co/t/msearch-bad-request-method-and-path-required/132226)

<div class="topic-metadata">

**Author:** [@Luis\_Soto](https://discuss.elastic.co/u/Luis_Soto)\
**Replies:** 1\
**Last updated:** [May 17, 2018, 4:28pm UTC](https://discuss.elastic.co/t/msearch-bad-request-method-and-path-required/132226 "2018-05-17T16:28:58Z")

</div>

Describe the feature: We just upgraded to Elastic 6.24, and we are executing a request like the following using Postman: https://site.com/kibana/api/console/proxy?uri=system-stats/\_msearch with the following payload: …

---

## [Painless - proper syntax to remove string from list](https://discuss.elastic.co/t/painless-proper-syntax-to-remove-string-from-list/132230)

<div class="topic-metadata">

**Author:** [@Paisley\_Singh](https://discuss.elastic.co/u/Paisley_Singh)\
**Replies:** 1\
**Last updated:** [May 17, 2018, 4:18pm UTC](https://discuss.elastic.co/t/painless-proper-syntax-to-remove-string-from-list/132230 "2018-05-17T16:18:22Z")

</div>

Why does this work? ctx.\_source.locations.remove(ctx.\_source.locations.indexOf(params.delete\_location)); and not this? ctx.\_source.locations.remove(params.delete\_location); I get this error: "caused\_by": { "…

---

## [Out Of Sync Replica](https://discuss.elastic.co/t/out-of-sync-replica/126588)

<div class="topic-metadata">

**Author:** [@Evesy](https://discuss.elastic.co/u/Evesy)\
**Replies:** 40\
**Last updated:** [May 17, 2018, 4:12pm UTC](https://discuss.elastic.co/t/out-of-sync-replica/126588 "2018-05-17T16:12:02Z")

</div>

Hi, We've been getting a few errors recently due to 'out of sync replicas' which is affecting certain cluster operations. The issues seem to tie in with an upgrade from 6.1.2 to 6.2.3 however could be completely unrelat…

---

## [Configuring Watcher with basic-auth and Elastic Cloud](https://discuss.elastic.co/t/configuring-watcher-with-basic-auth-and-elastic-cloud/132189)

<div class="topic-metadata">

**Author:** [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Replies:** 2\
**Last updated:** [May 17, 2018, 4:09pm UTC](https://discuss.elastic.co/t/configuring-watcher-with-basic-auth-and-elastic-cloud/132189 "2018-05-17T16:09:10Z")

</div>

Working on an Elastic Cloud project that I did not set up myself. Configuring a watch using an HTTP input back to itself. I am missing something incredibly basic since I get 404s. Using the same 'elastic' user used for …

---

## [Fast Bulk upload](https://discuss.elastic.co/t/fast-bulk-upload/132283)

<div class="topic-metadata">

**Author:** [@NewScientists](https://discuss.elastic.co/u/NewScientists)\
**Replies:** 2\
**Last updated:** [May 17, 2018, 3:46pm UTC](https://discuss.elastic.co/t/fast-bulk-upload/132283 "2018-05-17T15:46:41Z")

</div>

Hello, i am currently hosting ElasticSearch on a server and we are trying to do a bulk upload of 1 million documents which have in-depth nested mappings, we are sending the content from another computer to the server whe…

---

## [\[6.2.4\] machine learning on scripted field](https://discuss.elastic.co/t/6-2-4-machine-learning-on-scripted-field/132146)

<div class="topic-metadata">

**Author:** [@dao](https://discuss.elastic.co/u/dao)\
**Replies:** 2\
**Last updated:** [May 17, 2018, 3:42pm UTC](https://discuss.elastic.co/t/6-2-4-machine-learning-on-scripted-field/132146 "2018-05-17T15:42:59Z")

</div>

Continuing the discussion from Machine Learning on scripted field?: it seems to work, It is not possible to select a field name that is not in the list of existing fields (in detectors). but is is not a problem as the …

---

## [Indexing JSON](https://discuss.elastic.co/t/indexing-json/132329)

<div class="topic-metadata">

**Author:** [@astropanic](https://discuss.elastic.co/u/astropanic)\
**Replies:** 1\
**Last updated:** [May 17, 2018, 3:39pm UTC](https://discuss.elastic.co/t/indexing-json/132329 "2018-05-17T15:39:00Z")

</div>

How I should proceed to index JSON documents from Lighthouse into Elasticsearch? For example, when I try to index this via curl -XPOST -H "Content-Type: application/json" 'http://myhost.com:9200/lighthouse/measurement…

---

## [Different aggregation result when filtering just one term](https://discuss.elastic.co/t/different-aggregation-result-when-filtering-just-one-term/132317)

<div class="topic-metadata">

**Author:** [@kohutovic](https://discuss.elastic.co/u/kohutovic)\
**Replies:** 4\
**Last updated:** [May 17, 2018, 3:14pm UTC](https://discuss.elastic.co/t/different-aggregation-result-when-filtering-just-one-term/132317 "2018-05-17T15:14:27Z")

</div>

Hello, I have an aggregation query and it sums just one doc for a particular term but if I query one term it sums over 2 docs. I do not understand why I get a different result with and without query which should not mak…

---

## [Index user create account info](https://discuss.elastic.co/t/index-user-create-account-info/132358)

<div class="topic-metadata">

**Author:** [@mwmouawad](https://discuss.elastic.co/u/mwmouawad)\
**Replies:** 2\
**Last updated:** [May 17, 2018, 3:08pm UTC](https://discuss.elastic.co/t/index-user-create-account-info/132358 "2018-05-17T15:08:50Z")

</div>

Hello everyone i'm bulding a social media app. I'm planning to use elasticsearch as the search engine for the user search in the app. I'm using currently a PostGreSQL database as my source of truth, where all my users in…

---

## [How to do 2 range query like a OR condition, give result satisfy any one condition](https://discuss.elastic.co/t/how-to-do-2-range-query-like-a-or-condition-give-result-satisfy-any-one-condition/132312)

<div class="topic-metadata">

**Author:** [@varun1992](https://discuss.elastic.co/u/varun1992)\
**Replies:** 4\
**Last updated:** [May 17, 2018, 2:51pm UTC](https://discuss.elastic.co/t/how-to-do-2-range-query-like-a-or-condition-give-result-satisfy-any-one-condition/132312 "2018-05-17T14:51:33Z")

</div>

Hi i have 2 range queries like below { "range": { "@timestamp": { "gte": "05-16-2018", "lt": "05-17-2018", "format": "MM-dd-yyyy" } }} { "range": { "@timestamp": { "gte": "05-13-2018", "lt": "05-14-2018", "format": "…

---

## [Curator restore index](https://discuss.elastic.co/t/curator-restore-index/132325)

<div class="topic-metadata">

**Author:** [@IMikeD](https://discuss.elastic.co/u/IMikeD)\
**Replies:** 4\
**Last updated:** [May 17, 2018, 2:41pm UTC](https://discuss.elastic.co/t/curator-restore-index/132325 "2018-05-17T14:41:09Z")

</div>

Hello, I want to use the curator to restore indexes from snapshots by template restore.yml actions: 1: action: restore description:\> - Restore index. options: repository: my\_backup skip\_repo\_fs\_check: true ignore\_empt…

---

## [Increase max queue capacity?](https://discuss.elastic.co/t/increase-max-queue-capacity/132195)

<div class="topic-metadata">

**Author:** [@Wanderer](https://discuss.elastic.co/u/Wanderer)\
**Replies:** 4\
**Last updated:** [May 17, 2018, 2:31pm UTC](https://discuss.elastic.co/t/increase-max-queue-capacity/132195 "2018-05-17T14:31:43Z")

</div>

Running 6.2.4 We are getting this error in one of our dashboards. rejected execution of org.elasticsearch.common.util.concurrent.TimedRunnable@55490381 on QueueResizingEsThreadPoolExecutor\[name = es-01/search, queue cap…

---

## [Search IP](https://discuss.elastic.co/t/search-ip/132344)

<div class="topic-metadata">

**Author:** [@asalma](https://discuss.elastic.co/u/asalma)\
**Replies:** 2\
**Last updated:** [May 17, 2018, 2:13pm UTC](https://discuss.elastic.co/t/search-ip/132344 "2018-05-17T14:13:08Z")

</div>

I did this PUT in order to be able to search an interval of IP @ but it doesn't work !! \[image\] \[image\]

---

## [Keyword term aggregations much slower after 5.6 -\> 6.2 upgrade](https://discuss.elastic.co/t/keyword-term-aggregations-much-slower-after-5-6-6-2-upgrade/129180)

<div class="topic-metadata">

**Author:** [@Emily1](https://discuss.elastic.co/u/Emily1)\
**Replies:** 11\
**Last updated:** [May 17, 2018, 1:49pm UTC](https://discuss.elastic.co/t/keyword-term-aggregations-much-slower-after-5-6-6-2-upgrade/129180 "2018-05-17T13:49:50Z")

</div>

Hello, I recently upgraded my ES cluster from 5.6 to 6.2, along with Kibana, logstash, and filebeat upgrading from 5.6 to 6.2. I had to change my Elasticsearch mapping json file because 6.2 rejected things that 5.6 acce…

---

## [Not able to instantiate ES object orientedly, the mapping types being removed are guilty](https://discuss.elastic.co/t/not-able-to-instantiate-es-object-orientedly-the-mapping-types-being-removed-are-guilty/132341)

<div class="topic-metadata">

**Author:** [@MikeE](https://discuss.elastic.co/u/MikeE)\
**Replies:** 0\
**Last updated:** [May 17, 2018, 1:27pm UTC](https://discuss.elastic.co/t/not-able-to-instantiate-es-object-orientedly-the-mapping-types-being-removed-are-guilty/132341 "2018-05-17T13:27:51Z")

</div>

I tried to transform the creation of my database Elasticsearch, a script, in an object-oriented format but then create the database by instantiating it in the Main.py, and nothing else is passed: Main.py : from Elastic…

---

## [How to use keystore for basic auth password for the input watch](https://discuss.elastic.co/t/how-to-use-keystore-for-basic-auth-password-for-the-input-watch/132227)

<div class="topic-metadata">

**Author:** [@Doug\_Nelson1](https://discuss.elastic.co/u/Doug_Nelson1)\
**Replies:** 5\
**Last updated:** [May 17, 2018, 12:40pm UTC](https://discuss.elastic.co/t/how-to-use-keystore-for-basic-auth-password-for-the-input-watch/132227 "2018-05-17T12:40:26Z")

</div>

Looking for an example of showing how to set the basic auth password using a keystore when using an http input for the watcher. Looking for an example watch http input that uses a keystore to avoid having the user passw…

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

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