# Elasticsearch

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

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

**Page:** 1515

---

## [Integrate ELK with keycloak for SSO](https://discuss.elastic.co/t/integrate-elk-with-keycloak-for-sso/152821)

<div class="topic-metadata">

**Author:** [@mrudrego](https://discuss.elastic.co/u/mrudrego)\
**Replies:** 1\
**Last updated:** [October 17, 2018, 12:09pm UTC](https://discuss.elastic.co/t/integrate-elk-with-keycloak-for-sso/152821 "2018-10-17T12:09:01Z")

</div>

Hi, Can ELK stack with x-pack be integrated with keycloak for Single Sign On ? If yes, can you please guide us to the document which talks about this integration. Thanks & Regards, Mahesh

---

## [ES 2.4.0 + Java project (SQL server - daos, mappers, xmls)](https://discuss.elastic.co/t/es-2-4-0-java-project-sql-server-daos-mappers-xmls/152797)

<div class="topic-metadata">

**Author:** [@Katarina](https://discuss.elastic.co/u/Katarina)\
**Replies:** 3\
**Last updated:** [October 17, 2018, 11:52am UTC](https://discuss.elastic.co/t/es-2-4-0-java-project-sql-server-daos-mappers-xmls/152797 "2018-10-17T11:52:39Z")

</div>

Hi all, First, I want to apologize in advance if I don't ask the question in a way you would understand better, but I'm junior programmer and I have this heavy task (my head is gonna explode), so I don't know better eve…

---

## [Unable to see data](https://discuss.elastic.co/t/unable-to-see-data/149827)

<div class="topic-metadata">

**Author:** [@pmohan](https://discuss.elastic.co/u/pmohan)\
**Replies:** 1\
**Last updated:** [October 17, 2018, 11:48am UTC](https://discuss.elastic.co/t/unable-to-see-data/149827 "2018-10-17T11:48:19Z")

</div>

hi , I have the data in elastic search example below { "\_index": "beintegration-2018.09.25", "\_type": "logs", "\_id": "AWYQwbG4TPV5ZuKtc30w", "\_version": 1, "\_score": 1, "\_source": { "Server": "prod-vl-beintgr01.sbetp…

---

## [Why lucene index files are deleted when document is inserted/updated?](https://discuss.elastic.co/t/why-lucene-index-files-are-deleted-when-document-is-inserted-updated/152808)

<div class="topic-metadata">

**Author:** [@nikhil.k](https://discuss.elastic.co/u/nikhil.k)\
**Replies:** 1\
**Last updated:** [October 17, 2018, 11:43am UTC](https://discuss.elastic.co/t/why-lucene-index-files-are-deleted-when-document-is-inserted-updated/152808 "2018-10-17T11:43:12Z")

</div>

Hi All, Elasticsearch - 5.4.3 I'm updating a document by using the command: curl -X POST "node1:9200/index1/external/1/\_update?pretty" -H 'Content-Type: application/json' -d' { "doc": { "name": "Elastic" } }' When …

---

## [ES service could not start](https://discuss.elastic.co/t/es-service-could-not-start/152741)

<div class="topic-metadata">

**Author:** [@Qing\_Liu](https://discuss.elastic.co/u/Qing_Liu)\
**Replies:** 3\
**Last updated:** [October 17, 2018, 11:32am UTC](https://discuss.elastic.co/t/es-service-could-not-start/152741 "2018-10-17T11:32:54Z")

</div>

Environments: 4GB memory virtual machine, Ubuntu 16.04 , jdk-8, ES-6.4.2 No message outputs after executing: sudo systemctl start elasticsearch after excuting: sudo /etc/init.d/elasticsearch start it says : \[ ok…

---

## [How to know the internal mechanism of elasticsearch when a document is updated?](https://discuss.elastic.co/t/how-to-know-the-internal-mechanism-of-elasticsearch-when-a-document-is-updated/152745)

<div class="topic-metadata">

**Author:** [@nikhil.k](https://discuss.elastic.co/u/nikhil.k)\
**Replies:** 2\
**Last updated:** [October 17, 2018, 10:53am UTC](https://discuss.elastic.co/t/how-to-know-the-internal-mechanism-of-elasticsearch-when-a-document-is-updated/152745 "2018-10-17T10:53:51Z")

</div>

Hi All, Elasticsearch Version: 5.4.3 I'm updating a document in elasticsearch using UPDATE API Command: curl -X POST "node1:9200/index1/external/1/\_update?pretty" -H 'Content-Type: application/json' -d' { "doc": { …

---

## [Keeping documentation up-to-date](https://discuss.elastic.co/t/keeping-documentation-up-to-date/149551)

<div class="topic-metadata">

**Author:** [@d4nyll](https://discuss.elastic.co/u/d4nyll)\
**Replies:** 1\
**Last updated:** [October 17, 2018, 10:53am UTC](https://discuss.elastic.co/t/keeping-documentation-up-to-date/149551 "2018-10-17T10:53:42Z")

</div>

In some examples in the latest Elasticsearch JS client documentation, the filtered query is still being use, even though it is deprecated. On another instance, I have had to spend time debugging my queries because the do…

---

## [ML Job hard limit error on Linux](https://discuss.elastic.co/t/ml-job-hard-limit-error-on-linux/150865)

<div class="topic-metadata">

**Author:** [@TamasK](https://discuss.elastic.co/u/TamasK)\
**Replies:** 10\
**Last updated:** [October 17, 2018, 10:42am UTC](https://discuss.elastic.co/t/ml-job-hard-limit-error-on-linux/150865 "2018-10-17T10:42:43Z")

</div>

Hi, Maybe somebody can help me to solve the following problem Problem description: If I create and start new multimetric job, then memory status always changes to hard limit. (This job worked on Windows without any p…

---

## [Group by Aggregation doc\_count](https://discuss.elastic.co/t/group-by-aggregation-doc-count/152800)

<div class="topic-metadata">

**Author:** [@connor](https://discuss.elastic.co/u/connor)\
**Replies:** 0\
**Last updated:** [October 17, 2018, 10:16am UTC](https://discuss.elastic.co/t/group-by-aggregation-doc-count/152800 "2018-10-17T10:16:29Z")

</div>

Hi, I'm hoping someone could assist with this query. I'm trying to group by the doc\_count from another aggregation. In SQL this query would look like this: SELECT bucket, COUNT(1) AS bucket\_count FROM ( SELECT a\_f…

---

## [Elasticsearch indices is filling up the storage](https://discuss.elastic.co/t/elasticsearch-indices-is-filling-up-the-storage/152799)

<div class="topic-metadata">

**Author:** [@Nikhil\_Jaiswal](https://discuss.elastic.co/u/Nikhil_Jaiswal)\
**Replies:** 0\
**Last updated:** [October 17, 2018, 10:13am UTC](https://discuss.elastic.co/t/elasticsearch-indices-is-filling-up-the-storage/152799 "2018-10-17T10:13:38Z")

</div>

Hi all, Please note that I am facing a dilemma in elasticsearch. the indices size seems to vary greatly. I was storing the data and the index size was 5 to 10 GB. Now when I give it to the new path in another drive the …

---

## [Reindex from 5.5 to 6.2 with different mapping](https://discuss.elastic.co/t/reindex-from-5-5-to-6-2-with-different-mapping/152708)

<div class="topic-metadata">

**Author:** [@mmbtenorio](https://discuss.elastic.co/u/mmbtenorio)\
**Replies:** 3\
**Last updated:** [October 17, 2018, 10:02am UTC](https://discuss.elastic.co/t/reindex-from-5-5-to-6-2-with-different-mapping/152708 "2018-10-17T10:02:29Z")

</div>

Hello, we're in the middle of upgrading our Elastic Stack from 5.5 to 6.2.4. I know the multi-type is already deprecated in version 6, so when we created the indices, we specify that the type of each index is "doc". The …

---

## [Tokenizer to get combinations of words](https://discuss.elastic.co/t/tokenizer-to-get-combinations-of-words/151396)

<div class="topic-metadata">

**Author:** [@Keerthika\_Raj](https://discuss.elastic.co/u/Keerthika_Raj)\
**Replies:** 1\
**Last updated:** [October 17, 2018, 10:00am UTC](https://discuss.elastic.co/t/tokenizer-to-get-combinations-of-words/151396 "2018-10-17T10:00:41Z")

</div>

I have an index with a field that uses N-gram tokenizer to provide partial search across documents. I have a requirement where if the length of text to be indexed is more than threshold limit (say 300) i want to index it…

---

## [Terms aggregation with include ".\*x.\*" times out](https://discuss.elastic.co/t/terms-aggregation-with-include-x-times-out/152787)

<div class="topic-metadata">

**Author:** [@newnewb](https://discuss.elastic.co/u/newnewb)\
**Replies:** 0\
**Last updated:** [October 17, 2018, 9:38am UTC](https://discuss.elastic.co/t/terms-aggregation-with-include-x-times-out/152787 "2018-10-17T09:38:29Z")

</div>

Hello everybody, The goal I'm trying to achieve is to aggregate on all words which contain a specific character. Query example: "query": { "constant\_score": { "filter": { "bool": { "must":…

---

## [Help with mapper-size plugin](https://discuss.elastic.co/t/help-with-mapper-size-plugin/152081)

<div class="topic-metadata">

**Author:** [@dawiro](https://discuss.elastic.co/u/dawiro)\
**Replies:** 4\
**Last updated:** [October 17, 2018, 9:10am UTC](https://discuss.elastic.co/t/help-with-mapper-size-plugin/152081 "2018-10-17T09:10:00Z")

</div>

Hi, I raised a query in the kibana forum here: ...and they directed me here. Could anyone please advise? Regards, D

---

## [Search with Nest not yielding expected results](https://discuss.elastic.co/t/search-with-nest-not-yielding-expected-results/152583)

<div class="topic-metadata">

**Author:** [@ThomasD3](https://discuss.elastic.co/u/ThomasD3)\
**Replies:** 1\
**Last updated:** [October 17, 2018, 9:01am UTC](https://discuss.elastic.co/t/search-with-nest-not-yielding-expected-results/152583 "2018-10-17T09:01:26Z")

</div>

I am creating an index with the following code: var ElasticSettings = new ConnectionSettings(new Uri(ConnectionString)) .DefaultIndex(\_IndexName) .DefaultMappingFor\<PictureObject\>(M =\>…

---

## [Elastic cloud benefits](https://discuss.elastic.co/t/elastic-cloud-benefits/152753)

<div class="topic-metadata">

**Author:** [@Kathir\_J](https://discuss.elastic.co/u/Kathir_J)\
**Replies:** 1\
**Last updated:** [October 17, 2018, 8:59am UTC](https://discuss.elastic.co/t/elastic-cloud-benefits/152753 "2018-10-17T08:59:51Z")

</div>

Cost for 7 es data nodes, 3 master nodes, 3 client nodes and 1 kibana? And What are the benefits of Elastic cloud over AWS?(We use rancher to provision) And Is automatic scale up/scale down supported in ELK cloud?

---

## [How to create relationship between two indices](https://discuss.elastic.co/t/how-to-create-relationship-between-two-indices/152782)

<div class="topic-metadata">

**Author:** [@dhaval.kathiriya](https://discuss.elastic.co/u/dhaval.kathiriya)\
**Replies:** 0\
**Last updated:** [October 17, 2018, 8:43am UTC](https://discuss.elastic.co/t/how-to-create-relationship-between-two-indices/152782 "2018-10-17T08:43:32Z")

</div>

I Have two indices read\_format device\_status\_format now i want to join data of that two indices data format of read\_format "hits": \[ { "\_index": "read\_format", "\_type": "doc", "\_id": "9FmifGYBii-5lA4ewFu3", "\_s…

---

## [Update API timeout](https://discuss.elastic.co/t/update-api-timeout/152760)

<div class="topic-metadata">

**Author:** [@saramali](https://discuss.elastic.co/u/saramali)\
**Replies:** 5\
**Last updated:** [October 17, 2018, 7:48am UTC](https://discuss.elastic.co/t/update-api-timeout/152760 "2018-10-17T07:48:14Z")

</div>

I've written a logstash script in which it reads via read mode from a directory. The logs I am processing are from a POS and the driectory structrue is as such that the store name and the till number is in the path. Usin…

---

## [ElasticSearch works very slow](https://discuss.elastic.co/t/elasticsearch-works-very-slow/152621)

<div class="topic-metadata">

**Author:** [@cmenendez](https://discuss.elastic.co/u/cmenendez)\
**Replies:** 1\
**Last updated:** [October 17, 2018, 7:43am UTC](https://discuss.elastic.co/t/elasticsearch-works-very-slow/152621 "2018-10-17T07:43:51Z")

</div>

Suddenly, my ElasticSearch works very slow. When I do a query, I get the following: \[2018-10-16T11:33:41,924\]\[ERROR\]\[o.e.x.s.a.f.SecurityActionFilter\] \[OGAyjwj\] blocking \[cluster:monitor/stats\] operation due to expired …

---

## [Migration from ES2.1 to ES6.4](https://discuss.elastic.co/t/migration-from-es2-1-to-es6-4/152600)

<div class="topic-metadata">

**Author:** [@boeledi01](https://discuss.elastic.co/u/boeledi01)\
**Replies:** 1\
**Last updated:** [October 17, 2018, 7:41am UTC](https://discuss.elastic.co/t/migration-from-es2-1-to-es6-4/152600 "2018-10-17T07:41:08Z")

</div>

Hi, I have to migrate from ES2.1 to ES6.4. I have an index with ~450 million documents. Could anyone give me a hint on how to do it ? Many thanks

---

## [Leftovers after integTestRunner in \<ROOT\>?](https://discuss.elastic.co/t/leftovers-after-integtestrunner-in-root/152610)

<div class="topic-metadata">

**Author:** [@lukas\_vlcek](https://discuss.elastic.co/u/lukas_vlcek)\
**Replies:** 1\
**Last updated:** [October 17, 2018, 7:37am UTC](https://discuss.elastic.co/t/leftovers-after-integtestrunner-in-root/152610 "2018-10-17T07:37:16Z")

</div>

Hi, When I run esplugin integration tests for the plugin I notice there can be left files like .local-6.4.2.1-SNAPSHOT-integTestRunner-execution-times.log in the \<ROOT\>. Is this expected? gradle clean does not seem to …

---

## [Elasticsearch disaster recovery setup](https://discuss.elastic.co/t/elasticsearch-disaster-recovery-setup/152646)

<div class="topic-metadata">

**Author:** [@flalar](https://discuss.elastic.co/u/flalar)\
**Replies:** 1\
**Last updated:** [October 17, 2018, 7:31am UTC](https://discuss.elastic.co/t/elasticsearch-disaster-recovery-setup/152646 "2018-10-17T07:31:00Z")

</div>

We’re running our ES cluster on a local VMware setup, which works fine. Now that this solution is becoming increasingly business critical. We’re looking to also include this in our disaster recovery as a service setup. …

---

## [Update null\_value property](https://discuss.elastic.co/t/update-null-value-property/152674)

<div class="topic-metadata">

**Author:** [@TomTom](https://discuss.elastic.co/u/TomTom)\
**Replies:** 1\
**Last updated:** [October 17, 2018, 7:23am UTC](https://discuss.elastic.co/t/update-null-value-property/152674 "2018-10-17T07:23:23Z")

</div>

I created a new property in my mapping, with the following characteristics. { "allow\_to\_buy": { "type": "text", "fields": { "keyword": { "type": "keyword", "null\_value": "N", "ign…

---

## [ElasticSearch Query parameter for approximate filter](https://discuss.elastic.co/t/elasticsearch-query-parameter-for-approximate-filter/152690)

<div class="topic-metadata">

**Author:** [@Vitor\_Darela](https://discuss.elastic.co/u/Vitor_Darela)\
**Replies:** 1\
**Last updated:** [October 17, 2018, 7:21am UTC](https://discuss.elastic.co/t/elasticsearch-query-parameter-for-approximate-filter/152690 "2018-10-17T07:21:49Z")

</div>

Hello everyone, I'm starting in ElasticSearch, I have in ElasticSearch an object indexed with the name "Ronaldinho", I'm trying to create an approximate filter search, for example, when I try to search for "Ronaldo" or …

---

## [Kuromoji tokenizers and uax\_url\_email](https://discuss.elastic.co/t/kuromoji-tokenizers-and-uax-url-email/152766)

<div class="topic-metadata">

**Author:** [@HoangVK](https://discuss.elastic.co/u/HoangVK)\
**Replies:** 0\
**Last updated:** [October 17, 2018, 7:15am UTC](https://discuss.elastic.co/t/kuromoji-tokenizers-and-uax-url-email/152766 "2018-10-17T07:15:01Z")

</div>

Hi all I'm using elasticsearch for analysis keywords and text of twitter data in japanese. I'm using kuromoji tokenizers too. I'ts doing very well but in this case having url on text like : POST twitter\_elastic\_exampl…

---

## [Automatically excluding fields in new indexes](https://discuss.elastic.co/t/automatically-excluding-fields-in-new-indexes/152641)

<div class="topic-metadata">

**Author:** [@braoul](https://discuss.elastic.co/u/braoul)\
**Replies:** 6\
**Last updated:** [October 17, 2018, 7:06am UTC](https://discuss.elastic.co/t/automatically-excluding-fields-in-new-indexes/152641 "2018-10-17T07:06:58Z")

</div>

Hi, we have setup different indexes by day on our data and now we would like to exclude some fields from being indexed. How should we proceed, so that every newly created index will automatically have those fields excl…

---

## [Create index at startup](https://discuss.elastic.co/t/create-index-at-startup/152570)

<div class="topic-metadata">

**Author:** [@jiboxiv](https://discuss.elastic.co/u/jiboxiv)\
**Replies:** 3\
**Last updated:** [October 17, 2018, 7:04am UTC](https://discuss.elastic.co/t/create-index-at-startup/152570 "2018-10-17T07:04:19Z")

</div>

Hi, I wish to create an Elasticsearch plugin, this plugin requires some information to be stored. Is there any way to create an index & its mappings at startup time? I found this: Index Creation on Startup? But it doe…

---

## [Elasticseach: Default Similairty Algorithm and BM25 giving same results](https://discuss.elastic.co/t/elasticseach-default-similairty-algorithm-and-bm25-giving-same-results/152470)

<div class="topic-metadata">

**Author:** [@rahulnama](https://discuss.elastic.co/u/rahulnama)\
**Replies:** 11\
**Last updated:** [October 17, 2018, 6:31am UTC](https://discuss.elastic.co/t/elasticseach-default-similairty-algorithm-and-bm25-giving-same-results/152470 "2018-10-17T06:31:32Z")

</div>

Hi Team I'm trying to understand which similarity algorithm is best suited for our use-case: 1.TF-IDF(default) 2.BM25 I've created two indices with mappings of both algorithms, but when I query, two indices are givin…

---

## [Elasticserach health](https://discuss.elastic.co/t/elasticserach-health/152612)

<div class="topic-metadata">

**Author:** [@qloun](https://discuss.elastic.co/u/qloun)\
**Replies:** 8\
**Last updated:** [October 17, 2018, 6:18am UTC](https://discuss.elastic.co/t/elasticserach-health/152612 "2018-10-17T06:18:55Z")

</div>

Hi all, I have ELK stack that installed on one server. And my elastic health is yellow. From many post that i saw, i need to make a new elastic to be a new node, so the shard can be allocated which i had problem to fou…

---

## [X-Pack security TLS/SSL not working with own certificates](https://discuss.elastic.co/t/x-pack-security-tls-ssl-not-working-with-own-certificates/151794)

<div class="topic-metadata">

**Author:** [@Niels](https://discuss.elastic.co/u/Niels)\
**Replies:** 4\
**Last updated:** [October 17, 2018, 6:23am UTC](https://discuss.elastic.co/t/x-pack-security-tls-ssl-not-working-with-own-certificates/151794 "2018-10-17T06:23:40Z")

</div>

I recently configured my elastic cluster on ssl, with the ssl-tool from elastic this was working fine. Now I want to change the keys with keys from our own CA. And here I got stuck on the error below. Allthough the Erro…

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

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