# Elasticsearch

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

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

**Page:** 450

---

## [A Question for Configure SSL/TLS for self-managed Fleet Servers](https://discuss.elastic.co/t/a-question-for-configure-ssl-tls-for-self-managed-fleet-servers/303218)

<div class="topic-metadata">

**Author:** [@quhang](https://discuss.elastic.co/u/quhang)\
**Replies:** 0\
**Last updated:** [April 26, 2022, 6:29am UTC](https://discuss.elastic.co/t/a-question-for-configure-ssl-tls-for-self-managed-fleet-servers/303218 "2022-04-26T06:29:47Z")

</div>

Hello there, When try to configure SSL for the fleet and Join an elc cluster that currently has enabled https refer this article: In this document, the Elasticsearch-ca.crt confuses me, according the description, it…

---

## [Action \[indices:admin/create\] is unauthorized for user](https://discuss.elastic.co/t/action-indices-admin-create-is-unauthorized-for-user/303458)

<div class="topic-metadata">

**Author:** [@mattstubbs](https://discuss.elastic.co/u/mattstubbs)\
**Replies:** 2\
**Last updated:** [April 29, 2022, 1:02am UTC](https://discuss.elastic.co/t/action-indices-admin-create-is-unauthorized-for-user/303458 "2022-04-29T01:02:57Z")

</div>

Hi Team, tl;dr: Complains that user needs one of \[create\_index,manage,all\], but user has create\_index and manage A pretty basic error message here that seems very straightforward but is giving my team trouble. I am tr…

---

## [Mapping conflict -\> Reindex/mapping for only one field](https://discuss.elastic.co/t/mapping-conflict-reindex-mapping-for-only-one-field/303466)

<div class="topic-metadata">

**Author:** [@INS](https://discuss.elastic.co/u/INS)\
**Replies:** 1\
**Last updated:** [April 29, 2022, 1:00am UTC](https://discuss.elastic.co/t/mapping-conflict-reindex-mapping-for-only-one-field/303466 "2022-04-29T01:00:28Z")

</div>

Hi after some changes I need to reindex(or mapping) mass of close indexes of high capacity. I've tried already global reindex but it consumed a lot of time. How I can reindex/remapping all of my historical indexes throu…

---

## [Elasticsearch OOM, IndexWrter consumed significant memory, seems memory leak](https://discuss.elastic.co/t/elasticsearch-oom-indexwrter-consumed-significant-memory-seems-memory-leak/301283)

<div class="topic-metadata">

**Author:** [@medcl.net](https://discuss.elastic.co/u/medcl.net)\
**Replies:** 0\
**Last updated:** [April 1, 2022, 7:04am UTC](https://discuss.elastic.co/t/elasticsearch-oom-indexwrter-consumed-significant-memory-seems-memory-leak/301283 "2022-04-01T07:04:48Z")

</div>

Hi Team, We recently upgraded our Elasticsearch cluster from 7.6.2 to 7.17.1, and after a few days, it seems working very well, but when we doing some heavy indexing job, the cluster start to crash in an randomly way. T…

---

## [Minimal example of connection from Java and search for every document on index](https://discuss.elastic.co/t/minimal-example-of-connection-from-java-and-search-for-every-document-on-index/301334)

<div class="topic-metadata">

**Author:** [@Malo\_Maisonneuve](https://discuss.elastic.co/u/Malo_Maisonneuve)\
**Replies:** 5\
**Last updated:** [April 28, 2022, 9:55pm UTC](https://discuss.elastic.co/t/minimal-example-of-connection-from-java-and-search-for-every-document-on-index/301334 "2022-04-28T21:55:06Z")

</div>

Hello, I want to use Java to do basic queries in a remote elastic cluster. It seems I successfully am connected to it, but querying does not return any result, whereas I have documents on my elastic cluster, on the req…

---

## [ElasticSearch High Search response times on new Machine](https://discuss.elastic.co/t/elasticsearch-high-search-response-times-on-new-machine/303293)

<div class="topic-metadata">

**Author:** [@dnsh](https://discuss.elastic.co/u/dnsh)\
**Replies:** 4\
**Last updated:** [April 28, 2022, 7:37pm UTC](https://discuss.elastic.co/t/elasticsearch-high-search-response-times-on-new-machine/303293 "2022-04-28T19:37:42Z")

</div>

I have 4 EC2 machines in Elasticsearch Cluster. Configuration: c5d.large, Memory: 3.5G, Data Disk: 50GB NVME instance storage. Elasticsearch Version: 6.8.21 I added the 5th machine with the same configuration c5d.larg…

---

## [Execute Tensorflow model in elasticsearch rescore plugin](https://discuss.elastic.co/t/execute-tensorflow-model-in-elasticsearch-rescore-plugin/303545)

<div class="topic-metadata">

**Author:** [@ashwin91kumar](https://discuss.elastic.co/u/ashwin91kumar)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 5:17pm UTC](https://discuss.elastic.co/t/execute-tensorflow-model-in-elasticsearch-rescore-plugin/303545 "2022-04-28T17:17:39Z")

</div>

Hi Everyone, I'm trying to execute a Tensorflow model. I'm running into the below security issues and unable to provide execute permission for JavaCpp. Is there way to execute TF2 models in Elasticsearch plugin. {"type…

---

## [Aggregation Response Bucket Order](https://discuss.elastic.co/t/aggregation-response-bucket-order/303544)

<div class="topic-metadata">

**Author:** [@EricPSU](https://discuss.elastic.co/u/EricPSU)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 5:12pm UTC](https://discuss.elastic.co/t/aggregation-response-bucket-order/303544 "2022-04-28T17:12:57Z")

</div>

I'm looking to understand the order of the buckets returned when using aggs in my query. I do not want to sort the bucket values, rather I want to sort the buckets themselves. Regardless of the order of the aggs in the…

---

## [Easy Install](https://discuss.elastic.co/t/easy-install/303451)

<div class="topic-metadata">

**Author:** [@Dan\_Lange](https://discuss.elastic.co/u/Dan_Lange)\
**Replies:** 2\
**Last updated:** [April 28, 2022, 4:18pm UTC](https://discuss.elastic.co/t/easy-install/303451 "2022-04-28T16:18:10Z")

</div>

Hi, I need an easy and repeatable way to install Elasticsearch, Kibana, and Elastic Agent for a demo. I don't care about security or scalability. Can anyone point me to directions for how to do that? I tried using th…

---

## [Import a saved dashboard into Elasticsearch using Java](https://discuss.elastic.co/t/import-a-saved-dashboard-into-elasticsearch-using-java/303536)

<div class="topic-metadata">

**Author:** [@bob4](https://discuss.elastic.co/u/bob4)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 3:25pm UTC](https://discuss.elastic.co/t/import-a-saved-dashboard-into-elasticsearch-using-java/303536 "2022-04-28T15:25:56Z")

</div>

I am trying to import a saved dashboard into Elasticsearch using HttpURLConnection. I can successfully execute the following taken from the saved objects api example in Elasticsearch documentation. $ curl -X POST api/s…

---

## [Error when I wanted to try to create a CBOR object from the content of a PDF file and insert it into an ingest-attachment](https://discuss.elastic.co/t/error-when-i-wanted-to-try-to-create-a-cbor-object-from-the-content-of-a-pdf-file-and-insert-it-into-an-ingest-attachment/303535)

<div class="topic-metadata">

**Author:** [@Asmaa\_Oufkir](https://discuss.elastic.co/u/Asmaa_Oufkir)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 3:25pm UTC](https://discuss.elastic.co/t/error-when-i-wanted-to-try-to-create-a-cbor-object-from-the-content-of-a-pdf-file-and-insert-it-into-an-ingest-attachment/303535 "2022-04-28T15:25:56Z")

</div>

File IN\_FILE = ResourceUtils.getFile("classpath:test.pdf"); int length = (int) IN\_FILE.length(); RandomAccessFile aFile = new RandomAccessFile(IN\_FILE, "r"); System.out.println("aFile :"+aFile); FileCh…

---

## [Aggregation with collapsed query](https://discuss.elastic.co/t/aggregation-with-collapsed-query/303380)

<div class="topic-metadata">

**Author:** [@Ibrahim\_Z\_HIDIR](https://discuss.elastic.co/u/Ibrahim_Z_HIDIR)\
**Replies:** 3\
**Last updated:** [April 28, 2022, 1:11pm UTC](https://discuss.elastic.co/t/aggregation-with-collapsed-query/303380 "2022-04-28T13:11:50Z")

</div>

Hi I just want to apply aggregation on a query result. My query is eleminating the double documents keeping last one according to a clumn. But the aggragation doesn't care the actual result. I've read that the collapse …

---

## [JSON log parse to separate fields](https://discuss.elastic.co/t/json-log-parse-to-separate-fields/303511)

<div class="topic-metadata">

**Author:** [@Dmitriy\_Esin](https://discuss.elastic.co/u/Dmitriy_Esin)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 1:08pm UTC](https://discuss.elastic.co/t/json-log-parse-to-separate-fields/303511 "2022-04-28T13:08:18Z")

</div>

Hi all! I have a question about implementing JSON log parsing to separated fields in Kibana. I use fluend to get logs from my k8s cluster. See the config: containers.input.conf: |- \<source\> @id fluentd-co…

---

## [Make a custom parameter source send two (related) queries](https://discuss.elastic.co/t/make-a-custom-parameter-source-send-two-related-queries/303403)

<div class="topic-metadata">

**Author:** [@jmlucjav](https://discuss.elastic.co/u/jmlucjav)\
**Replies:** 2\
**Last updated:** [April 28, 2022, 1:00pm UTC](https://discuss.elastic.co/t/make-a-custom-parameter-source-send-two-related-queries/303403 "2022-04-28T13:00:29Z")

</div>

Hi, when benchmarking with rally, in order to make it realistic, I want to issue two ES queries (they are related so they need to be created in context) whenever my custom source is invoked. Is there a good way to do t…

---

## [How to filter search query by repeated words?](https://discuss.elastic.co/t/how-to-filter-search-query-by-repeated-words/303157)

<div class="topic-metadata">

**Author:** [@div927](https://discuss.elastic.co/u/div927)\
**Replies:** 4\
**Last updated:** [April 28, 2022, 12:25pm UTC](https://discuss.elastic.co/t/how-to-filter-search-query-by-repeated-words/303157 "2022-04-28T12:25:49Z")

</div>

Hello, I am trying to write a search query which will search by taking input like keywords, example - apple, fruit, summer. After that it should return me the data from the Elasticsearch if all these 3 keywords are pre…

---

## [Elastic Search - 7.16.3 	Dependency Boost C++ Libraries - boost Version](https://discuss.elastic.co/t/elastic-search-7-16-3-dependency-boost-c-libraries-boost-version/302894)

<div class="topic-metadata">

**Author:** [@Indranil](https://discuss.elastic.co/u/Indranil)\
**Replies:** 1\
**Last updated:** [April 28, 2022, 12:25pm UTC](https://discuss.elastic.co/t/elastic-search-7-16-3-dependency-boost-c-libraries-boost-version/302894 "2022-04-28T12:25:44Z")

</div>

Hi, Please help us to know which Boost C++ Libraries - boost Version is used in Elasticsearch - 7.16.3. We are using this version of Elasticsearch in our product. But binary scan is not able to identify the version of B…

---

## [Elasticsearch 8.1.0 Cluster Issue](https://discuss.elastic.co/t/elasticsearch-8-1-0-cluster-issue/302300)

<div class="topic-metadata">

**Author:** [@Mohsin\_Ashraf](https://discuss.elastic.co/u/Mohsin_Ashraf)\
**Replies:** 12\
**Last updated:** [April 28, 2022, 12:16pm UTC](https://discuss.elastic.co/t/elasticsearch-8-1-0-cluster-issue/302300 "2022-04-28T12:16:08Z")

</div>

Hi. I trying to build an Elasticsearch cluster. But after generating the enrollment token and making some changes to the configuration file and assigning the role for different nodes it gives me the following error when…

---

## [Is there a solution to get a sum equal to value of multiple field from elasticsearch data](https://discuss.elastic.co/t/is-there-a-solution-to-get-a-sum-equal-to-value-of-multiple-field-from-elasticsearch-data/303490)

<div class="topic-metadata">

**Author:** [@abderrahmen\_fekih](https://discuss.elastic.co/u/abderrahmen_fekih)\
**Replies:** 2\
**Last updated:** [April 28, 2022, 12:10pm UTC](https://discuss.elastic.co/t/is-there-a-solution-to-get-a-sum-equal-to-value-of-multiple-field-from-elasticsearch-data/303490 "2022-04-28T12:10:56Z")

</div>

I have an Elasticsearch data (ingredients list). I want to get exactly 4 ingredients where the sum of protein equal to 70 { "\_index" : "sample\_ingredients", "\_id" : "C\_cH-X8BaYOrJWCswgP-", "\_score" : 1.0, …

---

## [Indices stats store values seem not coherent](https://discuss.elastic.co/t/indices-stats-store-values-seem-not-coherent/303507)

<div class="topic-metadata">

**Author:** [@juliana\_cg](https://discuss.elastic.co/u/juliana_cg)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 11:56am UTC](https://discuss.elastic.co/t/indices-stats-store-values-seem-not-coherent/303507 "2022-04-28T11:56:34Z")

</div>

Hello, i've been using the /\_stats endpoint to recover the size of my indices, however it seems that the values are not the same between GET /\_stats/store?expand\_wildcards=all and GET /\_stats?expand\_wildcards=all, i'm o…

---

## [BulkAllResponse and BulkResponse is not giving failed records](https://discuss.elastic.co/t/bulkallresponse-and-bulkresponse-is-not-giving-failed-records/303501)

<div class="topic-metadata">

**Author:** [@Ansuman\_Satapathy](https://discuss.elastic.co/u/Ansuman_Satapathy)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 10:46am UTC](https://discuss.elastic.co/t/bulkallresponse-and-bulkresponse-is-not-giving-failed-records/303501 "2022-04-28T10:46:04Z")

</div>

I am using a NEST package 7.8.2 and trying to use BulkAll method to insert records batchwiseinto Elasticsearch via C#. When I am disconnecting the Elastic Service during the insert operation I don't see the failed items …

---

## [Lifecycling of rollup index](https://discuss.elastic.co/t/lifecycling-of-rollup-index/303167)

<div class="topic-metadata">

**Author:** [@sandeepmuthathi](https://discuss.elastic.co/u/sandeepmuthathi)\
**Replies:** 8\
**Last updated:** [April 28, 2022, 8:38am UTC](https://discuss.elastic.co/t/lifecycling-of-rollup-index/303167 "2022-04-28T08:38:46Z")

</div>

I would want to lifecycle the rollup index. Is there any way we can do it?

---

## [Java Client API: FieldValue vs JsonData](https://discuss.elastic.co/t/java-client-api-fieldvalue-vs-jsondata/303476)

<div class="topic-metadata">

**Author:** [@sbrunot](https://discuss.elastic.co/u/sbrunot)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 8:04am UTC](https://discuss.elastic.co/t/java-client-api-fieldvalue-vs-jsondata/303476 "2022-04-28T08:04:32Z")

</div>

Hello, with the new Java Client API, some queries takes a FieldValue parameter (exemple: term query) and some other takes a JsonData parameter (exemple: range queries). One issue that I have with FieldValue parameters …

---

## [Failed to retrieve password hash for reserved user \[elastic\]](https://discuss.elastic.co/t/failed-to-retrieve-password-hash-for-reserved-user-elastic/303475)

<div class="topic-metadata">

**Author:** [@Balaji\_Arumugam](https://discuss.elastic.co/u/Balaji_Arumugam)\
**Replies:** 2\
**Last updated:** [April 28, 2022, 7:57am UTC](https://discuss.elastic.co/t/failed-to-retrieve-password-hash-for-reserved-user-elastic/303475 "2022-04-28T07:57:41Z")

</div>

Hi Team, We have facing an issue while we start the Elasticsearch master node with the following errors \[2022-04-28T07:40:11,318\]\[INFO \]\[o.e.x.s.a.AuthenticationService\] \[master\] Authentication of \[elastic\] was termina…

---

## [Access to elasticsearch host from kibana in other host](https://discuss.elastic.co/t/access-to-elasticsearch-host-from-kibana-in-other-host/303353)

<div class="topic-metadata">

**Author:** [@Firas\_Bougrine](https://discuss.elastic.co/u/Firas_Bougrine)\
**Replies:** 8\
**Last updated:** [April 28, 2022, 7:43am UTC](https://discuss.elastic.co/t/access-to-elasticsearch-host-from-kibana-in-other-host/303353 "2022-04-28T07:43:09Z")

</div>

hi I can't access to Elasticsearch host from kibana host , i tested this command and it not work this cmd : curl -XGET es-ip-or-hostname:9200/ , the response of the command : kibana@kibana:~$ curl -XGET 172.19.14.67:9…

---

## [Issue with multiple instances of the same token](https://discuss.elastic.co/t/issue-with-multiple-instances-of-the-same-token/303467)

<div class="topic-metadata">

**Author:** [@dishant.sharma](https://discuss.elastic.co/u/dishant.sharma)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 6:43am UTC](https://discuss.elastic.co/t/issue-with-multiple-instances-of-the-same-token/303467 "2022-04-28T06:43:34Z")

</div>

I am getting a token multiple times after the analysis process. I am using the pattern token filter and using different regexes with different instances of token filter on the same input string. In some cases, I'm gettin…

---

## [Term Aggregation on sorted data](https://discuss.elastic.co/t/term-aggregation-on-sorted-data/303361)

<div class="topic-metadata">

**Author:** [@dev\_test](https://discuss.elastic.co/u/dev_test)\
**Replies:** 2\
**Last updated:** [April 28, 2022, 6:36am UTC](https://discuss.elastic.co/t/term-aggregation-on-sorted-data/303361 "2022-04-28T06:36:58Z")

</div>

Hi, i want to run some term aggregations on sorted data and i want these changes to be reflected inside the buckets. Suppose i have an order\_id field inside my document. I query over the index with size 0, while sort m…

---

## [High CPU, search intensive indices, course of action?](https://discuss.elastic.co/t/high-cpu-search-intensive-indices-course-of-action/303431)

<div class="topic-metadata">

**Author:** [@hunsw](https://discuss.elastic.co/u/hunsw)\
**Replies:** 2\
**Last updated:** [April 28, 2022, 6:15am UTC](https://discuss.elastic.co/t/high-cpu-search-intensive-indices-course-of-action/303431 "2022-04-28T06:15:22Z")

</div>

I have a 7.17 cluster with 6 data nodes. There's a website using this ES cluster with a dashboard that customers are constantly querying... It has data for the last 2 months exceeding 300 GB in only 2 indices (2 pri, 1 …

---

## [Match two tags in same time (not one at the time)](https://discuss.elastic.co/t/match-two-tags-in-same-time-not-one-at-the-time/303438)

<div class="topic-metadata">

**Author:** [@eugenci](https://discuss.elastic.co/u/eugenci)\
**Replies:** 2\
**Last updated:** [April 28, 2022, 4:05am UTC](https://discuss.elastic.co/t/match-two-tags-in-same-time-not-one-at-the-time/303438 "2022-04-28T04:05:20Z")

</div>

I folders index with following mapping: { "mappings": { "\_doc": { "properties": { "tags": { "type": "nested", "properties": { "bg\_color": { "type": "keyw…

---

## [Failed to authenticate user \[elastic\] after changing environment](https://discuss.elastic.co/t/failed-to-authenticate-user-elastic-after-changing-environment/303319)

<div class="topic-metadata">

**Author:** [@Jasper\_Tan](https://discuss.elastic.co/u/Jasper_Tan)\
**Replies:** 5\
**Last updated:** [April 28, 2022, 2:26am UTC](https://discuss.elastic.co/t/failed-to-authenticate-user-elastic-after-changing-environment/303319 "2022-04-28T02:26:58Z")

</div>

I am aware that there are multiple post on this issue already but my situation is kinda unique. Back story: I have provisioned a VM on an offline server with Elasticsearch, Logstash and Kibana running fine on it for the…

---

## [How to reindex data from 5 to six to upgrade ES to 7](https://discuss.elastic.co/t/how-to-reindex-data-from-5-to-six-to-upgrade-es-to-7/303386)

<div class="topic-metadata">

**Author:** [@sameer\_khamkar](https://discuss.elastic.co/u/sameer_khamkar)\
**Replies:** 1\
**Last updated:** [April 28, 2022, 12:56am UTC](https://discuss.elastic.co/t/how-to-reindex-data-from-5-to-six-to-upgrade-es-to-7/303386 "2022-04-28T00:56:18Z")

</div>

I want to do reindex data which is created in version 5 to version 6 so that we can upgrade ES to version 7 so we are following below curl 'localhost:9200/\_cat/indices?v' -- list all curl -X PUT "localhost:9200/my\_…

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

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