# Elasticsearch

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

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

**Page:** 939

---

## [Cross Cluster Replication error: current license is non-compliant](https://discuss.elastic.co/t/cross-cluster-replication-error-current-license-is-non-compliant/230449)

<div class="topic-metadata">

**Author:** [@karaki](https://discuss.elastic.co/u/karaki)\
**Replies:** 1\
**Last updated:** [April 29, 2020, 11:39pm UTC](https://discuss.elastic.co/t/cross-cluster-replication-error-current-license-is-non-compliant/230449 "2020-04-29T23:39:25Z")

</div>

Following this Post, I get pretty far but then hit this error. I tried disabling xPack. Any ideas? https://www.elastic.co/guide/en/elasticsearch/reference/current/xpack-ccr.html I'm assuming but want to clarify this…

---

## [Integer Values Saved as Floats](https://discuss.elastic.co/t/integer-values-saved-as-floats/230445)

<div class="topic-metadata">

**Author:** [@Zhenya](https://discuss.elastic.co/u/Zhenya)\
**Replies:** 0\
**Last updated:** [April 29, 2020, 11:03pm UTC](https://discuss.elastic.co/t/integer-values-saved-as-floats/230445 "2020-04-29T23:03:25Z")

</div>

I have Legacy application using Elasticsearch 5.6 Tried to duplicate it and I see that on my copy integer fields (including \_id) are saved as floats like curl --location --request GET 'http://localhost:9200/catalo…

---

## [How to query a system setting?](https://discuss.elastic.co/t/how-to-query-a-system-setting/230408)

<div class="topic-metadata">

**Author:** [@rgelb](https://discuss.elastic.co/u/rgelb)\
**Replies:** 1\
**Last updated:** [April 29, 2020, 10:02pm UTC](https://discuss.elastic.co/t/how-to-query-a-system-setting/230408 "2020-04-29T22:02:34Z")

</div>

Let's say I want to see the value of xpack.security.enabled or discovery.zen.ping.unicast.hosts. Is there a way to query it?

---

## [Query Logs - Calculating QPS](https://discuss.elastic.co/t/query-logs-calculating-qps/230438)

<div class="topic-metadata">

**Author:** [@dmcminn](https://discuss.elastic.co/u/dmcminn)\
**Replies:** 1\
**Last updated:** [April 29, 2020, 9:48pm UTC](https://discuss.elastic.co/t/query-logs-calculating-qps/230438 "2020-04-29T21:48:00Z")

</div>

Hi All-- I have been asked to aggregate up query logs from a database platform. This platform does not have a good way to get accurate QPS counts, but it does send the query details to it's logs. So, we have devised a p…

---

## [Which node executes the highligting?](https://discuss.elastic.co/t/which-node-executes-the-highligting/230435)

<div class="topic-metadata">

**Author:** [@drs](https://discuss.elastic.co/u/drs)\
**Replies:** 0\
**Last updated:** [April 29, 2020, 8:23pm UTC](https://discuss.elastic.co/t/which-node-executes-the-highligting/230435 "2020-04-29T20:23:44Z")

</div>

We're troubleshooting some performance issues with respect to highlighting, where certain queries that contain 10 - 40 terms take 2x - 3x as long with highlighting enabled. We're wondering in which phase (and on which n…

---

## [Get API, refresh=wait\_for not allowed](https://discuss.elastic.co/t/get-api-refresh-wait-for-not-allowed/230396)

<div class="topic-metadata">

**Author:** [@antonio\_antuan](https://discuss.elastic.co/u/antonio_antuan)\
**Replies:** 2\
**Last updated:** [April 29, 2020, 8:14pm UTC](https://discuss.elastic.co/t/get-api-refresh-wait-for-not-allowed/230396 "2020-04-29T20:14:44Z")

</div>

Hi! I'm using elasticsearch 7.4.2. Docs are saying that I can set refresh parameter with wait\_for value. But if I try to do this, an error is returned: GET http://0.0.0.0:9200/events/\_doc/31780294-6529-425d-b0fa-7b03b9…

---

## [No mapping Found On \[field\] Sorting Issue](https://discuss.elastic.co/t/no-mapping-found-on-field-sorting-issue/230433)

<div class="topic-metadata">

**Author:** [@Severin\_Simko](https://discuss.elastic.co/u/Severin_Simko)\
**Replies:** 0\
**Last updated:** [April 29, 2020, 8:13pm UTC](https://discuss.elastic.co/t/no-mapping-found-on-field-sorting-issue/230433 "2020-04-29T20:13:55Z")

</div>

Hi, I'm currently experiencing a problem when I'm trying to search based on some specific field, I'm seeing this error log: Caused by: org.elasticsearch.index.query.QueryShardException: No mapping found for \[process\_id…

---

## [How can we automatically delete elastic search data logs](https://discuss.elastic.co/t/how-can-we-automatically-delete-elastic-search-data-logs/230085)

<div class="topic-metadata">

**Author:** [@opensourcengineer](https://discuss.elastic.co/u/opensourcengineer)\
**Replies:** 4\
**Last updated:** [April 29, 2020, 7:21pm UTC](https://discuss.elastic.co/t/how-can-we-automatically-delete-elastic-search-data-logs/230085 "2020-04-29T19:21:34Z")

</div>

i am using version 7.5.2 and the workflow is beats-\>logstash-\>elastic-search-\>kibana. my elastic-search nodes are getting filled with the logs. I can delete the indices automatically using the "delete" phase of lifecyc…

---

## [Increased Cluster Latency during adding of aliases with 30 nodes](https://discuss.elastic.co/t/increased-cluster-latency-during-adding-of-aliases-with-30-nodes/230424)

<div class="topic-metadata">

**Author:** [@joe-berg](https://discuss.elastic.co/u/joe-berg)\
**Replies:** 0\
**Last updated:** [April 29, 2020, 7:00pm UTC](https://discuss.elastic.co/t/increased-cluster-latency-during-adding-of-aliases-with-30-nodes/230424 "2020-04-29T19:00:59Z")

</div>

Running a 6.8.0 cluster with 30 nodes. All nodes are data nodes and 1 of those nodes is a master enabled data node. Every node in the cluster is sized with 32 CPUs and 64 GB RAM. Cluster is running in Azure deployed via…

---

## [Reason behind "Index creation no longer defaults to five shard"](https://discuss.elastic.co/t/reason-behind-index-creation-no-longer-defaults-to-five-shard/230409)

<div class="topic-metadata">

**Author:** [@nages](https://discuss.elastic.co/u/nages)\
**Replies:** 3\
**Last updated:** [April 29, 2020, 6:28pm UTC](https://discuss.elastic.co/t/reason-behind-index-creation-no-longer-defaults-to-five-shard/230409 "2020-04-29T18:28:33Z")

</div>

What was the reasoning behind ""Index creation no longer defaults to five shard but one shard" So far, the assumption was , more shards = more scalability = more parallelism Isnt that change defeating the whole purpos…

---

## [Search\_after doesn't work when sorting descendent](https://discuss.elastic.co/t/search-after-doesnt-work-when-sorting-descendent/230386)

<div class="topic-metadata">

**Author:** [@yv\_2904](https://discuss.elastic.co/u/yv_2904)\
**Replies:** 0\
**Last updated:** [April 29, 2020, 2:02pm UTC](https://discuss.elastic.co/t/search-after-doesnt-work-when-sorting-descendent/230386 "2020-04-29T14:02:20Z")

</div>

I am implementing a sear\_after for cursor pagination, my sort is based on a unique Id that is a text field. When I tried to sort this field desc the search\_after doesn't return any result. If I sort asc, it returns resu…

---

## [Elasticsearch aggregation over full index but over query results is needed](https://discuss.elastic.co/t/elasticsearch-aggregation-over-full-index-but-over-query-results-is-needed/230392)

<div class="topic-metadata">

**Author:** [@kengreenlee](https://discuss.elastic.co/u/kengreenlee)\
**Replies:** 0\
**Last updated:** [April 29, 2020, 2:31pm UTC](https://discuss.elastic.co/t/elasticsearch-aggregation-over-full-index-but-over-query-results-is-needed/230392 "2020-04-29T14:31:27Z")

</div>

I have what I think should be a simple query. I'm trying to return the documents in descending order by amount and ascending by name (actually, it's name.keyword). For the cases with duplicate names, I only want one na…

---

## [Indexing docs](https://discuss.elastic.co/t/indexing-docs/230416)

<div class="topic-metadata">

**Author:** [@Kovi\_Diament](https://discuss.elastic.co/u/Kovi_Diament)\
**Replies:** 0\
**Last updated:** [April 29, 2020, 5:57pm UTC](https://discuss.elastic.co/t/indexing-docs/230416 "2020-04-29T17:57:46Z")

</div>

Hi, Im trying to start reading through and understanding the elasticsearch java source code. I'm trying to figure out how the indices the search engine uses are stored, how the words and which documents they are in are …

---

## [Log rotation for cluster log file configure in log4j2 properties](https://discuss.elastic.co/t/log-rotation-for-cluster-log-file-configure-in-log4j2-properties/230227)

<div class="topic-metadata">

**Author:** [@Sanjay1](https://discuss.elastic.co/u/Sanjay1)\
**Replies:** 1\
**Last updated:** [April 29, 2020, 5:55pm UTC](https://discuss.elastic.co/t/log-rotation-for-cluster-log-file-configure-in-log4j2-properties/230227 "2020-04-29T17:55:34Z")

</div>

We are using the ES 7.4.2 Our log4j2.properties has the following configuration Even policy appender.rolling.policies.time.interval = 1 set to 1 day, still log file is not rotated. As soon as re restart the elasticsea…

---

## [How to move a 4 node managed cluster to a new datacenter (basic license)](https://discuss.elastic.co/t/how-to-move-a-4-node-managed-cluster-to-a-new-datacenter-basic-license/229765)

<div class="topic-metadata">

**Author:** [@leij9857](https://discuss.elastic.co/u/leij9857)\
**Replies:** 6\
**Last updated:** [April 29, 2020, 5:52pm UTC](https://discuss.elastic.co/t/how-to-move-a-4-node-managed-cluster-to-a-new-datacenter-basic-license/229765 "2020-04-29T17:52:17Z")

</div>

I was hoping someone could advise me with the following problem. I have a four node Linux cluster with a basic licence in a managed datacenter. All nodes have the same hardware resources 1TB SSD. At this point in time t…

---

## [Script Field is a list of nested values](https://discuss.elastic.co/t/script-field-is-a-list-of-nested-values/230414)

<div class="topic-metadata">

**Author:** [@Orson\_Duque](https://discuss.elastic.co/u/Orson_Duque)\
**Replies:** 0\
**Last updated:** [April 29, 2020, 5:44pm UTC](https://discuss.elastic.co/t/script-field-is-a-list-of-nested-values/230414 "2020-04-29T17:44:23Z")

</div>

Hello, I am new to this ES world and I honestly find it very interesting. I have a problem with fields generated or calculated from others. Let's say I have a movie and each movie has a list of participants. And said pa…

---

## [Elasticsearch NEST - Documents values are NULL](https://discuss.elastic.co/t/elasticsearch-nest-documents-values-are-null/230291)

<div class="topic-metadata">

**Author:** [@iluvcode](https://discuss.elastic.co/u/iluvcode)\
**Replies:** 2\
**Last updated:** [April 29, 2020, 4:28pm UTC](https://discuss.elastic.co/t/elasticsearch-nest-documents-values-are-null/230291 "2020-04-29T16:28:48Z")

</div>

I upgraded Elasticsearch from 6.8 to 7.6 and after the upgrade values returned in the documents are all NULL. I do see the values coming in Debug information and total count is also correct but not sure why documents ar…

---

## [o.e.c.m.MetaDataMappingService", "cluster.name": being logged while indexing](https://discuss.elastic.co/t/o-e-c-m-metadatamappingservice-cluster-name-being-logged-while-indexing/230399)

<div class="topic-metadata">

**Author:** [@Sudhindra\_Magadi](https://discuss.elastic.co/u/Sudhindra_Magadi)\
**Replies:** 1\
**Last updated:** [April 29, 2020, 3:48pm UTC](https://discuss.elastic.co/t/o-e-c-m-metadatamappingservice-cluster-name-being-logged-while-indexing/230399 "2020-04-29T15:48:15Z")

</div>

Hi All, Elastic search 7.0 I keep getting the below information while we index large amount of data.What is the issue ? Can someone help me here ? : "o.e.c.m.MetaDataMappingService", "cluster.name": "x", "node.name":…

---

## [INdex not rolling over correctly](https://discuss.elastic.co/t/index-not-rolling-over-correctly/230072)

<div class="topic-metadata">

**Author:** [@asrinivasan](https://discuss.elastic.co/u/asrinivasan)\
**Replies:** 5\
**Last updated:** [April 29, 2020, 3:46pm UTC](https://discuss.elastic.co/t/index-not-rolling-over-correctly/230072 "2020-04-29T15:46:04Z")

</div>

I have a ILM policy template, policy, alias { "prod3\_template" : { "order" : 1, "index\_patterns" : \[ "prod3-cloudwatch\*" \], "settings" : { "index" : { "lifecycle" : { "na…

---

## [Concatenate analyzers](https://discuss.elastic.co/t/concatenate-analyzers/230390)

<div class="topic-metadata">

**Author:** [@Yury\_Trafimovich](https://discuss.elastic.co/u/Yury_Trafimovich)\
**Replies:** 1\
**Last updated:** [April 29, 2020, 3:31pm UTC](https://discuss.elastic.co/t/concatenate-analyzers/230390 "2020-04-29T15:31:56Z")

</div>

Is it possible to reach the following? POST my\_index/\_analyze { "analyzer": "customer\_analyzer\_for\_search\_only", "text": \["ka bel"\] } tokens \["ka", "bel", "kabel"\] So during the search it always add 1 more token …

---

## [Multiple bulk actions on the same document](https://discuss.elastic.co/t/multiple-bulk-actions-on-the-same-document/230233)

<div class="topic-metadata">

**Author:** [@Faiz\_Ahmed\_Mushtak\_H](https://discuss.elastic.co/u/Faiz_Ahmed_Mushtak_H)\
**Replies:** 2\
**Last updated:** [April 29, 2020, 1:22pm UTC](https://discuss.elastic.co/t/multiple-bulk-actions-on-the-same-document/230233 "2020-04-29T13:22:47Z")

</div>

Is it possible for multiple update actions in one bulk request on the same document to cause version conflict? that is to say, bulk actions are executed in parallel, so it is possible to face version conflict in that cas…

---

## [Alias search using RestHighLevel Client](https://discuss.elastic.co/t/alias-search-using-resthighlevel-client/230147)

<div class="topic-metadata">

**Author:** [@PraveenJala](https://discuss.elastic.co/u/PraveenJala)\
**Replies:** 5\
**Last updated:** [April 29, 2020, 12:57pm UTC](https://discuss.elastic.co/t/alias-search-using-resthighlevel-client/230147 "2020-04-29T12:57:33Z")

</div>

Hi, I am using Elastic Search Rest Client 6.2.4. Can you help me with some example how to check if an alias exists using Rest Client and how to create alias using HighLevelRestClient. I have searched, but i couldn't f…

---

## [I am getting incorrect sum using aggregation from kibana visualization](https://discuss.elastic.co/t/i-am-getting-incorrect-sum-using-aggregation-from-kibana-visualization/230356)

<div class="topic-metadata">

**Author:** [@RameshNagargoje](https://discuss.elastic.co/u/RameshNagargoje)\
**Replies:** 1\
**Last updated:** [April 29, 2020, 12:41pm UTC](https://discuss.elastic.co/t/i-am-getting-incorrect-sum-using-aggregation-from-kibana-visualization/230356 "2020-04-29T12:41:41Z")

</div>

I am am having a document as shown in image Mappning : "busyTime": { "type": "long" } The above code snippet is an example. On my actual production server, I am not getting the correct sum of …

---

## [Syntax error with "if" on multiple lines](https://discuss.elastic.co/t/syntax-error-with-if-on-multiple-lines/230360)

<div class="topic-metadata">

**Author:** [@Youssef\_SBAI](https://discuss.elastic.co/u/Youssef_SBAI)\
**Replies:** 1\
**Last updated:** [April 29, 2020, 12:07pm UTC](https://discuss.elastic.co/t/syntax-error-with-if-on-multiple-lines/230360 "2020-04-29T12:07:56Z")

</div>

i use this condition but the colonne statut\_globale not created in elastic if \[job\] == "MNNATY0P02" and \[job\] == "MNNATY0P00" and \[job\]== "MNNATY0P00" and \[job\]== "MNNATY0P99" and \[job\]== "MNNATY0P14" and \[job\]== "MNNA…

---

## [Problem with elasticsearch docker](https://discuss.elastic.co/t/problem-with-elasticsearch-docker/230259)

<div class="topic-metadata">

**Author:** [@DBond](https://discuss.elastic.co/u/DBond)\
**Replies:** 2\
**Last updated:** [April 29, 2020, 12:02pm UTC](https://discuss.elastic.co/t/problem-with-elasticsearch-docker/230259 "2020-04-29T12:02:19Z")

</div>

Hi, Following https://www.elastic.co/guide/en/elastic-stack-get-started/current/get-started-docker.html, during create\_certs, I have problem "Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7&arch=x8…

---

## [AWS Elasticsearch : mapper\_parsing\_exception for type date from Kinesis Firehose using index\_template](https://discuss.elastic.co/t/aws-elasticsearch-mapper-parsing-exception-for-type-date-from-kinesis-firehose-using-index-template/230262)

<div class="topic-metadata">

**Author:** [@yoyomonkey](https://discuss.elastic.co/u/yoyomonkey)\
**Replies:** 13\
**Last updated:** [April 29, 2020, 11:42am UTC](https://discuss.elastic.co/t/aws-elasticsearch-mapper-parsing-exception-for-type-date-from-kinesis-firehose-using-index-template/230262 "2020-04-29T11:42:05Z")

</div>

Hi all, I hope someone can help me. I am really new to Elasticsearch so any guidance would be really appreciated. I have been battling with AWS Elasticsearch and Kinesis FIrehose Agent (this reads in a application log …

---

## [Explain API - All these statistics are per shard not per index](https://discuss.elastic.co/t/explain-api-all-these-statistics-are-per-shard-not-per-index/230187)

<div class="topic-metadata">

**Author:** [@nages](https://discuss.elastic.co/u/nages)\
**Replies:** 10\
**Last updated:** [April 29, 2020, 11:23am UTC](https://discuss.elastic.co/t/explain-api-all-these-statistics-are-per-shard-not-per-index/230187 "2020-04-29T11:23:34Z")

</div>

I am going through this thread Somewhere it is said All these statistics are per shard not per index I hope this statement is still valid , and i confirmed this behavior too .. What was the reasoning behind this …

---

## [Run RabbitMQ in Master/Slave mode](https://discuss.elastic.co/t/run-rabbitmq-in-master-slave-mode/230347)

<div class="topic-metadata">

**Author:** [@MdRashid](https://discuss.elastic.co/u/MdRashid)\
**Replies:** 2\
**Last updated:** [April 29, 2020, 10:26am UTC](https://discuss.elastic.co/t/run-rabbitmq-in-master-slave-mode/230347 "2020-04-29T10:26:38Z")

</div>

Need help How to Run RabbitMQ in Master/Slave mode in my ubuntu 20.04 or in docker i want to setup in both ubuntu and in docker let me know how to setup it

---

## [Eleasticsearch Logs Pull](https://discuss.elastic.co/t/eleasticsearch-logs-pull/230346)

<div class="topic-metadata">

**Author:** [@MdRashid](https://discuss.elastic.co/u/MdRashid)\
**Replies:** 2\
**Last updated:** [April 29, 2020, 10:26am UTC](https://discuss.elastic.co/t/eleasticsearch-logs-pull/230346 "2020-04-29T10:26:13Z")

</div>

Let ES directly pull log data from RabbitMQ queue https://www.elastic.co/guide/en/logstash/current/plugins-inputs-rabbitmq.html I need help to how to setup it and in details let me know My Specif is Ubuntu 20.04 and i…

---

## [Specifying a index in an ES 5.3 snapshot request does not seem to work](https://discuss.elastic.co/t/specifying-a-index-in-an-es-5-3-snapshot-request-does-not-seem-to-work/229867)

<div class="topic-metadata">

**Author:** [@markuseb91](https://discuss.elastic.co/u/markuseb91)\
**Replies:** 2\
**Last updated:** [April 29, 2020, 9:20am UTC](https://discuss.elastic.co/t/specifying-a-index-in-an-es-5-3-snapshot-request-does-not-seem-to-work/229867 "2020-04-29T09:20:29Z")

</div>

Greetings, I'm using ES 5.3 with a cluster that has 9 data nodes, 3 master nodes and 28 indexes. Snapshots are sent to s3. The request I use to create the snapshot uses the following JSON body. { "type": "s3", "set…

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

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