# Elasticsearch

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

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

**Page:** 1435

---

## [How well does completion suggersters scale?](https://discuss.elastic.co/t/how-well-does-completion-suggersters-scale/163073)

<div class="topic-metadata">

**Author:** [@ymirza2](https://discuss.elastic.co/u/ymirza2)\
**Replies:** 0\
**Last updated:** [January 6, 2019, 1:01pm UTC](https://discuss.elastic.co/t/how-well-does-completion-suggersters-scale/163073 "2019-01-06T13:01:25Z")

</div>

Hi there, I was attempting to use completion suggersters functionality on an email field. My mapping included this: "email": { "type": "keyword", "fields": { "completion": { "type": "completion" } } } This was …

---

## [I'm trying to create ES cluster to collect logs from multiple clients during watching videos "start, pause and end ... etc"](https://discuss.elastic.co/t/im-trying-to-create-es-cluster-to-collect-logs-from-multiple-clients-during-watching-videos-start-pause-and-end-etc/163051)

<div class="topic-metadata">

**Author:** [@m\_5amy](https://discuss.elastic.co/u/m_5amy)\
**Replies:** 6\
**Last updated:** [January 6, 2019, 4:18pm UTC](https://discuss.elastic.co/t/im-trying-to-create-es-cluster-to-collect-logs-from-multiple-clients-during-watching-videos-start-pause-and-end-etc/163051 "2019-01-06T16:18:23Z")

</div>

Hi all, I'm trying to create ES cluster to collect logs from multiple clients during watching videos "start, pause and end ... etc" what is the vest practice to for building this cluster with multiple nodes only master…

---

## [Spark task are failing: No search context found for id](https://discuss.elastic.co/t/spark-task-are-failing-no-search-context-found-for-id/163085)

<div class="topic-metadata">

**Author:** [@Satendrakumar](https://discuss.elastic.co/u/Satendrakumar)\
**Replies:** 0\
**Last updated:** [January 6, 2019, 3:43pm UTC](https://discuss.elastic.co/t/spark-task-are-failing-no-search-context-found-for-id/163085 "2019-01-06T15:43:49Z")

</div>

Spark tasks are failing because of "No search context found for id". I tried a couple of options like spark.es.input.max.docs.per.partition 250 spark.es.scroll.size 100 spark.es.batch.size.bytes 32mb But tasks are s…

---

## [Upgrade from 5.6 to 6.5-OSS without loosing data](https://discuss.elastic.co/t/upgrade-from-5-6-to-6-5-oss-without-loosing-data/159015)

<div class="topic-metadata">

**Author:** [@jalogisch](https://discuss.elastic.co/u/jalogisch)\
**Replies:** 19\
**Last updated:** [January 6, 2019, 12:35pm UTC](https://discuss.elastic.co/t/upgrade-from-5-6-to-6-5-oss-without-loosing-data/159015 "2019-01-06T12:35:20Z")

</div>

Dear all, I have a running Cluster on Centos 7 with the RPM of Elasticsearch 5.6.13 installed and running. Now after all pre-flight checks, I want to upgrade to 6.5. But I do not find a way to upgrade to the OSS Versio…

---

## [How to get prefix search working without re-indexing of existing data](https://discuss.elastic.co/t/how-to-get-prefix-search-working-without-re-indexing-of-existing-data/163066)

<div class="topic-metadata">

**Author:** [@amitmbm](https://discuss.elastic.co/u/amitmbm)\
**Replies:** 0\
**Last updated:** [January 6, 2019, 8:49am UTC](https://discuss.elastic.co/t/how-to-get-prefix-search-working-without-re-indexing-of-existing-data/163066 "2019-01-06T08:49:45Z")

</div>

Earlier I implemented a search as you type using the prefix query but then it has got a lot of issues due to stemmed fields in my index :- Suppose my index name is jaipur and it contains a field title which is analy…

---

## [Elasticsearch won't start after adding email settings in elasticsearch.yml](https://discuss.elastic.co/t/elasticsearch-wont-start-after-adding-email-settings-in-elasticsearch-yml/163002)

<div class="topic-metadata">

**Author:** [@nandrik](https://discuss.elastic.co/u/nandrik)\
**Replies:** 1\
**Last updated:** [January 6, 2019, 3:03am UTC](https://discuss.elastic.co/t/elasticsearch-wont-start-after-adding-email-settings-in-elasticsearch-yml/163002 "2019-01-06T03:03:12Z")

</div>

Hi, I'm trying to configure automated reporting and the first part of it appears to be configuring/adding email settings in elasticsearch.yml. My elsticsearch.yml is relatively vanilla, i.e. only the path.data, path.lo…

---

## [Looking for any examples of using curator via the python api](https://discuss.elastic.co/t/looking-for-any-examples-of-using-curator-via-the-python-api/163059)

<div class="topic-metadata">

**Author:** [@memelet](https://discuss.elastic.co/u/memelet)\
**Replies:** 4\
**Last updated:** [January 6, 2019, 2:41am UTC](https://discuss.elastic.co/t/looking-for-any-examples-of-using-curator-via-the-python-api/163059 "2019-01-06T02:41:14Z")

</div>

Even something just as simple as how to use logging. (I'm new to python so looking for a quick bootstrap).

---

## [Passages pertinents de texte](https://discuss.elastic.co/t/passages-pertinents-de-texte/161956)

<div class="topic-metadata">

**Author:** [@FatineJ](https://discuss.elastic.co/u/FatineJ)\
**Replies:** 2\
**Last updated:** [January 5, 2019, 11:22pm UTC](https://discuss.elastic.co/t/passages-pertinents-de-texte/161956 "2019-01-05T23:22:04Z")

</div>

Bonjour, Est ce qu'il est possible d'obtenir juste les passages pertinents de texte au lieu d'avoir des documents entiers correspondant à ma recherche basée sur des mots clés? Si Elasticsearch n'est pas capable de fair…

---

## [ElastAlert configure with AWS Elasticsearch service](https://discuss.elastic.co/t/elastalert-configure-with-aws-elasticsearch-service/163058)

<div class="topic-metadata">

**Author:** [@madurad](https://discuss.elastic.co/u/madurad)\
**Replies:** 1\
**Last updated:** [January 5, 2019, 10:08pm UTC](https://discuss.elastic.co/t/elastalert-configure-with-aws-elasticsearch-service/163058 "2019-01-05T22:08:01Z")

</div>

I'm having an issue to connect to AWS elasticsearch service from Elastalert, getting following error. elasticsearch.exceptions.AuthorizationException: AuthorizationException(403, u'{"message":"Authorization header requi…

---

## [Curator python api for es 6?](https://discuss.elastic.co/t/curator-python-api-for-es-6/163056)

<div class="topic-metadata">

**Author:** [@memelet](https://discuss.elastic.co/u/memelet)\
**Replies:** 3\
**Last updated:** [January 5, 2019, 8:20pm UTC](https://discuss.elastic.co/t/curator-python-api-for-es-6/163056 "2019-01-05T20:20:03Z")

</div>

The docs say: The Elasticsearch Curator Python API is compatible with the 5.x Elasticsearch versions, and supports Python versions 2.7 and later. Is this just outdated, or is it really the case the curator python api…

---

## [Why we can't enable Machine Learning in system indices?](https://discuss.elastic.co/t/why-we-cant-enable-machine-learning-in-system-indices/162943)

<div class="topic-metadata">

**Author:** [@DineshTripathi](https://discuss.elastic.co/u/DineshTripathi)\
**Replies:** 2\
**Last updated:** [January 5, 2019, 3:06pm UTC](https://discuss.elastic.co/t/why-we-cant-enable-machine-learning-in-system-indices/162943 "2019-01-05T15:06:08Z")

</div>

I am trying to understand what is the reason behind not allowing ML on system indices ?

---

## [Does anyone know whether Rally would work with Elassandra?](https://discuss.elastic.co/t/does-anyone-know-whether-rally-would-work-with-elassandra/163029)

<div class="topic-metadata">

**Author:** [@AlexisWilke](https://discuss.elastic.co/u/AlexisWilke)\
**Replies:** 2\
**Last updated:** [January 5, 2019, 10:44am UTC](https://discuss.elastic.co/t/does-anyone-know-whether-rally-would-work-with-elassandra/163029 "2019-01-05T10:44:28Z")

</div>

I'm working with Elassandra (Elasticsearch + Cassandra). I'd like to do some benchmarking. Is it possible to do so with Rally? I have doubts about how Rally works. I want to test an existing live Elassandra server (not …

---

## [How do I provision Elasticsearch with an index template?](https://discuss.elastic.co/t/how-do-i-provision-elasticsearch-with-an-index-template/162984)

<div class="topic-metadata">

**Author:** [@mattskone](https://discuss.elastic.co/u/mattskone)\
**Replies:** 1\
**Last updated:** [January 5, 2019, 9:39am UTC](https://discuss.elastic.co/t/how-do-i-provision-elasticsearch-with-an-index-template/162984 "2019-01-05T09:39:17Z")

</div>

I'm supporting an ELK stack with version 6.3.x of all components. I want to reduce the sharding factor of all indices from the 5 (default) to 3 (the number of data nodes in the ES cluster). From reading the documentati…

---

## [Multiple mappings handling in ES 6.5 (upgrading from 5.5 to 6.5)](https://discuss.elastic.co/t/multiple-mappings-handling-in-es-6-5-upgrading-from-5-5-to-6-5/163035)

<div class="topic-metadata">

**Author:** [@Suryadip\_Nag](https://discuss.elastic.co/u/Suryadip_Nag)\
**Replies:** 1\
**Last updated:** [January 5, 2019, 9:03am UTC](https://discuss.elastic.co/t/multiple-mappings-handling-in-es-6-5-upgrading-from-5-5-to-6-5/163035 "2019-01-05T09:03:16Z")

</div>

We are using ElasticSearch 5.5 and in the template we mentioned default mapping type as ‘default’ under one index say ‘abc’. But when we store data we are using a different type ‘app\_obj’ under same index ‘abc’. So total…

---

## [Connection to Elastic Search server is not consistant](https://discuss.elastic.co/t/connection-to-elastic-search-server-is-not-consistant/163024)

<div class="topic-metadata">

**Author:** [@Rajashree\_Gr](https://discuss.elastic.co/u/Rajashree_Gr)\
**Replies:** 0\
**Last updated:** [January 5, 2019, 3:11am UTC](https://discuss.elastic.co/t/connection-to-elastic-search-server-is-not-consistant/163024 "2019-01-05T03:11:02Z")

</div>

I'm facing some strange issue. I'm trying to load one record into Elastic search server. The programs work fine sometimes and sometimes it is failing with java.net.ConnectionException. Not sure what is causing the proble…

---

## [Date format issue MMM D, YYYY h:mm:ss A](https://discuss.elastic.co/t/date-format-issue-mmm-d-yyyy-hss-a/162851)

<div class="topic-metadata">

**Author:** [@Rajashree\_Gr](https://discuss.elastic.co/u/Rajashree_Gr)\
**Replies:** 3\
**Last updated:** [January 5, 2019, 3:09am UTC](https://discuss.elastic.co/t/date-format-issue-mmm-d-yyyy-hss-a/162851 "2019-01-05T03:09:36Z")

</div>

I'm facing the org.elasticsearch.index.mapper.MapperParsingException: failed to parse \[date\] - exception while loading the data to elastic search. The date format used is a date: MMM D, YYYY h:mm:ss A. The date value w…

---

## [Use ingest attachment on Angular 2 app](https://discuss.elastic.co/t/use-ingest-attachment-on-angular-2-app/163023)

<div class="topic-metadata">

**Author:** [@Carlos\_Pinedo](https://discuss.elastic.co/u/Carlos_Pinedo)\
**Replies:** 0\
**Last updated:** [January 5, 2019, 3:04am UTC](https://discuss.elastic.co/t/use-ingest-attachment-on-angular-2-app/163023 "2019-01-05T03:04:33Z")

</div>

Is there any tutorial or way to ingest PDF documents using the ingest-attachment plugin from Angular 2? (Typerscript) Thanks!

---

## [Elastic Search after bulk not getting called](https://discuss.elastic.co/t/elastic-search-after-bulk-not-getting-called/162730)

<div class="topic-metadata">

**Author:** [@Rajashree\_Gr](https://discuss.elastic.co/u/Rajashree_Gr)\
**Replies:** 2\
**Last updated:** [January 5, 2019, 2:50am UTC](https://discuss.elastic.co/t/elastic-search-after-bulk-not-getting-called/162730 "2019-01-05T02:50:09Z")

</div>

I'm facing the same issue as bulkProcessor never calls afterBulk?. What might have been wrong here? I have set the BulkSize to 1 and still facing the issue.

---

## [The index GET /\_stats api doesn't return if the index is green, yellow, red](https://discuss.elastic.co/t/the-index-get-stats-api-doesnt-return-if-the-index-is-green-yellow-red/163016)

<div class="topic-metadata">

**Author:** [@pingwangcs](https://discuss.elastic.co/u/pingwangcs)\
**Replies:** 1\
**Last updated:** [January 5, 2019, 12:07am UTC](https://discuss.elastic.co/t/the-index-get-stats-api-doesnt-return-if-the-index-is-green-yellow-red/163016 "2019-01-05T00:07:57Z")

</div>

HI There, the index GET /\_stats api doesn't return if the index is green, yellow, red. Could you tell me what are the conditions to say that if an index is green, yellow, red based on the data returned by the GET /\_sta…

---

## [Kibana dashboard works for elasticsearch but no for logstash](https://discuss.elastic.co/t/kibana-dashboard-works-for-elasticsearch-but-no-for-logstash/162993)

<div class="topic-metadata">

**Author:** [@froman](https://discuss.elastic.co/u/froman)\
**Replies:** 4\
**Last updated:** [January 4, 2019, 11:27pm UTC](https://discuss.elastic.co/t/kibana-dashboard-works-for-elasticsearch-but-no-for-logstash/162993 "2019-01-04T23:27:20Z")

</div>

Hello guys, I'm new here. At first I just wanted to use elasticsearch and filebeat to centralize my servers logs and integrate them on my icinga web. I installed filebeat in the clients and configure them so send data …

---

## [Custom analyzer and char\_group tokenizer - can't search for terms with dot](https://discuss.elastic.co/t/custom-analyzer-and-char-group-tokenizer-cant-search-for-terms-with-dot/163008)

<div class="topic-metadata">

**Author:** [@mad\_dog](https://discuss.elastic.co/u/mad_dog)\
**Replies:** 0\
**Last updated:** [January 4, 2019, 8:45pm UTC](https://discuss.elastic.co/t/custom-analyzer-and-char-group-tokenizer-cant-search-for-terms-with-dot/163008 "2019-01-04T20:45:17Z")

</div>

Hi, I just added custom analyzer with char\_group tokenizer to my index and I was supprised when I found out that I'm able to include in searches all characters specified in tokenize\_on\_chars except dot. Obviously all th…

---

## [Elastic Search + Kibana Docker containers](https://discuss.elastic.co/t/elastic-search-kibana-docker-containers/162998)

<div class="topic-metadata">

**Author:** [@clouduser](https://discuss.elastic.co/u/clouduser)\
**Replies:** 3\
**Last updated:** [January 4, 2019, 8:21pm UTC](https://discuss.elastic.co/t/elastic-search-kibana-docker-containers/162998 "2019-01-04T20:21:21Z")

</div>

I am looking for Elastic Search + kibana running docker container. I found this docker container image via docker hub but i dont see both together in the same docker container image. https://hub.docker.com//elasticsearc…

---

## [Extent existing ElasticSearch instance to search content of 3rd party sources](https://discuss.elastic.co/t/extent-existing-elasticsearch-instance-to-search-content-of-3rd-party-sources/162425)

<div class="topic-metadata">

**Author:** [@PackElend](https://discuss.elastic.co/u/PackElend)\
**Replies:** 1\
**Last updated:** [January 4, 2019, 7:40pm UTC](https://discuss.elastic.co/t/extent-existing-elasticsearch-instance-to-search-content-of-3rd-party-sources/162425 "2019-01-04T19:40:24Z")

</div>

Hallo, I'm very new in elastic. The reason why I entered its world is due to the fact that nextcloud's Solr search app Nextant is abandoned and there is only Full text search with an ElasticSearch extension. I'm wonder…

---

## [Disaster Recovery - Azure Site Recovery?](https://discuss.elastic.co/t/disaster-recovery-azure-site-recovery/162893)

<div class="topic-metadata">

**Author:** [@mosiddi](https://discuss.elastic.co/u/mosiddi)\
**Replies:** 2\
**Last updated:** [January 4, 2019, 6:42pm UTC](https://discuss.elastic.co/t/disaster-recovery-azure-site-recovery/162893 "2019-01-04T18:42:24Z")

</div>

Anyone tried solution like the one mentioned @ https://azure.microsoft.com/en-us/blog/asr-managed-disks-between-azure-regions/ for DR strategy? If not, anyone in this forum tried backup/restore solutions that work for di…

---

## [Mass allocate\_stale\_primary](https://discuss.elastic.co/t/mass-allocate-stale-primary/162719)

<div class="topic-metadata">

**Author:** [@amomchilov](https://discuss.elastic.co/u/amomchilov)\
**Replies:** 4\
**Last updated:** [January 4, 2019, 6:39pm UTC](https://discuss.elastic.co/t/mass-allocate-stale-primary/162719 "2019-01-04T18:39:48Z")

</div>

We have a pretty sizable Elasticsearch cluster (currently storing 1.2 PB) that has had some data loss due to some PEBCAK. This is for a logging/debugging usecase, so we can tolerate data loss, it's a minor inconvenience,…

---

## [Cross cluster search problem](https://discuss.elastic.co/t/cross-cluster-search-problem/162992)

<div class="topic-metadata">

**Author:** [@alberto.latorre](https://discuss.elastic.co/u/alberto.latorre)\
**Replies:** 1\
**Last updated:** [January 4, 2019, 6:10pm UTC](https://discuss.elastic.co/t/cross-cluster-search-problem/162992 "2019-01-04T18:10:14Z")

</div>

Hello. Please I need some help with the cross cluster search. I have a production cluster and a monitoring cluster (1 node only). All of them in version 6.4 I try to make cross cluster search and to accomplish this I e…

---

## [Is it possible to reinitialize the model at a certain date?](https://discuss.elastic.co/t/is-it-possible-to-reinitialize-the-model-at-a-certain-date/162627)

<div class="topic-metadata">

**Author:** [@dao](https://discuss.elastic.co/u/dao)\
**Replies:** 9\
**Last updated:** [January 4, 2019, 5:55pm UTC](https://discuss.elastic.co/t/is-it-possible-to-reinitialize-the-model-at-a-certain-date/162627 "2019-01-04T17:55:52Z")

</div>

Hello, I am monitoring sensor data with ML. Each time the sensor is replaced, the values jumps, that's something I am OK with. But after the jump, the model bounds are getting wider. I don't want this, and I want to res…

---

## [Elasticsearch sql query does not work when index name contains "-"](https://discuss.elastic.co/t/elasticsearch-sql-query-does-not-work-when-index-name-contains/162946)

<div class="topic-metadata">

**Author:** [@zozo6015](https://discuss.elastic.co/u/zozo6015)\
**Replies:** 5\
**Last updated:** [January 4, 2019, 5:50pm UTC](https://discuss.elastic.co/t/elasticsearch-sql-query-does-not-work-when-index-name-contains/162946 "2019-01-04T17:50:55Z")

</div>

I've been playing with elasticsearch sql query and I have tried to run DESCRIBE filebeat-6.5.0-2019.01.04 but I am getting the following error: { "error": { "root\_cause": \[ { "type": "parsing\_excepti…

---

## [How can we install elastic as windows service](https://discuss.elastic.co/t/how-can-we-install-elastic-as-windows-service/162918)

<div class="topic-metadata">

**Author:** [@sid\_nikhil](https://discuss.elastic.co/u/sid_nikhil)\
**Replies:** 7\
**Last updated:** [January 4, 2019, 4:17pm UTC](https://discuss.elastic.co/t/how-can-we-install-elastic-as-windows-service/162918 "2019-01-04T16:17:55Z")

</div>

I know how to host kibana & ES on command prompt . But we need to install ES & Kibana on servers , and ensure that they start automatically when the server restarts . I hosted ES/Kibana on servers using command prompt…

---

## [Alerting on cluster (watcher)](https://discuss.elastic.co/t/alerting-on-cluster-watcher/162555)

<div class="topic-metadata">

**Author:** [@sahere37](https://discuss.elastic.co/u/sahere37)\
**Replies:** 1\
**Last updated:** [January 4, 2019, 4:13pm UTC](https://discuss.elastic.co/t/alerting-on-cluster-watcher/162555 "2019-01-04T16:13:00Z")

</div>

hi all, I am using filebeat, elasticsearch, kibana and x-pack. Version of all is 6.1.1. I defined watch, condition and action as following: PUT \_xpack/watcher/watch/log\_error\_watch { "trigger" : { "schedule" : { "int…

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

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