# Elasticsearch

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

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

**Page:** 667

---

## [Errors with authentication to Active Directory](https://discuss.elastic.co/t/errors-with-authentication-to-active-directory/269835)

<div class="topic-metadata">

**Author:** [@rebirther](https://discuss.elastic.co/u/rebirther)\
**Replies:** 2\
**Last updated:** [April 12, 2021, 2:13pm UTC](https://discuss.elastic.co/t/errors-with-authentication-to-active-directory/269835 "2021-04-12T14:13:54Z")

</div>

Hello! Please help with this problem! Objective: to implement login to KIbana through authentication in Active Directory. Version Elasticsearch and Kibana: 7.12.0 elastisearch.yml: node.name: node2 node.roles: \[ mas…

---

## [AnomalyDetection: Last bucket is not processed (bug?)](https://discuss.elastic.co/t/anomalydetection-last-bucket-is-not-processed-bug/268715)

<div class="topic-metadata">

**Author:** [@eudaco](https://discuss.elastic.co/u/eudaco)\
**Replies:** 4\
**Last updated:** [April 12, 2021, 1:48pm UTC](https://discuss.elastic.co/t/anomalydetection-last-bucket-is-not-processed-bug/268715 "2021-04-12T13:48:51Z")

</div>

Hello everybody. I have faced, as it seems to me, with strange behavior of anomaly detection jobs. The last bucket is not processed when the model\_plot\_config is enabled. For example, when I use a bucket size "1d", th…

---

## [Elasticsearch connection to kiabana](https://discuss.elastic.co/t/elasticsearch-connection-to-kiabana/269870)

<div class="topic-metadata">

**Author:** [@divakar\_maradana](https://discuss.elastic.co/u/divakar_maradana)\
**Replies:** 4\
**Last updated:** [April 12, 2021, 12:52pm UTC](https://discuss.elastic.co/t/elasticsearch-connection-to-kiabana/269870 "2021-04-12T12:52:04Z")

</div>

HI team, I am having 2 instances, elasticsearch on 1 instance and kiabana on another instance. can u please help how to establish a connection between these es and kibana. \[image\]

---

## [Use Existing Claim in Helm chart](https://discuss.elastic.co/t/use-existing-claim-in-helm-chart/269873)

<div class="topic-metadata">

**Author:** [@Balha](https://discuss.elastic.co/u/Balha)\
**Replies:** 0\
**Last updated:** [April 12, 2021, 11:54am UTC](https://discuss.elastic.co/t/use-existing-claim-in-helm-chart/269873 "2021-04-12T11:54:21Z")

</div>

Hello, I've installed elastic search with helm chart in k8s and want to specify an existing volume claim as vaules . Dose the chart support this feacher ? Br, Bilel

---

## [How to understand "Strings longer than the ignore\_above setting will not be indexed or stored."?](https://discuss.elastic.co/t/how-to-understand-strings-longer-than-the-ignore-above-setting-will-not-be-indexed-or-stored/269859)

<div class="topic-metadata">

**Author:** [@light\_chen](https://discuss.elastic.co/u/light_chen)\
**Replies:** 2\
**Last updated:** [April 12, 2021, 10:41am UTC](https://discuss.elastic.co/t/how-to-understand-strings-longer-than-the-ignore-above-setting-will-not-be-indexed-or-stored/269859 "2021-04-12T10:41:12Z")

</div>

I want to verify whether my understanding about the meaning that the glossary "not be indexed" and "not be stored" is right. I suppose "not be indexed" means that the terms analysed from the original field value will n…

---

## [Aggregation with java High Level Rest Client](https://discuss.elastic.co/t/aggregation-with-java-high-level-rest-client/269699)

<div class="topic-metadata">

**Author:** [@adelDz](https://discuss.elastic.co/u/adelDz)\
**Replies:** 1\
**Last updated:** [April 12, 2021, 10:30am UTC](https://discuss.elastic.co/t/aggregation-with-java-high-level-rest-client/269699 "2021-04-12T10:30:38Z")

</div>

Hello, How to convert this Query Sql with java High Level Rest Client // select count(\*) from Customer group by Last\_Name, First\_Name, City Thank you in advance

---

## [REST calls from frontend](https://discuss.elastic.co/t/rest-calls-from-frontend/269788)

<div class="topic-metadata">

**Author:** [@elasticuser7](https://discuss.elastic.co/u/elasticuser7)\
**Replies:** 1\
**Last updated:** [April 12, 2021, 10:09am UTC](https://discuss.elastic.co/t/rest-calls-from-frontend/269788 "2021-04-12T10:09:26Z")

</div>

Since ES provides a REST api, with all the powerful frontend frameworks out there, it will be tempting to make ES REST calls directly from the frontend. Would it be recommended to make such client-side ES calls especial…

---

## [Elastic search : Can query include kind of a subquery or subqueries using multiple indices?](https://discuss.elastic.co/t/elastic-search-can-query-include-kind-of-a-subquery-or-subqueries-using-multiple-indices/269443)

<div class="topic-metadata">

**Author:** [@vmanohar1](https://discuss.elastic.co/u/vmanohar1)\
**Replies:** 4\
**Last updated:** [April 12, 2021, 10:01am UTC](https://discuss.elastic.co/t/elastic-search-can-query-include-kind-of-a-subquery-or-subqueries-using-multiple-indices/269443 "2021-04-12T10:01:21Z")

</div>

I have index1 with geo-point data, index2 with polygons. Index2 has multiple polygon rows for given say id value. I would like to find all geo-points from index1 that are inside any of the polygons from index2 having sa…

---

## [Dynamic sync between Mongo to Elastic search with Kafka and Logstash spring application](https://discuss.elastic.co/t/dynamic-sync-between-mongo-to-elastic-search-with-kafka-and-logstash-spring-application/269799)

<div class="topic-metadata">

**Author:** [@mikaell](https://discuss.elastic.co/u/mikaell)\
**Replies:** 2\
**Last updated:** [April 12, 2021, 9:24am UTC](https://discuss.elastic.co/t/dynamic-sync-between-mongo-to-elastic-search-with-kafka-and-logstash-spring-application/269799 "2021-04-12T09:24:37Z")

</div>

Greetings! in this sequence we want to talk about Data base Connectivity especially the dynamic sync between mongo and elastic search with the aid of Apache Kafka and Logstash for ingesting document beside that we want …

---

## [Unable to receive whitelist acceptance email from Elastic Monitoring](https://discuss.elastic.co/t/unable-to-receive-whitelist-acceptance-email-from-elastic-monitoring/269580)

<div class="topic-metadata">

**Author:** [@jamesm1](https://discuss.elastic.co/u/jamesm1)\
**Replies:** 2\
**Last updated:** [April 12, 2021, 8:57am UTC](https://discuss.elastic.co/t/unable-to-receive-whitelist-acceptance-email-from-elastic-monitoring/269580 "2021-04-12T08:57:00Z")

</div>

Hello, I have set up a Machine Learning job with a watcher and assigned an email address to receive these. Reading through documentaion i can see that i need to add this to the Email Monitoring Whitelist, which i have …

---

## [Space consumption after reindex](https://discuss.elastic.co/t/space-consumption-after-reindex/269618)

<div class="topic-metadata">

**Author:** [@speechkey](https://discuss.elastic.co/u/speechkey)\
**Replies:** 3\
**Last updated:** [April 12, 2021, 7:25am UTC](https://discuss.elastic.co/t/space-consumption-after-reindex/269618 "2021-04-12T07:25:27Z")

</div>

Hi folks we are trying to migrate from 5.5.1 to 7.10.2. After upgrade to 6.8 I'm trying to reindex indices which were created on 5.5.1. curl -sq -X POST "http://elasticsearch:9200/\_reindex?pretty" -H 'Content-Type: app…

---

## [Send alert when transform has stopped](https://discuss.elastic.co/t/send-alert-when-transform-has-stopped/269790)

<div class="topic-metadata">

**Author:** [@NightSpark](https://discuss.elastic.co/u/NightSpark)\
**Replies:** 1\
**Last updated:** [April 12, 2021, 6:59am UTC](https://discuss.elastic.co/t/send-alert-when-transform-has-stopped/269790 "2021-04-12T06:59:48Z")

</div>

Hi, Is it possible to trigger an alert when a transform has stopped either by a user or from when it has failed? One option would be to check if no new entries appear in the transform index however it is expected that …

---

## [Elastic search reindexing stuck at 52000 docs while the source has more docs](https://discuss.elastic.co/t/elastic-search-reindexing-stuck-at-52000-docs-while-the-source-has-more-docs/269831)

<div class="topic-metadata">

**Author:** [@Nissha](https://discuss.elastic.co/u/Nissha)\
**Replies:** 2\
**Last updated:** [April 12, 2021, 5:33am UTC](https://discuss.elastic.co/t/elastic-search-reindexing-stuck-at-52000-docs-while-the-source-has-more-docs/269831 "2021-04-12T05:33:39Z")

</div>

I am trying to reindex a source index which has 500k documents with new mapping but the reindexing gets stuck at 52000 docs and doesn't proceed. It worked perfectly for another index which had 190k docs. Kindly help me w…

---

## [What will happen if I install ELK stack with the unsupported version?](https://discuss.elastic.co/t/what-will-happen-if-i-install-elk-stack-with-the-unsupported-version/269659)

<div class="topic-metadata">

**Author:** [@BTH.S3](https://discuss.elastic.co/u/BTH.S3)\
**Replies:** 1\
**Last updated:** [April 12, 2021, 1:32am UTC](https://discuss.elastic.co/t/what-will-happen-if-i-install-elk-stack-with-the-unsupported-version/269659 "2021-04-12T01:32:49Z")

</div>

I've noticed that installed Elasticsearch cluster and Kibana was installed on Ubuntu 20.04 LTS. (By one of my colleague) with unsupported version 6.2.4 (from the Elastic Support Matrix | Elasticsearch). But he said the …

---

## [java.nio.channels.OverlappingFileLockException: null](https://discuss.elastic.co/t/java-nio-channels-overlappingfilelockexception-null/269676)

<div class="topic-metadata">

**Author:** [@yangyong](https://discuss.elastic.co/u/yangyong)\
**Replies:** 1\
**Last updated:** [April 12, 2021, 1:30am UTC](https://discuss.elastic.co/t/java-nio-channels-overlappingfilelockexception-null/269676 "2021-04-12T01:30:26Z")

</div>

some problems happened when i install es on my mac. es version: 7.12.0 what should i do? reboot machine? but it seems no effect~~! :sweat\_smile: \[2021-04-09T15:46:17,351\]\[INFO \]\[o.e.x.s.a.s.FileRolesStore\] \[MacdeMa…

---

## [How do I use multiple conditions in condition script watcher](https://discuss.elastic.co/t/how-do-i-use-multiple-conditions-in-condition-script-watcher/269677)

<div class="topic-metadata">

**Author:** [@Jeroen2](https://discuss.elastic.co/u/Jeroen2)\
**Replies:** 0\
**Last updated:** [April 9, 2021, 8:07am UTC](https://discuss.elastic.co/t/how-do-i-use-multiple-conditions-in-condition-script-watcher/269677 "2021-04-09T08:07:17Z")

</div>

If I create a watcher and I have a condition that looks like this: "condition": { "script": { "source": "return 5 / 100 \* 100 \> 5", "lang": "painless" } } it returns false (0). while when I have …

---

## [Updating mapping for CCR replica](https://discuss.elastic.co/t/updating-mapping-for-ccr-replica/269804)

<div class="topic-metadata">

**Author:** [@oskars](https://discuss.elastic.co/u/oskars)\
**Replies:** 1\
**Last updated:** [April 12, 2021, 12:54am UTC](https://discuss.elastic.co/t/updating-mapping-for-ccr-replica/269804 "2021-04-12T00:54:22Z")

</div>

Hi ! We are looking to buy platinium license to use CCR functionality. We are stuck with old elastic version 6.8. (no way to upgrade). In our setup replication is needed for failover with hot indice (all data i sync t…

---

## [Stale data until elasticsearch is restarted](https://discuss.elastic.co/t/stale-data-until-elasticsearch-is-restarted/269480)

<div class="topic-metadata">

**Author:** [@rwxr\_xr\_x](https://discuss.elastic.co/u/rwxr_xr_x)\
**Replies:** 3\
**Last updated:** [April 12, 2021, 12:24am UTC](https://discuss.elastic.co/t/stale-data-until-elasticsearch-is-restarted/269480 "2021-04-12T00:24:16Z")

</div>

Hello, I can't seem to find any posts about this. I have a cluster with one node, with "cluster health: yellow (60 of 115)". I'm using ES 7.10.2 From an application I send: POST http://ESURL/ALIAS\_NAME/\_doc/OBJECT\_ID …

---

## [Mapping Conflict Issue](https://discuss.elastic.co/t/mapping-conflict-issue/269719)

<div class="topic-metadata">

**Author:** [@Shivani92](https://discuss.elastic.co/u/Shivani92)\
**Replies:** 1\
**Last updated:** [April 11, 2021, 6:23pm UTC](https://discuss.elastic.co/t/mapping-conflict-issue/269719 "2021-04-11T18:23:10Z")

</div>

If data type of field is changed in logstash configuration then is it required to create new index every time to get the changes apply? Ex. Field "pauseTime" is extracted using KV filter. Data type of the field is chang…

---

## [Whether multiple shard refresh is atomic state](https://discuss.elastic.co/t/whether-multiple-shard-refresh-is-atomic-state/269811)

<div class="topic-metadata">

**Author:** [@asasas234](https://discuss.elastic.co/u/asasas234)\
**Replies:** 1\
**Last updated:** [April 11, 2021, 5:28pm UTC](https://discuss.elastic.co/t/whether-multiple-shard-refresh-is-atomic-state/269811 "2021-04-11T17:28:45Z")

</div>

Suppose I have 3 data nodes, in the process of refreshing, if a search occurs, will there be an intermediate state, for example, node A can search for the latest content, but nodes B and C see the same old content

---

## [Eval script inside field](https://discuss.elastic.co/t/eval-script-inside-field/269816)

<div class="topic-metadata">

**Author:** [@opak](https://discuss.elastic.co/u/opak)\
**Replies:** 0\
**Last updated:** [April 11, 2021, 3:29pm UTC](https://discuss.elastic.co/t/eval-script-inside-field/269816 "2021-04-11T15:29:46Z")

</div>

Hello, i have a question how to eval script which can be stored inside a field. For example, i want to define rules for calculation inside documents. Let's see on this mapping: index: rules { "properties": { "pr…

---

## [Getting Case insensitive Response in Hits](https://discuss.elastic.co/t/getting-case-insensitive-response-in-hits/269776)

<div class="topic-metadata">

**Author:** [@Sammeta\_David\_Raju](https://discuss.elastic.co/u/Sammeta_David_Raju)\
**Replies:** 8\
**Last updated:** [April 11, 2021, 2:05pm UTC](https://discuss.elastic.co/t/getting-case-insensitive-response-in-hits/269776 "2021-04-11T14:05:37Z")

</div>

Hi all I am getting case Insensitive Data in Hits(SearchResponse ) even I am having Case Sensitive Data in Elasticsearch index like index contains { customerName :"David", departmentName:"IT", applicantName:"Raju"} b…

---

## [Elasticsearch syntax for e-commerce type project](https://discuss.elastic.co/t/elasticsearch-syntax-for-e-commerce-type-project/269793)

<div class="topic-metadata">

**Author:** [@Ugnius\_V](https://discuss.elastic.co/u/Ugnius_V)\
**Replies:** 2\
**Last updated:** [April 11, 2021, 1:04pm UTC](https://discuss.elastic.co/t/elasticsearch-syntax-for-e-commerce-type-project/269793 "2021-04-11T13:04:26Z")

</div>

Hello! First of all, I'm a beginner Elasticsearch. Now we are creating a web system that requires a search feature (yah, first time, earlier we created static content systems :grinning\_face\_with\_smiling\_eyes: ), so we ch…

---

## [Kubernetes pods stdout logs](https://discuss.elastic.co/t/kubernetes-pods-stdout-logs/269802)

<div class="topic-metadata">

**Author:** [@dogan](https://discuss.elastic.co/u/dogan)\
**Replies:** 0\
**Last updated:** [April 11, 2021, 11:03am UTC](https://discuss.elastic.co/t/kubernetes-pods-stdout-logs/269802 "2021-04-11T11:03:26Z")

</div>

Hello, I installed a kubernetes cluster. I want the stdout logs of these cluster pots to be sent to elasticsearch. how can I do it

---

## [Elastic search is not using data path setting](https://discuss.elastic.co/t/elastic-search-is-not-using-data-path-setting/269796)

<div class="topic-metadata">

**Author:** [@Selva\_kumar2](https://discuss.elastic.co/u/Selva_kumar2)\
**Replies:** 5\
**Last updated:** [April 11, 2021, 10:45am UTC](https://discuss.elastic.co/t/elastic-search-is-not-using-data-path-setting/269796 "2021-04-11T10:45:57Z")

</div>

I am trying to run 2 elastic search instances in single VM machine with the below configuration. Both are started successfully. But both are using same data store I have given the different path in data store but its n…

---

## [Elastic Search Single Node Cluster not working](https://discuss.elastic.co/t/elastic-search-single-node-cluster-not-working/269785)

<div class="topic-metadata">

**Author:** [@Selva\_kumar2](https://discuss.elastic.co/u/Selva_kumar2)\
**Replies:** 1\
**Last updated:** [April 10, 2021, 7:44pm UTC](https://discuss.elastic.co/t/elastic-search-single-node-cluster-not-working/269785 "2021-04-10T19:44:06Z")

</div>

I am trying to set up single node elastic search. But master node is not at all discovering. If I start with cluster.initial\_master\_nodes as one node. Master is elected but cluster formation is not happening and RemoteT…

---

## [ElasticSearch stops working after sometime](https://discuss.elastic.co/t/elasticsearch-stops-working-after-sometime/269373)

<div class="topic-metadata">

**Author:** [@Devendra\_Deshmukh](https://discuss.elastic.co/u/Devendra_Deshmukh)\
**Replies:** 9\
**Last updated:** [April 10, 2021, 3:30pm UTC](https://discuss.elastic.co/t/elasticsearch-stops-working-after-sometime/269373 "2021-04-10T15:30:55Z")

</div>

My ElasticSearch server works fine for a few hours or a day and suddenly stops working. It has 1 shard and 1 replica on a single node installed on VPS along with the application server and has only 1 index with 30,000 do…

---

## [Case insensitive search on keyword](https://discuss.elastic.co/t/case-insensitive-search-on-keyword/269773)

<div class="topic-metadata">

**Author:** [@Tam2](https://discuss.elastic.co/u/Tam2)\
**Replies:** 3\
**Last updated:** [April 10, 2021, 3:24pm UTC](https://discuss.elastic.co/t/case-insensitive-search-on-keyword/269773 "2021-04-10T15:24:46Z")

</div>

My index looks something like this: { "mappings": { "properties": { "id": { "type": "integer" }, "clientId": { "type": "integer"}, "status": { "type": "keyword" }, "r…

---

## [How to Sum two or more integer from different logs](https://discuss.elastic.co/t/how-to-sum-two-or-more-integer-from-different-logs/269767)

<div class="topic-metadata">

**Author:** [@Farid\_N](https://discuss.elastic.co/u/Farid_N)\
**Replies:** 4\
**Last updated:** [April 10, 2021, 11:56am UTC](https://discuss.elastic.co/t/how-to-sum-two-or-more-integer-from-different-logs/269767 "2021-04-10T11:56:11Z")

</div>

Hi I have 2logs: { "\_index": "monitoring", "\_type": "\_doc", "\_id": "1", "\_version": 1, "\_score": null, "\_source": { "jobtypedescription": "Monitor", "@version": "1", "jobtypeid": 1, "jobacti…

---

## [ElasticSearch - Nest - Mapping hits nested in lists and dictionaries](https://discuss.elastic.co/t/elasticsearch-nest-mapping-hits-nested-in-lists-and-dictionaries/269772)

<div class="topic-metadata">

**Author:** [@h4tle](https://discuss.elastic.co/u/h4tle)\
**Replies:** 0\
**Last updated:** [April 10, 2021, 11:51am UTC](https://discuss.elastic.co/t/elasticsearch-nest-mapping-hits-nested-in-lists-and-dictionaries/269772 "2021-04-10T11:51:46Z")

</div>

TLDR: How do I get the data I need to sit inside source like my timestamp and not inside a million lists and dictionaries? I'm trying to create Data objects from this Nest query. The data comes from MetricBeats and ends…

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

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