# Elasticsearch

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

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

**Page:** 965

---

## [Hot-Warm-Cold - avoid duplicates](https://discuss.elastic.co/t/hot-warm-cold-avoid-duplicates/226829)

<div class="topic-metadata">

**Author:** [@Linuus](https://discuss.elastic.co/u/Linuus)\
**Replies:** 0\
**Last updated:** [April 7, 2020, 6:08am UTC](https://discuss.elastic.co/t/hot-warm-cold-avoid-duplicates/226829 "2020-04-07T06:08:22Z")

</div>

Hi! I'm moving to a new ES cluster which also uses the Hot-Warm-Cold architecture. Now, when we imported our old data (600 million documents) it took quite a long time and after a while we noticed that we have duplicate…

---

## [How timeout control work](https://discuss.elastic.co/t/how-timeout-control-work/226318)

<div class="topic-metadata">

**Author:** [@NashMiao](https://discuss.elastic.co/u/NashMiao)\
**Replies:** 2\
**Last updated:** [April 7, 2020, 5:52am UTC](https://discuss.elastic.co/t/how-timeout-control-work/226318 "2020-04-07T05:52:59Z")

</div>

I add timeout param in search body, then the response shows this query is timeout, took 233 ms. I'm wondering about whether the timeout control did work. I Javadoc, it describes this param as a time limiter in searchi…

---

## [What is the difference between CONTAINS and INTERSECTS?](https://discuss.elastic.co/t/what-is-the-difference-between-contains-and-intersects/226791)

<div class="topic-metadata">

**Author:** [@hariseldon3141](https://discuss.elastic.co/u/hariseldon3141)\
**Replies:** 2\
**Last updated:** [April 7, 2020, 5:21am UTC](https://discuss.elastic.co/t/what-is-the-difference-between-contains-and-intersects/226791 "2020-04-07T05:21:34Z")

</div>

Sorry for the newbie question, but these geo\_shape spatial relations seem to be very similar in the results that they produce. I believe that CONTAINS is relatively new in being supported, but what's even the point of it…

---

## [Snapshot repo.path deson't match. It recongized by settings api](https://discuss.elastic.co/t/snapshot-repo-path-desont-match-it-recongized-by-settings-api/226299)

<div class="topic-metadata">

**Author:** [@naoko](https://discuss.elastic.co/u/naoko)\
**Replies:** 3\
**Last updated:** [April 7, 2020, 4:04am UTC](https://discuss.elastic.co/t/snapshot-repo-path-desont-match-it-recongized-by-settings-api/226299 "2020-04-07T04:04:58Z")

</div>

I tried to create snapshot rep but failing with location \[/data/elasticsearch\_backups\] doesn't match any of the locations specified by path.repo config is there: cat /etc/elasticsearch/elasticsearch.yml | grep repo …

---

## [Question about the problem of “FileNotFoundException" while allocating replicas](https://discuss.elastic.co/t/question-about-the-problem-of-filenotfoundexception-while-allocating-replicas/226606)

<div class="topic-metadata">

**Author:** [@Hyunsoo\_Shim](https://discuss.elastic.co/u/Hyunsoo_Shim)\
**Replies:** 4\
**Last updated:** [April 7, 2020, 1:56am UTC](https://discuss.elastic.co/t/question-about-the-problem-of-filenotfoundexception-while-allocating-replicas/226606 "2020-04-07T01:56:40Z")

</div>

Dear All, I had posted the below issue while allocating replicas last week, and not got any reply for it yet. Maybe my questions were too convoluted or had a formatting issue to get an answer.. So I have arranged the…

---

## [Search term position](https://discuss.elastic.co/t/search-term-position/226514)

<div class="topic-metadata">

**Author:** [@Luan\_Pereira](https://discuss.elastic.co/u/Luan_Pereira)\
**Replies:** 7\
**Last updated:** [April 7, 2020, 12:39am UTC](https://discuss.elastic.co/t/search-term-position/226514 "2020-04-07T00:39:20Z")

</div>

Hi, I'm using version 6.8. How to configure the search to prioritize products that have the search term in ascending order? For example, when typing the word "oil" (cooking oil) I want the search result to prioritize pr…

---

## [A question on dynamic templates](https://discuss.elastic.co/t/a-question-on-dynamic-templates/226717)

<div class="topic-metadata">

**Author:** [@pk.241011](https://discuss.elastic.co/u/pk.241011)\
**Replies:** 4\
**Last updated:** [April 7, 2020, 12:11am UTC](https://discuss.elastic.co/t/a-question-on-dynamic-templates/226717 "2020-04-07T00:11:48Z")

</div>

I am putting in custom templates to take the guess work out of the mappings generated. The indices are created daily and collect logs. I took the mapping of one of the created index and then added the dynamic template se…

---

## [Monitoring cluster latest version to clusters with old versions](https://discuss.elastic.co/t/monitoring-cluster-latest-version-to-clusters-with-old-versions/224703)

<div class="topic-metadata">

**Author:** [@elemus](https://discuss.elastic.co/u/elemus)\
**Replies:** 2\
**Last updated:** [April 6, 2020, 11:43pm UTC](https://discuss.elastic.co/t/monitoring-cluster-latest-version-to-clusters-with-old-versions/224703 "2020-04-06T23:43:01Z")

</div>

Hi I have a similar problem as described in Can I use a most recent version of elasticsearch to monitoring other clusters with older versions?

---

## [ElasticSearch e HeartBeat - Envio de alerta de UPTIME por email](https://discuss.elastic.co/t/elasticsearch-e-heartbeat-envio-de-alerta-de-uptime-por-email/226746)

<div class="topic-metadata">

**Author:** [@thiago7azevedo](https://discuss.elastic.co/u/thiago7azevedo)\
**Replies:** 1\
**Last updated:** [April 6, 2020, 8:54pm UTC](https://discuss.elastic.co/t/elasticsearch-e-heartbeat-envio-de-alerta-de-uptime-por-email/226746 "2020-04-06T20:54:20Z")

</div>

Olá a todos! É uma grande satisfação fazer parte deste fórum. Configure o heartbeat com uma imagem docker.elastic.co/beats/heartbeat:7.5.1 rodando em um contêiner no docker, onde é possível ver UPTIME de algumas UR…

---

## [Trouble adding the 3rd Master node to the cluster](https://discuss.elastic.co/t/trouble-adding-the-3rd-master-node-to-the-cluster/226768)

<div class="topic-metadata">

**Author:** [@shabab](https://discuss.elastic.co/u/shabab)\
**Replies:** 3\
**Last updated:** [April 6, 2020, 8:46pm UTC](https://discuss.elastic.co/t/trouble-adding-the-3rd-master-node-to-the-cluster/226768 "2020-04-06T20:46:34Z")

</div>

Hey All, I have having issue adding 3rd master to my existing cluster, current setup below 2 Master Nodes working fine 2 Data Nodes working not able to add the 3rd Master node to the existing cluster, I have validate…

---

## [Will my LDAP integration stop working when my Platinum license expires?](https://discuss.elastic.co/t/will-my-ldap-integration-stop-working-when-my-platinum-license-expires/226589)

<div class="topic-metadata">

**Author:** [@alexmm](https://discuss.elastic.co/u/alexmm)\
**Replies:** 2\
**Last updated:** [April 6, 2020, 7:01pm UTC](https://discuss.elastic.co/t/will-my-ldap-integration-stop-working-when-my-platinum-license-expires/226589 "2020-04-06T19:01:27Z")

</div>

Will my LDAP integration stop working when my Platinum license expires? I am running an Elasticsearch v6.8. I see the "degraded mode", that will be enabled once the license expires, described in this official docu but …

---

## [In how many environments/clusters can I use the non-production license?](https://discuss.elastic.co/t/in-how-many-environments-clusters-can-i-use-the-non-production-license/226593)

<div class="topic-metadata">

**Author:** [@alexmm](https://discuss.elastic.co/u/alexmm)\
**Replies:** 2\
**Last updated:** [April 6, 2020, 6:58pm UTC](https://discuss.elastic.co/t/in-how-many-environments-clusters-can-i-use-the-non-production-license/226593 "2020-04-06T18:58:32Z")

</div>

When I got my Platinum license I got 2 JSON files (a production one and a non-production one). I understand I can only set the production license in 1 cluster. But what about the non-production license? I have 3 non pr…

---

## [Esrally Urllib3HttpConnection](https://discuss.elastic.co/t/esrally-urllib3httpconnection/226601)

<div class="topic-metadata">

**Author:** [@kinlee](https://discuss.elastic.co/u/kinlee)\
**Replies:** 8\
**Last updated:** [April 6, 2020, 5:11pm UTC](https://discuss.elastic.co/t/esrally-urllib3httpconnection/226601 "2020-04-06T17:11:19Z")

</div>

2020-04-06 00:59:42,445 -not-actor-/PID:15373 elasticsearch WARNING Connection \<Urllib3HttpConnection: http://xxx.xxx.xx.xx:9200\> has failed for 2 times in a row, putting on 120 second timeout. 2020-04-06 00:59:42,447 -…

---

## [Query on multiple collections at once with mongodb](https://discuss.elastic.co/t/query-on-multiple-collections-at-once-with-mongodb/226571)

<div class="topic-metadata">

**Author:** [@chawki](https://discuss.elastic.co/u/chawki)\
**Replies:** 3\
**Last updated:** [April 6, 2020, 3:31pm UTC](https://discuss.elastic.co/t/query-on-multiple-collections-at-once-with-mongodb/226571 "2020-04-06T15:31:43Z")

</div>

Can I able to search on multiple mongodb collections with elastic search at once?

---

## [Curator-SSL: WRONG\_VERSION\_NUMBER at normal execution](https://discuss.elastic.co/t/curator-ssl-wrong-version-number-at-normal-execution/226740)

<div class="topic-metadata">

**Author:** [@DrissiReda](https://discuss.elastic.co/u/DrissiReda)\
**Replies:** 0\
**Last updated:** [April 6, 2020, 3:14pm UTC](https://discuss.elastic.co/t/curator-ssl-wrong-version-number-at-normal-execution/226740 "2020-04-06T15:14:38Z")

</div>

Launching a simple snapshot action causes this error. I'm running elasticsearch and minio locally, I managed to create snapshots manually but wanted to use curator for automating snapshots. HTTP N/A error: HTTPSConnecti…

---

## [ELasticsearch initial master nodes using DNS](https://discuss.elastic.co/t/elasticsearch-initial-master-nodes-using-dns/226733)

<div class="topic-metadata">

**Author:** [@kmroz](https://discuss.elastic.co/u/kmroz)\
**Replies:** 4\
**Last updated:** [April 6, 2020, 3:08pm UTC](https://discuss.elastic.co/t/elasticsearch-initial-master-nodes-using-dns/226733 "2020-04-06T15:08:25Z")

</div>

Hello, Trying to setup a new Elastic Cluster with the latest and greatest version. I tried configuring the list to use hostnames and IP addresses can change. It seems ES doesnt like it when I use DNS. Is there another w…

---

## [Elasticsearch Search Queries](https://discuss.elastic.co/t/elasticsearch-search-queries/226641)

<div class="topic-metadata">

**Author:** [@vpolizki](https://discuss.elastic.co/u/vpolizki)\
**Replies:** 3\
**Last updated:** [April 6, 2020, 3:06pm UTC](https://discuss.elastic.co/t/elasticsearch-search-queries/226641 "2020-04-06T15:06:28Z")

</div>

Hi , I want to search in DEV TOOLS query : "((STATUS:Stop AND STIME\>180) OR STATUS:Start)" on last 15 minuts , in kibana-discover worked excellent. it is contain AND, OR and condition \> on integer field STIME bigge…

---

## [Geo points for ingestion of data in csv format using python](https://discuss.elastic.co/t/geo-points-for-ingestion-of-data-in-csv-format-using-python/226664)

<div class="topic-metadata">

**Author:** [@richylyq](https://discuss.elastic.co/u/richylyq)\
**Replies:** 1\
**Last updated:** [April 6, 2020, 3:05pm UTC](https://discuss.elastic.co/t/geo-points-for-ingestion-of-data-in-csv-format-using-python/226664 "2020-04-06T15:05:42Z")

</div>

Hi, I wish to ingest my csv files which consist of fields with latitude and longitude values. How can i ingest these two values as geo\_points using python?

---

## [Facets and doing some filtering based on facets](https://discuss.elastic.co/t/facets-and-doing-some-filtering-based-on-facets/226429)

<div class="topic-metadata">

**Author:** [@Lalit\_Kumar](https://discuss.elastic.co/u/Lalit_Kumar)\
**Replies:** 1\
**Last updated:** [April 6, 2020, 2:19pm UTC](https://discuss.elastic.co/t/facets-and-doing-some-filtering-based-on-facets/226429 "2020-04-06T14:19:58Z")

</div>

I have a question about facets and doing some filtering based on facets. i know this is a repeated question but i am unable find the answer. i would like to know how can i implement the same functionality in elastic s…

---

## [ES 6.8.8 Security Upgrade from CVE missing modules](https://discuss.elastic.co/t/es-6-8-8-security-upgrade-from-cve-missing-modules/226462)

<div class="topic-metadata">

**Author:** [@ben-charles](https://discuss.elastic.co/u/ben-charles)\
**Replies:** 1\
**Last updated:** [April 6, 2020, 2:16pm UTC](https://discuss.elastic.co/t/es-6-8-8-security-upgrade-from-cve-missing-modules/226462 "2020-04-06T14:16:37Z")

</div>

Due to the recent CVE-2020-7009 and from the ES recommendation, we are trying to upgrade from 6.8.2 to 6.8.8. However, on the Maven Repo, I see that some of the modules such as org.codelibs.elasticsearch.module:analysis-…

---

## [Terms aggregation: how many is too many?](https://discuss.elastic.co/t/terms-aggregation-how-many-is-too-many/226653)

<div class="topic-metadata">

**Author:** [@mredaelli](https://discuss.elastic.co/u/mredaelli)\
**Replies:** 1\
**Last updated:** [April 6, 2020, 1:54pm UTC](https://discuss.elastic.co/t/terms-aggregation-how-many-is-too-many/226653 "2020-04-06T13:54:15Z")

</div>

In the documentation for the terms aggregation it is stated that to retrieve all terms you'd normally go for a composite aggregation and use paging. Since for our current use-case having a one-shot query would be much e…

---

## [How to join a index to filter aggregations](https://discuss.elastic.co/t/how-to-join-a-index-to-filter-aggregations/226250)

<div class="topic-metadata">

**Author:** [@maxheyer](https://discuss.elastic.co/u/maxheyer)\
**Replies:** 4\
**Last updated:** [April 6, 2020, 1:52pm UTC](https://discuss.elastic.co/t/how-to-join-a-index-to-filter-aggregations/226250 "2020-04-06T13:52:25Z")

</div>

I'm trying to filter my result by a second index. Elasticsearch version 6.2.2 Can I filter my aggregations by "joining" a second index named product? Something like: { "query": { "bool": { "must": \[ …

---

## [Parse\_exception errror](https://discuss.elastic.co/t/parse-exception-errror/226659)

<div class="topic-metadata">

**Author:** [@thywoe](https://discuss.elastic.co/u/thywoe)\
**Replies:** 1\
**Last updated:** [April 6, 2020, 1:52pm UTC](https://discuss.elastic.co/t/parse-exception-errror/226659 "2020-04-06T13:52:21Z")

</div>

Error: Request to Elasticsearch failed: {"error":{"root\_cause":\[{"type":"parse\_exception","reason":"failed to parse date field \[-1588464815700\] with format \[epoch\_millis\]: \[failed to parse date field \[-1588464815700\] wit…

---

## [Php api error](https://discuss.elastic.co/t/php-api-error/226673)

<div class="topic-metadata">

**Author:** [@vipinpa](https://discuss.elastic.co/u/vipinpa)\
**Replies:** 0\
**Last updated:** [April 6, 2020, 10:11am UTC](https://discuss.elastic.co/t/php-api-error/226673 "2020-04-06T10:11:26Z")

</div>

Hi, I am using PHP elastic api (https://github.com/elastic/app-search-php) I passed the filter param like below. $searchParams = \[ 'page' =\> \['current' =\> $current, 'size' =\> 10\] , 'filters'=\> \[ 'all' =\> \[ "searc…

---

## [Elasticsearch 5.6.16 on Ubuntu 18.04](https://discuss.elastic.co/t/elasticsearch-5-6-16-on-ubuntu-18-04/226698)

<div class="topic-metadata">

**Author:** [@Deb](https://discuss.elastic.co/u/Deb)\
**Replies:** 1\
**Last updated:** [April 6, 2020, 1:46pm UTC](https://discuss.elastic.co/t/elasticsearch-5-6-16-on-ubuntu-18-04/226698 "2020-04-06T13:46:56Z")

</div>

Can someone let me know if elasticsearch is supported on Ubuntu 18.04? I looked through the 5.6.16 documentation but could not find anything related to Ubuntu 18.

---

## [Mixing data](https://discuss.elastic.co/t/mixing-data/226021)

<div class="topic-metadata">

**Author:** [@yen\_l\_ng\_th](https://discuss.elastic.co/u/yen_l_ng_th)\
**Replies:** 3\
**Last updated:** [April 6, 2020, 1:20pm UTC](https://discuss.elastic.co/t/mixing-data/226021 "2020-04-06T13:20:49Z")

</div>

I want to add an object to the query. Is there any solution? Example Object = { Struct} data query return = \[Obj1, Obj2, Obj3\] How that Object is in the returned data query data = \[Obj1, Obj2, Obj3, Object \]

---

## [Alerting passing from Fired==\>OK](https://discuss.elastic.co/t/alerting-passing-from-fired-ok/224603)

<div class="topic-metadata">

**Author:** [@pasqualecapalbo](https://discuss.elastic.co/u/pasqualecapalbo)\
**Replies:** 8\
**Last updated:** [April 6, 2020, 1:15pm UTC](https://discuss.elastic.co/t/alerting-passing-from-fired-ok/224603 "2020-04-06T13:15:30Z")

</div>

Hi All, I'm trying to implement a simple watcher that send an email when trigger itself change from Fired to OK status; I'm looking in .watcher-history\* index to find some useful column, but didn't find any clue. Can y…

---

## [How to use regex in role\_mapping.yml](https://discuss.elastic.co/t/how-to-use-regex-in-role-mapping-yml/226241)

<div class="topic-metadata">

**Author:** [@spadhi](https://discuss.elastic.co/u/spadhi)\
**Replies:** 2\
**Last updated:** [April 6, 2020, 12:25pm UTC](https://discuss.elastic.co/t/how-to-use-regex-in-role-mapping-yml/226241 "2020-04-06T12:25:30Z")

</div>

I am using below Role mapping configuration in role\_mapping.yml and it works. kibana\_user: - "CN=grp1\_viewer,OU=Groups,OU=ISO,DC=abcd,DC=com" - "CN=grp1\_editor,OU=Groups,OU=ISO,DC=abcd,DC=com" - "CN=grp1\_admin,OU=Gro…

---

## [Reindex with mapping of data](https://discuss.elastic.co/t/reindex-with-mapping-of-data/226692)

<div class="topic-metadata">

**Author:** [@yBother](https://discuss.elastic.co/u/yBother)\
**Replies:** 0\
**Last updated:** [April 6, 2020, 11:31am UTC](https://discuss.elastic.co/t/reindex-with-mapping-of-data/226692 "2020-04-06T11:31:41Z")

</div>

I am using high level NEST client for C# version 7.6.0. I want to migrate existing data created in 5.2 to 7.6.0 I understand that I need to migrate to version 6.x (6.8) first. The only thing I found was this: var r…

---

## [Restoring snapshot on another machine?](https://discuss.elastic.co/t/restoring-snapshot-on-another-machine/226390)

<div class="topic-metadata">

**Author:** [@Arp](https://discuss.elastic.co/u/Arp)\
**Replies:** 3\
**Last updated:** [April 6, 2020, 11:04am UTC](https://discuss.elastic.co/t/restoring-snapshot-on-another-machine/226390 "2020-04-06T11:04:28Z")

</div>

Hi, I am playing around with elasticsearch. I have three VMs set up. 1 provides a common nfs folder. Every machine has access to it. 2 has a syslog server which sends logs into elasticsearch 3 is supposed to be a mac…

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

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