# Elasticsearch

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

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

**Page:** 1570

---

## [Unable to create S3 repository](https://discuss.elastic.co/t/unable-to-create-s3-repository/145942)

<div class="topic-metadata">

**Author:** [@nareshm\_399](https://discuss.elastic.co/u/nareshm_399)\
**Replies:** 0\
**Last updated:** [August 24, 2018, 4:16pm UTC](https://discuss.elastic.co/t/unable-to-create-s3-repository/145942 "2018-08-24T16:16:48Z")

</div>

{ "error" : { "root\_cause" : \[ { "type" : "repository\_exception", "reason" : "\[logs\_backup\] failed to create repository" } \], "type" : "repository\_exception", "reason" : "\[logs\_backup\] failed to create repository"…

---

## [Elastic X-pack features enablement in docker](https://discuss.elastic.co/t/elastic-x-pack-features-enablement-in-docker/145446)

<div class="topic-metadata">

**Author:** [@sivap](https://discuss.elastic.co/u/sivap)\
**Replies:** 4\
**Last updated:** [August 24, 2018, 4:14pm UTC](https://discuss.elastic.co/t/elastic-x-pack-features-enablement-in-docker/145446 "2018-08-24T16:14:21Z")

</div>

Hi Team, I have used the dockerization concept for ELK. And now I'm trying to configure the email account through docker-compose.yml but am getting unknown settings error. Please find the config as below, elasticsearc…

---

## [Elasticsearch doesn't run as root](https://discuss.elastic.co/t/elasticsearch-doesnt-run-as-root/145931)

<div class="topic-metadata">

**Author:** [@fabrice](https://discuss.elastic.co/u/fabrice)\
**Replies:** 4\
**Last updated:** [August 24, 2018, 3:37pm UTC](https://discuss.elastic.co/t/elasticsearch-doesnt-run-as-root/145931 "2018-08-24T15:37:41Z")

</div>

Good morning all the community... I've serious problem with my elasticsearch. I've installed and configured sonarqube version 6.7 (and 7.0, 7.1) on my pc to do the test for application that i developed. when i run son…

---

## [Watcher: "daily" schedule doesn't work](https://discuss.elastic.co/t/watcher-daily-schedule-doesnt-work/143745)

<div class="topic-metadata">

**Author:** [@NatePrice](https://discuss.elastic.co/u/NatePrice)\
**Replies:** 5\
**Last updated:** [August 24, 2018, 2:52pm UTC](https://discuss.elastic.co/t/watcher-daily-schedule-doesnt-work/143745 "2018-08-24T14:52:31Z")

</div>

I am running Elastic 6.2.2. I have a Watcher query that works great as long as I use an "interval" as the trigger schedule, but does not fire if I use a "daily" specifier. The problem occurred when going from this: "tri…

---

## [Rolling upgrade from 5.6.6 to 6.3.2 fails due to NaN in float field](https://discuss.elastic.co/t/rolling-upgrade-from-5-6-6-to-6-3-2-fails-due-to-nan-in-float-field/145926)

<div class="topic-metadata">

**Author:** [@faxm0dem](https://discuss.elastic.co/u/faxm0dem)\
**Replies:** 0\
**Last updated:** [August 24, 2018, 1:41pm UTC](https://discuss.elastic.co/t/rolling-upgrade-from-5-6-6-to-6-3-2-fails-due-to-nan-in-float-field/145926 "2018-08-24T13:41:36Z")

</div>

Hi, I have NaNs in a float field. This worked in 5.6.6, but I can't upgrade to 6.y as it apparently doesn't like it. As soon as I try to upgrade one node, I can see this in the log: IllegalArgumentException\[\[float\] su…

---

## [Elasticsearch streaming data](https://discuss.elastic.co/t/elasticsearch-streaming-data/145551)

<div class="topic-metadata">

**Author:** [@akaNightmare](https://discuss.elastic.co/u/akaNightmare)\
**Replies:** 1\
**Last updated:** [August 24, 2018, 1:35pm UTC](https://discuss.elastic.co/t/elasticsearch-streaming-data/145551 "2018-08-24T13:35:29Z")

</div>

Hello, I am wondering if ES supports some events when documents have been changes? Similar to https://docs.mongodb.com/manual/changeStreams/ I want to build a real-time app, and I want to know if there are any best pr…

---

## [Elasticsearch wont start](https://discuss.elastic.co/t/elasticsearch-wont-start/142199)

<div class="topic-metadata">

**Author:** [@Timshs](https://discuss.elastic.co/u/Timshs)\
**Replies:** 8\
**Last updated:** [August 24, 2018, 1:30pm UTC](https://discuss.elastic.co/t/elasticsearch-wont-start/142199 "2018-08-24T13:30:54Z")

</div>

Hi I'm having a single node running ES but it wont start suddently. Logs showing: SYSLOG: Jul 30 13:53:49 rg-app-prod-elk kibana\[1495\]: {"type":"log","@timestamp":"2018-07-30T13:53:49Z","tags":\["warning","elasticsearc…

---

## [Use BloomFilter as default codec for uid field](https://discuss.elastic.co/t/use-bloomfilter-as-default-codec-for-uid-field/145267)

<div class="topic-metadata">

**Author:** [@yiguolei](https://discuss.elastic.co/u/yiguolei)\
**Replies:** 1\
**Last updated:** [August 24, 2018, 1:30pm UTC](https://discuss.elastic.co/t/use-bloomfilter-as-default-codec-for-uid-field/145267 "2018-08-24T13:30:41Z")

</div>

lucene has bloomfilter codec for low frequency field (like primary keys), why not use bloom filter codec as default codec for uid field in elasticsearch? https://issues.apache.org/jira/browse/LUCENE-4069

---

## [Took vs profile API time\_in\_nanos](https://discuss.elastic.co/t/took-vs-profile-api-time-in-nanos/144938)

<div class="topic-metadata">

**Author:** [@123](https://discuss.elastic.co/u/123)\
**Replies:** 2\
**Last updated:** [August 24, 2018, 1:26pm UTC](https://discuss.elastic.co/t/took-vs-profile-api-time-in-nanos/144938 "2018-08-24T13:26:45Z")

</div>

I have a query that I run and it says: { "took": 1 ... } And then when I tack on "profile": true It shows me the top-level query (which is inclusive of all children from what I read) has a response of: { "time": …

---

## [Highlighter that produce fragments that cover all keywords](https://discuss.elastic.co/t/highlighter-that-produce-fragments-that-cover-all-keywords/145910)

<div class="topic-metadata">

**Author:** [@aslamy1](https://discuss.elastic.co/u/aslamy1)\
**Replies:** 0\
**Last updated:** [August 24, 2018, 12:38pm UTC](https://discuss.elastic.co/t/highlighter-that-produce-fragments-that-cover-all-keywords/145910 "2018-08-24T12:38:01Z")

</div>

Hi ! How can Elasticsearch produce fragments that cover all keywords? Exampel: If I search for "germany world cup" I get tre fragments and all of them maybe contains word "Germany", instead I want tre fragment for e…

---

## [Mix content to search results](https://discuss.elastic.co/t/mix-content-to-search-results/145901)

<div class="topic-metadata">

**Author:** [@kallevu](https://discuss.elastic.co/u/kallevu)\
**Replies:** 1\
**Last updated:** [August 24, 2018, 12:43pm UTC](https://discuss.elastic.co/t/mix-content-to-search-results/145901 "2018-08-24T12:43:29Z")

</div>

I would like to include content within the search results. E.g. When user searches from book catalog and limits the results by specific author, the author interview could appear within the search results. The content sh…

---

## [Highlighter FVH](https://discuss.elastic.co/t/highlighter-fvh/145906)

<div class="topic-metadata">

**Author:** [@alexandreThibaud](https://discuss.elastic.co/u/alexandreThibaud)\
**Replies:** 0\
**Last updated:** [August 24, 2018, 12:19pm UTC](https://discuss.elastic.co/t/highlighter-fvh/145906 "2018-08-24T12:19:19Z")

</div>

Hello, I'm using the FVH Highlighter, I want if nothing match that's it return the first part of a specific field. I defined a no\_match\_size to 600. I don't know why, but nothing is returned. I didn't see on the docume…

---

## [Official support for Ubuntu 18.04](https://discuss.elastic.co/t/official-support-for-ubuntu-18-04/145556)

<div class="topic-metadata">

**Author:** [@Denis\_Lamanov](https://discuss.elastic.co/u/Denis_Lamanov)\
**Replies:** 1\
**Last updated:** [August 24, 2018, 12:03pm UTC](https://discuss.elastic.co/t/official-support-for-ubuntu-18-04/145556 "2018-08-24T12:03:52Z")

</div>

Hi guys, Will you add official support for Ubuntu 18.04 Server? I mean add to Support Matrix Thanks

---

## [Update ES2 to ES6 , it is very slowly when we reindex , there have any batter suggest for reindex?](https://discuss.elastic.co/t/update-es2-to-es6-it-is-very-slowly-when-we-reindex-there-have-any-batter-suggest-for-reindex/145745)

<div class="topic-metadata">

**Author:** [@showmeall](https://discuss.elastic.co/u/showmeall)\
**Replies:** 9\
**Last updated:** [August 24, 2018, 11:50am UTC](https://discuss.elastic.co/t/update-es2-to-es6-it-is-very-slowly-when-we-reindex-there-have-any-batter-suggest-for-reindex/145745 "2018-08-24T11:50:55Z")

</div>

update ES2 to ES6 , it is very slowly when we reindex , there have any batter suggest for reindex? we have two type in ES2 , and have 10T datas; we want update it to ES6 ; it is very slowly when we reindex each type in…

---

## [X-pack low document count](https://discuss.elastic.co/t/x-pack-low-document-count/145821)

<div class="topic-metadata">

**Author:** [@palace](https://discuss.elastic.co/u/palace)\
**Replies:** 1\
**Last updated:** [August 24, 2018, 11:38am UTC](https://discuss.elastic.co/t/x-pack-low-document-count/145821 "2018-08-24T11:38:03Z")

</div>

Hello, I have an ML model which looks at the low count of a particular job. The purpose of this ML job is to notify when a job has not not been initiated in a long time. For instance, if the count of jobs initiated was …

---

## [Incorrect information in logs](https://discuss.elastic.co/t/incorrect-information-in-logs/145348)

<div class="topic-metadata">

**Author:** [@pavel-sbor](https://discuss.elastic.co/u/pavel-sbor)\
**Replies:** 1\
**Last updated:** [August 24, 2018, 11:32am UTC](https://discuss.elastic.co/t/incorrect-information-in-logs/145348 "2018-08-24T11:32:11Z")

</div>

Hi I've got this message in logs of ES instance (it's part of a cluster, ES version is 6.2.3): \[2018-08-20T17:58:58,581\]\[DEBUG\]\[o.e.a.s.TransportSearchAction\] \[server01(master,data)\] \[logstash-index-2018.08.20\]\[10\], n…

---

## [Can we use elasticsearch apis as a part of our tool?](https://discuss.elastic.co/t/can-we-use-elasticsearch-apis-as-a-part-of-our-tool/145885)

<div class="topic-metadata">

**Author:** [@sunilkumar](https://discuss.elastic.co/u/sunilkumar)\
**Replies:** 0\
**Last updated:** [August 24, 2018, 10:19am UTC](https://discuss.elastic.co/t/can-we-use-elasticsearch-apis-as-a-part-of-our-tool/145885 "2018-08-24T10:19:02Z")

</div>

Can we use Elasticsearch api as a part of our automation tool? Will this cause licensing problems? If so , how can i use this inside our tool?

---

## [Cluster expansion](https://discuss.elastic.co/t/cluster-expansion/145886)

<div class="topic-metadata">

**Author:** [@Tuckson](https://discuss.elastic.co/u/Tuckson)\
**Replies:** 0\
**Last updated:** [August 24, 2018, 10:22am UTC](https://discuss.elastic.co/t/cluster-expansion/145886 "2018-08-24T10:22:54Z")

</div>

Hi, Until now we had an elk stack consisting of 2 servers, 1 kibana/logstash and 1 with elastichsearch on it. Since we expect our data to multiply, I would like to expand the single ES node to a cluster. So I got 5 ext…

---

## [Aggregate watchers over multiple fields for term aggregation](https://discuss.elastic.co/t/aggregate-watchers-over-multiple-fields-for-term-aggregation/143449)

<div class="topic-metadata">

**Author:** [@sahil\_sawhney](https://discuss.elastic.co/u/sahil_sawhney)\
**Replies:** 3\
**Last updated:** [August 24, 2018, 10:20am UTC](https://discuss.elastic.co/t/aggregate-watchers-over-multiple-fields-for-term-aggregation/143449 "2018-08-24T10:20:52Z")

</div>

I have a scenario where i want to aggregate my result with the combination of 2 fields value. Following is the json of index on which my watcher targets { "\_index": ".monitoring-es-6-2018.08.08", "\_type": "doc", …

---

## [Watcher and X-Pack do not appear to run or even be installed despite using Elastic stack v6.3.2](https://discuss.elastic.co/t/watcher-and-x-pack-do-not-appear-to-run-or-even-be-installed-despite-using-elastic-stack-v6-3-2/145781)

<div class="topic-metadata">

**Author:** [@shirakaba](https://discuss.elastic.co/u/shirakaba)\
**Replies:** 2\
**Last updated:** [August 24, 2018, 9:59am UTC](https://discuss.elastic.co/t/watcher-and-x-pack-do-not-appear-to-run-or-even-be-installed-despite-using-elastic-stack-v6-3-2/145781 "2018-08-24T09:59:41Z")

</div>

My setup I'm using the master branch of docker-elk via Docker for Mac v18.06.0-ce-mac70. The docker-elk repo is currently based on the Elastic stack v6.3.2, and specifically uses the following images (links to GitHub re…

---

## [Update response version conflict](https://discuss.elastic.co/t/update-response-version-conflict/145882)

<div class="topic-metadata">

**Author:** [@xyx](https://discuss.elastic.co/u/xyx)\
**Replies:** 0\
**Last updated:** [August 24, 2018, 9:46am UTC](https://discuss.elastic.co/t/update-response-version-conflict/145882 "2018-08-24T09:46:17Z")

</div>

UpdateResponse updateResponse = client.update(request); DocWriteResponse.Result.CREATED DocWriteResponse.Result.UPDATED DocWriteResponse.Result.DELETED DocWriteResponse.Result.NOOP Update one doc,have four kinds of …

---

## [VersionConflictEngineException](https://discuss.elastic.co/t/versionconflictengineexception/144474)

<div class="topic-metadata">

**Author:** [@xyx](https://discuss.elastic.co/u/xyx)\
**Replies:** 2\
**Last updated:** [August 24, 2018, 9:41am UTC](https://discuss.elastic.co/t/versionconflictengineexception/144474 "2018-08-24T09:41:44Z")

</div>

I use multiple threads to update one index.And I got VersionConflictEngineException. And it also tells me which shard failed（\[daily\_station\_data\_collect\_20180731\]\[0\]\]）. I think “\[0\]” is the shard which is failed. So I…

---

## [Cluster in Yellow due to replica not assigned](https://discuss.elastic.co/t/cluster-in-yellow-due-to-replica-not-assigned/145822)

<div class="topic-metadata">

**Author:** [@newlearner](https://discuss.elastic.co/u/newlearner)\
**Replies:** 24\
**Last updated:** [August 24, 2018, 9:41am UTC](https://discuss.elastic.co/t/cluster-in-yellow-due-to-replica-not-assigned/145822 "2018-08-24T09:41:37Z")

</div>

Hi team I have .watches replica in UNASSIGNED state due to which my cluster in showing Yellow .watches 0 p STARTED .watches 0 r UNASSIGNED I restarted the cluster, updated the replica not nothing working. I also trie…

---

## [Causes for Request Timeout after 30000ms](https://discuss.elastic.co/t/causes-for-request-timeout-after-30000ms/145877)

<div class="topic-metadata">

**Author:** [@pohsun.teh](https://discuss.elastic.co/u/pohsun.teh)\
**Replies:** 0\
**Last updated:** [August 24, 2018, 9:22am UTC](https://discuss.elastic.co/t/causes-for-request-timeout-after-30000ms/145877 "2018-08-24T09:22:39Z")

</div>

Greetings I'm hitting this request timeout 30000ms exception sometimes (not frequent). Query is done on local network and might return huge data over the network, does it cause the timeout? From the ES log, GC is not …

---

## [How can i access elasticsearch behind the nginx proxy server using python](https://discuss.elastic.co/t/how-can-i-access-elasticsearch-behind-the-nginx-proxy-server-using-python/145860)

<div class="topic-metadata">

**Author:** [@wonki](https://discuss.elastic.co/u/wonki)\
**Replies:** 0\
**Last updated:** [August 24, 2018, 7:34am UTC](https://discuss.elastic.co/t/how-can-i-access-elasticsearch-behind-the-nginx-proxy-server-using-python/145860 "2018-08-24T07:34:41Z")

</div>

Hi, I want to access to elasticsearch using python. The problem is, elasticsearch is behind the nginx proxy server. So how can i make instance? i tried below but it doesn't work. from elasticsearch import Elasticsear…

---

## [Copying the repository directory to a new cluster](https://discuss.elastic.co/t/copying-the-repository-directory-to-a-new-cluster/145857)

<div class="topic-metadata">

**Author:** [@justforES](https://discuss.elastic.co/u/justforES)\
**Replies:** 0\
**Last updated:** [August 24, 2018, 7:13am UTC](https://discuss.elastic.co/t/copying-the-repository-directory-to-a-new-cluster/145857 "2018-08-24T07:13:25Z")

</div>

Hi, I have a few snapshots of my indices in my old ES cluster in shared file system stored in my cluster. I want to copy the repository directory to a new ES cluster to restore the snapshots on the new cluster. When te…

---

## [Count distinct values lower than doc\_count](https://discuss.elastic.co/t/count-distinct-values-lower-than-doc-count/145840)

<div class="topic-metadata">

**Author:** [@Dilip\_Kumar](https://discuss.elastic.co/u/Dilip_Kumar)\
**Replies:** 8\
**Last updated:** [August 24, 2018, 7:11am UTC](https://discuss.elastic.co/t/count-distinct-values-lower-than-doc-count/145840 "2018-08-24T07:11:20Z")

</div>

Hi i am using cardinality Aggregation Query but some time unique count value less than the previous value.. "size": 0, "aggs": { "camgroup": { "filter": { "term": { "RTT": "184" } }, "aggs": { "campevents": { …

---

## [Why does alias name point to more than one index?](https://discuss.elastic.co/t/why-does-alias-name-point-to-more-than-one-index/145852)

<div class="topic-metadata">

**Author:** [@talbehat](https://discuss.elastic.co/u/talbehat)\
**Replies:** 1\
**Last updated:** [August 24, 2018, 7:05am UTC](https://discuss.elastic.co/t/why-does-alias-name-point-to-more-than-one-index/145852 "2018-08-24T07:05:59Z")

</div>

please help me .

---

## [Elasticsearch snapshot design/solution](https://discuss.elastic.co/t/elasticsearch-snapshot-design-solution/145849)

<div class="topic-metadata">

**Author:** [@Nokit](https://discuss.elastic.co/u/Nokit)\
**Replies:** 0\
**Last updated:** [August 24, 2018, 6:52am UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-design-solution/145849 "2018-08-24T06:52:05Z")

</div>

Hello, I'm working of new snapshot solution. I've read all documentation and searched for forum discussion and did not find what I was looking for. So, I have elasticsearch cluster with tons of data and two types of in…

---

## [Elastic search aggregation similar to group by](https://discuss.elastic.co/t/elastic-search-aggregation-similar-to-group-by/145648)

<div class="topic-metadata">

**Author:** [@l\_2018](https://discuss.elastic.co/u/l_2018)\
**Replies:** 1\
**Last updated:** [August 24, 2018, 6:45am UTC](https://discuss.elastic.co/t/elastic-search-aggregation-similar-to-group-by/145648 "2018-08-24T06:45:20Z")

</div>

Hi, I am trying to get the following sql query to work in elastic search. I am using csv plugin. Select name, rowid, sum(amt1), sum(amt2) from tableone where Code='code1' group by name, road. I excuted a similar quer…

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

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