# Elasticsearch

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

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

**Page:** 953

---

## [Spring Data Elasticsearch with ES 7.2.1 | GeoPoint mapping failure while indexing](https://discuss.elastic.co/t/spring-data-elasticsearch-with-es-7-2-1-geopoint-mapping-failure-while-indexing/227989)

<div class="topic-metadata">

**Author:** [@adivardhan](https://discuss.elastic.co/u/adivardhan)\
**Replies:** 9\
**Last updated:** [April 17, 2020, 5:23pm UTC](https://discuss.elastic.co/t/spring-data-elasticsearch-with-es-7-2-1-geopoint-mapping-failure-while-indexing/227989 "2020-04-17T17:23:52Z")

</div>

Hi, I am using ES 7.2.1 to store large amount of location based data and querying for near-by locations. For location coordinates, I am using GeoPoint fields from my java codebase. ES: 7.2.1 Spring Data Elasticsearch…

---

## [How to save multiple logs to separate ES index's](https://discuss.elastic.co/t/how-to-save-multiple-logs-to-separate-es-indexs/227685)

<div class="topic-metadata">

**Author:** [@VSP](https://discuss.elastic.co/u/VSP)\
**Replies:** 2\
**Last updated:** [April 17, 2020, 4:30pm UTC](https://discuss.elastic.co/t/how-to-save-multiple-logs-to-separate-es-indexs/227685 "2020-04-17T16:30:47Z")

</div>

Hello, I am trying to send various types of logs through Filebeat -\> Logstash -\> Elastich Search -\> Kibana I used Fields with a variable log\_type and assigned different value to the variable basing on the type of the l…

---

## [ES marking some fields as multi-field by default. Why?](https://discuss.elastic.co/t/es-marking-some-fields-as-multi-field-by-default-why/228239)

<div class="topic-metadata">

**Author:** [@deepak643](https://discuss.elastic.co/u/deepak643)\
**Replies:** 1\
**Last updated:** [April 17, 2020, 3:42pm UTC](https://discuss.elastic.co/t/es-marking-some-fields-as-multi-field-by-default-why/228239 "2020-04-17T15:42:04Z")

</div>

I have a document with few fields. For some of the fields in that document, my ES mappings defined those fields as "keyword". I have indexed one document and tried to retrieve the index mappings to see how ES is storing…

---

## [Big delay in writing to Elasticsearch from some log inputs of Filebeat](https://discuss.elastic.co/t/big-delay-in-writing-to-elasticsearch-from-some-log-inputs-of-filebeat/228007)

<div class="topic-metadata">

**Author:** [@r2r2](https://discuss.elastic.co/u/r2r2)\
**Replies:** 4\
**Last updated:** [April 17, 2020, 3:28pm UTC](https://discuss.elastic.co/t/big-delay-in-writing-to-elasticsearch-from-some-log-inputs-of-filebeat/228007 "2020-04-17T15:28:21Z")

</div>

Hello! I had to migrate my Elasticsearch 7.0.1 in a docker container from ssd to hdd. After that I can see some filebeat log inputs are very late. I use filebeat to send Nginx logs using a log file input for multiple …

---

## [Push data to Elasticsearch through API](https://discuss.elastic.co/t/push-data-to-elasticsearch-through-api/225871)

<div class="topic-metadata">

**Author:** [@Gauti](https://discuss.elastic.co/u/Gauti)\
**Replies:** 0\
**Last updated:** [March 31, 2020, 1:31pm UTC](https://discuss.elastic.co/t/push-data-to-elasticsearch-through-api/225871 "2020-03-31T13:31:28Z")

</div>

Hi All, We are using elasticsearch for dashboard and reporting and analytics purpose, as part of this we are planning to get data from monitoring tool into elasticsearch, wanted to know is there a way that the monitorin…

---

## [How to carry forward the applied index level settings to new indices](https://discuss.elastic.co/t/how-to-carry-forward-the-applied-index-level-settings-to-new-indices/228534)

<div class="topic-metadata">

**Author:** [@ntsh999](https://discuss.elastic.co/u/ntsh999)\
**Replies:** 2\
**Last updated:** [April 17, 2020, 2:14pm UTC](https://discuss.elastic.co/t/how-to-carry-forward-the-applied-index-level-settings-to-new-indices/228534 "2020-04-17T14:14:01Z")

</div>

I am running elastic stack (ES, kibana, Filebeat, Metricbeat , logstash) v7.2 on kubernetes. I have applied the following setting to my filebeat and metricbeat index patterns. PUT metricbeat-\*/\_settings { "index" : {…

---

## [Geo\_point mapping python and Streamsets fails with Elasticsearch](https://discuss.elastic.co/t/geo-point-mapping-python-and-streamsets-fails-with-elasticsearch/228486)

<div class="topic-metadata">

**Author:** [@drules](https://discuss.elastic.co/u/drules)\
**Replies:** 1\
**Last updated:** [April 17, 2020, 2:06pm UTC](https://discuss.elastic.co/t/geo-point-mapping-python-and-streamsets-fails-with-elasticsearch/228486 "2020-04-17T14:06:52Z")

</div>

I have this mapping in elasticsearch "mappings": { "properties": { "fromCoordinates": {"type": "geo\_point"}, "toCoordinates": {"type": "geo\_point"}, "seenCoordinates": {"type": …

---

## [Bulk Inserts taking a long time](https://discuss.elastic.co/t/bulk-inserts-taking-a-long-time/228530)

<div class="topic-metadata">

**Author:** [@jcremeans](https://discuss.elastic.co/u/jcremeans)\
**Replies:** 3\
**Last updated:** [April 17, 2020, 2:06pm UTC](https://discuss.elastic.co/t/bulk-inserts-taking-a-long-time/228530 "2020-04-17T14:06:40Z")

</div>

I am having an issue with bulk updating records. As I send requests, the bulk update takes longer and longer to work. I am using the scroll api in batches of 100 then bulk updating them. Some of these operations will tak…

---

## [Deleted ES indices coming back](https://discuss.elastic.co/t/deleted-es-indices-coming-back/228213)

<div class="topic-metadata">

**Author:** [@ntsh999](https://discuss.elastic.co/u/ntsh999)\
**Replies:** 5\
**Last updated:** [April 17, 2020, 1:44pm UTC](https://discuss.elastic.co/t/deleted-es-indices-coming-back/228213 "2020-04-17T13:44:11Z")

</div>

I am running Elastic stack v7.2 in Azure Kubernetes for logging and monitoring of containerized applications. I have 3 master + 2 data node configuration. I am using ES curator which is scheduled to run once daily to de…

---

## [Exact search getting less precedence then phonetic?](https://discuss.elastic.co/t/exact-search-getting-less-precedence-then-phonetic/228485)

<div class="topic-metadata">

**Author:** [@abhijith\_chandran](https://discuss.elastic.co/u/abhijith_chandran)\
**Replies:** 3\
**Last updated:** [April 17, 2020, 12:13pm UTC](https://discuss.elastic.co/t/exact-search-getting-less-precedence-then-phonetic/228485 "2020-04-17T12:13:38Z")

</div>

I have an elasticsearch index and am using the following query: "\_source": \[ "title", "content" \], "size": 15, "from": 0, "query": { "bool": { "must": { …

---

## [Errors while indexing mounted drive using fscrawler](https://discuss.elastic.co/t/errors-while-indexing-mounted-drive-using-fscrawler/228238)

<div class="topic-metadata">

**Author:** [@Lisahtwy](https://discuss.elastic.co/u/Lisahtwy)\
**Replies:** 4\
**Last updated:** [April 17, 2020, 12:12pm UTC](https://discuss.elastic.co/t/errors-while-indexing-mounted-drive-using-fscrawler/228238 "2020-04-17T12:12:38Z")

</div>

Hi, I have mounted sharpeoint site to a network drive (/mnt/sp) in centos. Then I am indexing the mounted files using fscrawler. Here is my settings file: --- name: "index\_45.79.189.33" fs: url: "/mnt/sp/fsSharepoi…

---

## [CSV from curl command](https://discuss.elastic.co/t/csv-from-curl-command/228165)

<div class="topic-metadata">

**Author:** [@rohitarora275](https://discuss.elastic.co/u/rohitarora275)\
**Replies:** 2\
**Last updated:** [April 17, 2020, 12:07pm UTC](https://discuss.elastic.co/t/csv-from-curl-command/228165 "2020-04-17T12:07:29Z")

</div>

Is there way to download csv from curl command instead of json response

---

## [Moving shards is slow - Solution](https://discuss.elastic.co/t/moving-shards-is-slow-solution/228412)

<div class="topic-metadata">

**Author:** [@klahnakoski](https://discuss.elastic.co/u/klahnakoski)\
**Replies:** 2\
**Last updated:** [April 17, 2020, 11:53am UTC](https://discuss.elastic.co/t/moving-shards-is-slow-solution/228412 "2020-04-17T11:53:59Z")

</div>

I would like to add my solution to Moving shards is slow The solution has two parts: Ensure the primaries are balanced over all the nodes so the recovery load is well distributed. This was done with an external shard…

---

## [Gradle :plugins:plugin-id:run does not run all modules](https://discuss.elastic.co/t/gradle-plugin-id-run-does-not-run-all-modules/228489)

<div class="topic-metadata">

**Author:** [@christopher.rossbach](https://discuss.elastic.co/u/christopher.rossbach)\
**Replies:** 0\
**Last updated:** [April 17, 2020, 10:21am UTC](https://discuss.elastic.co/t/gradle-plugin-id-run-does-not-run-all-modules/228489 "2020-04-17T10:21:20Z")

</div>

Hi. I want to debug an existing plugin (e.g. ingest-attachment). Starting elastic search with the plugin by running ./gradlew :plugin:ingest-attachment:run --debug-jvm -Drun.distribution=oss and attaching the debugger wo…

---

## [How to disable dedicated ingest](https://discuss.elastic.co/t/how-to-disable-dedicated-ingest/228482)

<div class="topic-metadata">

**Author:** [@manpec](https://discuss.elastic.co/u/manpec)\
**Replies:** 0\
**Last updated:** [April 17, 2020, 9:34am UTC](https://discuss.elastic.co/t/how-to-disable-dedicated-ingest/228482 "2020-04-17T09:34:27Z")

</div>

Hi there, I created a new template data\_master\_ingest. after that while creating a new deployment with this template I also marked dedicated ingest but we don't want to use it. in my data\_master\_ingest-deployment is ing…

---

## [Unassigned shard reason unclear](https://discuss.elastic.co/t/unassigned-shard-reason-unclear/228478)

<div class="topic-metadata">

**Author:** [@ntsh999](https://discuss.elastic.co/u/ntsh999)\
**Replies:** 0\
**Last updated:** [April 17, 2020, 8:53am UTC](https://discuss.elastic.co/t/unassigned-shard-reason-unclear/228478 "2020-04-17T08:53:27Z")

</div>

My ElasticSearch Cluster is in RED status, when I used the GET \_cluster/allocation/explain?pretty API call I got the following output. I can see that there are 2 unassigned shards , but the allocate\_explanation and can\_a…

---

## [Long period of querying failure during node timeout](https://discuss.elastic.co/t/long-period-of-querying-failure-during-node-timeout/228442)

<div class="topic-metadata">

**Author:** [@rsk0](https://discuss.elastic.co/u/rsk0)\
**Replies:** 3\
**Last updated:** [April 17, 2020, 8:36am UTC](https://discuss.elastic.co/t/long-period-of-querying-failure-during-node-timeout/228442 "2020-04-17T08:36:54Z")

</div>

I've got a large 5.6.3 cluster with a couple high-query-rate (low update rate) indices spread evenly across the nodes. We had a node freeze up (VM paused during unplanned hypervisor restart) which correlated with a larg…

---

## [Elasticsearch noob license question](https://discuss.elastic.co/t/elasticsearch-noob-license-question/228456)

<div class="topic-metadata">

**Author:** [@Silver](https://discuss.elastic.co/u/Silver)\
**Replies:** 1\
**Last updated:** [April 17, 2020, 8:27am UTC](https://discuss.elastic.co/t/elasticsearch-noob-license-question/228456 "2020-04-17T08:27:12Z")

</div>

Suppose I am running 3 master nodes 2 data nodes 1 node for ML I am only trying to get gold package features. Is it possible for me to use basic license for the 3 master nodes, and gold feature for elasticsearch 2 d…

---

## [Setting number\_of\_shards is not working by elasticsearch-rest-high-level-client(7.6.1)【CLOSED】](https://discuss.elastic.co/t/setting-number-of-shards-is-not-working-by-elasticsearch-rest-high-level-client-7-6-1-closed/228439)

<div class="topic-metadata">

**Author:** [@Wenjun\_Yin](https://discuss.elastic.co/u/Wenjun_Yin)\
**Replies:** 3\
**Last updated:** [April 17, 2020, 7:59am UTC](https://discuss.elastic.co/t/setting-number-of-shards-is-not-working-by-elasticsearch-rest-high-level-client-7-6-1-closed/228439 "2020-04-17T07:59:58Z")

</div>

Here is my code, the core part is in the red box. After running this code, I check the index setting through Kibana. It shows my setting is not working. Is there anyone can help me. THANKS

---

## [High cpu percent of elasticsearch](https://discuss.elastic.co/t/high-cpu-percent-of-elasticsearch/228465)

<div class="topic-metadata">

**Author:** [@tiara](https://discuss.elastic.co/u/tiara)\
**Replies:** 0\
**Last updated:** [April 17, 2020, 7:52am UTC](https://discuss.elastic.co/t/high-cpu-percent-of-elasticsearch/228465 "2020-04-17T07:52:45Z")

</div>

Hi, We have our production cluster full use of cpu with very little index or query. We deploy two nodes each machine，each node use more than 1000% cpu with 24 cpu cores JDK 1.8.0\_131 ES 6.3.1 2 nodes per machine ,…

---

## [After changing port number in Elasticsearch.yml file its get Failed to start Elasticsearch](https://discuss.elastic.co/t/after-changing-port-number-in-elasticsearch-yml-file-its-get-failed-to-start-elasticsearch/227115)

<div class="topic-metadata">

**Author:** [@MdRashid](https://discuss.elastic.co/u/MdRashid)\
**Replies:** 23\
**Last updated:** [April 17, 2020, 7:47am UTC](https://discuss.elastic.co/t/after-changing-port-number-in-elasticsearch-yml-file-its-get-failed-to-start-elasticsearch/227115 "2020-04-17T07:47:48Z")

</div>

Elasticsearch v7.5.2 (I'm using it) Changing Port from 9200 to 9300 See below images you will get understand why i am facing this issue for the past 3 days i want to give port number of 9300 instead of 9200 in elastic…

---

## [Elasticsearch reindix range](https://discuss.elastic.co/t/elasticsearch-reindix-range/228454)

<div class="topic-metadata">

**Author:** [@Mohammad\_Mousavi](https://discuss.elastic.co/u/Mohammad_Mousavi)\
**Replies:** 0\
**Last updated:** [April 17, 2020, 6:37am UTC](https://discuss.elastic.co/t/elasticsearch-reindix-range/228454 "2020-04-17T06:37:07Z")

</div>

Hi, in my index template "clientip" field is text. so I need to reindex the indices. It's been about 2 months and indices are create every day: logstash-vod-2020.04.14 logstash-vod-2020.04.13 In docs I see I should…

---

## [Best practice for a newbie](https://discuss.elastic.co/t/best-practice-for-a-newbie/228030)

<div class="topic-metadata">

**Author:** [@Rhh](https://discuss.elastic.co/u/Rhh)\
**Replies:** 3\
**Last updated:** [April 17, 2020, 6:34am UTC](https://discuss.elastic.co/t/best-practice-for-a-newbie/228030 "2020-04-17T06:34:42Z")

</div>

Hi I am totaly new to elastic and tries to figure out how to use elastic with serilog as provider. I have a lot of different log sources (100 +), and they all generate a JSON I need to log. I know I can log the differ…

---

## [Query using array values against String value](https://discuss.elastic.co/t/query-using-array-values-against-string-value/227851)

<div class="topic-metadata">

**Author:** [@ngr](https://discuss.elastic.co/u/ngr)\
**Replies:** 8\
**Last updated:** [April 17, 2020, 6:01am UTC](https://discuss.elastic.co/t/query-using-array-values-against-string-value/227851 "2020-04-17T06:01:16Z")

</div>

version : "6.5.4" I have mapping like : { "examples" : { "mappings" : { "example" : { "properties" : { // ... "petGender" : { "type" : "text" } …

---

## [How to use a doc field to search another doc?](https://discuss.elastic.co/t/how-to-use-a-doc-field-to-search-another-doc/228431)

<div class="topic-metadata">

**Author:** [@kanbekotori](https://discuss.elastic.co/u/kanbekotori)\
**Replies:** 4\
**Last updated:** [April 17, 2020, 5:59am UTC](https://discuss.elastic.co/t/how-to-use-a-doc-field-to-search-another-doc/228431 "2020-04-17T05:59:20Z")

</div>

customer doc { "id": "123", "name": "alibaba", "sellerId": "111" } workflow doc { "id": "100", "title": "hello", "customerId": "123" } I want to search workflow documents with sallerId, it look like { "query…

---

## [Elasticsearch debugging percolator candidates](https://discuss.elastic.co/t/elasticsearch-debugging-percolator-candidates/228453)

<div class="topic-metadata">

**Author:** [@Faiz\_Ahmed\_Mushtak\_H](https://discuss.elastic.co/u/Faiz_Ahmed_Mushtak_H)\
**Replies:** 0\
**Last updated:** [April 17, 2020, 5:16am UTC](https://discuss.elastic.co/t/elasticsearch-debugging-percolator-candidates/228453 "2020-04-17T05:16:00Z")

</div>

I'd like to know which package should I enable the logger of to know the potential candidates ES is going to try percolating against? Also, as part of percolator response, why can't ES return a metric saying how many ca…

---

## [Extra keys not allowed @ data\['actions'\]. Check configuration file when curator start](https://discuss.elastic.co/t/extra-keys-not-allowed-data-actions-check-configuration-file-when-curator-start/228288)

<div class="topic-metadata">

**Author:** [@Win32Sector](https://discuss.elastic.co/u/Win32Sector)\
**Replies:** 2\
**Last updated:** [April 17, 2020, 5:12am UTC](https://discuss.elastic.co/t/extra-keys-not-allowed-data-actions-check-configuration-file-when-curator-start/228288 "2020-04-17T05:12:29Z")

</div>

Hello! I try to setup curator to delete old indices, but I receive error extra keys not allowed @ data\['actions'\]. Check configuration file No handlers could be found for logger "curator.validators.SchemaCheck" …

---

## [Compute alias from index name when using index template](https://discuss.elastic.co/t/compute-alias-from-index-name-when-using-index-template/228450)

<div class="topic-metadata">

**Author:** [@Jinlian\_Chen](https://discuss.elastic.co/u/Jinlian_Chen)\
**Replies:** 0\
**Last updated:** [April 17, 2020, 5:02am UTC](https://discuss.elastic.co/t/compute-alias-from-index-name-when-using-index-template/228450 "2020-04-17T05:02:57Z")

</div>

I have check some discussion on #5359, seems nothing do for it. I have some index like receipt\_2018\_v1, receipt\_2019\_v1, if I change the mapping, the index name will go to receipt\_2018\_v2, receipt\_2019\_v2, the alias of…

---

## [Restrict Internet Access to Elasticsearch Service](https://discuss.elastic.co/t/restrict-internet-access-to-elasticsearch-service/228294)

<div class="topic-metadata">

**Author:** [@anonsw](https://discuss.elastic.co/u/anonsw)\
**Replies:** 3\
**Last updated:** [April 17, 2020, 3:35am UTC](https://discuss.elastic.co/t/restrict-internet-access-to-elasticsearch-service/228294 "2020-04-17T03:35:29Z")

</div>

Hi Team, I am not able to find relevant documentation to restrict internet access to my elasticsearch service cluster with platinum license other than SSO. I would like to block all the internet access to our cluster a…

---

## [Templates in v8 and Beyond](https://discuss.elastic.co/t/templates-in-v8-and-beyond/228432)

<div class="topic-metadata">

**Author:** [@wwalker](https://discuss.elastic.co/u/wwalker)\
**Replies:** 1\
**Last updated:** [April 17, 2020, 3:33am UTC](https://discuss.elastic.co/t/templates-in-v8-and-beyond/228432 "2020-04-17T03:33:55Z")

</div>

So I've read through the notice about the removal of mapping types, but I can't wrap my head around it or find a straight forward example of how the new templates should look. So, given the below, what does it look like…

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

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