# Elasticsearch

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

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

**Page:** 107

---

## [Need to use {index} placeholder with index\_state\_management.rollover\_alias in index template](https://discuss.elastic.co/t/need-to-use-index-placeholder-with-index-state-management-rollover-alias-in-index-template/360547)

<div class="topic-metadata">

**Author:** [@Jahanvi\_Patel](https://discuss.elastic.co/u/Jahanvi_Patel)\
**Replies:** 2\
**Last updated:** [May 31, 2024, 12:38am UTC](https://discuss.elastic.co/t/need-to-use-index-placeholder-with-index-state-management-rollover-alias-in-index-template/360547 "2024-05-31T00:38:24Z")

</div>

I have multiple indices with same name pattern and I need to rollover about 100 indices using Index life cycle management. I am unable to use same template for all. It is very tedious to generate 100 templates for same i…

---

## [Date Range Searching With epoch\_seconds](https://discuss.elastic.co/t/date-range-searching-with-epoch-seconds/360516)

<div class="topic-metadata">

**Author:** [@deedubbs](https://discuss.elastic.co/u/deedubbs)\
**Replies:** 3\
**Last updated:** [May 30, 2024, 4:39pm UTC](https://discuss.elastic.co/t/date-range-searching-with-epoch-seconds/360516 "2024-05-30T16:39:45Z")

</div>

I'm not sure if this counts as a feature request or a bug but I've noticed a conflict within the documentation which is reflected in the functionality. I've also noticed several other threads that talk about this but the…

---

## [Creating P12 certificates in a github workflow](https://discuss.elastic.co/t/creating-p12-certificates-in-a-github-workflow/358838)

<div class="topic-metadata">

**Author:** [@tdvo1996](https://discuss.elastic.co/u/tdvo1996)\
**Replies:** 8\
**Last updated:** [May 30, 2024, 2:05pm UTC](https://discuss.elastic.co/t/creating-p12-certificates-in-a-github-workflow/358838 "2024-05-30T14:05:45Z")

</div>

Hi, we would like to implement a rotation of P12-certificates using github workflows. Let's say you have a CA certificate. Would it be possible, in a github workflow, to use a public Elasticsearch docker image to create…

---

## [API call that allows to close ELK alert](https://discuss.elastic.co/t/api-call-that-allows-to-close-elk-alert/360156)

<div class="topic-metadata">

**Author:** [@cyber-urvesh](https://discuss.elastic.co/u/cyber-urvesh)\
**Replies:** 2\
**Last updated:** [May 30, 2024, 11:36am UTC](https://discuss.elastic.co/t/api-call-that-allows-to-close-elk-alert/360156 "2024-05-30T11:36:44Z")

</div>

Hi Team, I am looking for API call that allows to close an alert or multiple alerts - that are generated in Security Module. We are not leveraging Elastic Security or agent. We have KQL rule-based alerts and looking for…

---

## [Gc logs written to multiple locations](https://discuss.elastic.co/t/gc-logs-written-to-multiple-locations/360542)

<div class="topic-metadata">

**Author:** [@kg.sterneberg](https://discuss.elastic.co/u/kg.sterneberg)\
**Replies:** 3\
**Last updated:** [May 30, 2024, 9:30am UTC](https://discuss.elastic.co/t/gc-logs-written-to-multiple-locations/360542 "2024-05-30T09:30:18Z")

</div>

Just upgraded to Elasticsearch 8. and gc logs are now written to two locations. As specified in \<ES\_PATH\_CONF\>\\jvm.options.d\\jvm.options, but also to default location elasticsearch-8.13.4\\logs\\. In the location specified…

---

## [New Java API Client throws JsonpMappingException](https://discuss.elastic.co/t/new-java-api-client-throws-jsonpmappingexception/360345)

<div class="topic-metadata">

**Author:** [@PodarcisMuralis](https://discuss.elastic.co/u/PodarcisMuralis)\
**Replies:** 8\
**Last updated:** [May 30, 2024, 7:49am UTC](https://discuss.elastic.co/t/new-java-api-client-throws-jsonpmappingexception/360345 "2024-05-30T07:49:08Z")

</div>

Hi, I am currently migrating from High Rest API Client to Java APi Client and I got an error which I can not solve. This is my code: @Override public Optional\<MyClass\> findById(String id, List\<String\> customerIds…

---

## [Retrieve and Paginate Elasticsearch Results by Specific Categories](https://discuss.elastic.co/t/retrieve-and-paginate-elasticsearch-results-by-specific-categories/360531)

<div class="topic-metadata">

**Author:** [@Rajesh03](https://discuss.elastic.co/u/Rajesh03)\
**Replies:** 1\
**Last updated:** [May 30, 2024, 6:09am UTC](https://discuss.elastic.co/t/retrieve-and-paginate-elasticsearch-results-by-specific-categories/360531 "2024-05-30T06:09:11Z")

</div>

I have an Elasticsearch index that contains documents with company and subscription fields. The subscription field can have values like platinum, silver, and gold. For every search by company name, I need to retrieve re…

---

## [Snapshot repository-s3 registry failed in 7.17](https://discuss.elastic.co/t/snapshot-repository-s3-registry-failed-in-7-17/360422)

<div class="topic-metadata">

**Author:** [@dove-young](https://discuss.elastic.co/u/dove-young)\
**Replies:** 5\
**Last updated:** [May 30, 2024, 3:19am UTC](https://discuss.elastic.co/t/snapshot-repository-s3-registry-failed-in-7-17/360422 "2024-05-30T03:19:08Z")

</div>

I run elasticsearch docker container as described in quickstart Quick start | Elasticsearch Guide \[7.17\] | Elastic, then I installed repository-s3 plugin and restarted container. I have a local minio server act as S3 s…

---

## [How to migrate/upgrade Elastic Cloud v6.8.18 (Elasticsearch + Kibana) to 7.x version](https://discuss.elastic.co/t/how-to-migrate-upgrade-elastic-cloud-v6-8-18-elasticsearch-kibana-to-7-x-version/360518)

<div class="topic-metadata">

**Author:** [@mlogar](https://discuss.elastic.co/u/mlogar)\
**Replies:** 0\
**Last updated:** [May 29, 2024, 10:16pm UTC](https://discuss.elastic.co/t/how-to-migrate-upgrade-elastic-cloud-v6-8-18-elasticsearch-kibana-to-7-x-version/360518 "2024-05-29T22:16:25Z")

</div>

Hi, I'm new here. I'm looking for the (proper or best) way to upgrade/migrate AWS an Elastic Cloud v6.8.18 (Elasticsearch + Kibana) deployment to version 7.x. I have found suggestions related to restoring a snapshot fr…

---

## [Usage of Elastic APIs to get Kubernetes node and container metrics](https://discuss.elastic.co/t/usage-of-elastic-apis-to-get-kubernetes-node-and-container-metrics/360507)

<div class="topic-metadata">

**Author:** [@Raman\_SV](https://discuss.elastic.co/u/Raman_SV)\
**Replies:** 0\
**Last updated:** [May 29, 2024, 8:08pm UTC](https://discuss.elastic.co/t/usage-of-elastic-apis-to-get-kubernetes-node-and-container-metrics/360507 "2024-05-29T20:08:57Z")

</div>

Hi All, I am creating an automation script which will have metrics of all containers in kubernetes. Is there any Elastic API to get the data? Thanks, Raman

---

## [Load Balancer for elasticsearch](https://discuss.elastic.co/t/load-balancer-for-elasticsearch/360503)

<div class="topic-metadata">

**Author:** [@Suresh\_Ghatuwa](https://discuss.elastic.co/u/Suresh_Ghatuwa)\
**Replies:** 0\
**Last updated:** [May 29, 2024, 7:15pm UTC](https://discuss.elastic.co/t/load-balancer-for-elasticsearch/360503 "2024-05-29T19:15:00Z")

</div>

Hello, We had setup multi node elasticsearch cluster as mentioned below. Master Node: 3 Coordinating Node: 3 Data Node: 8 And Currently, we are using AWS Load Balancer for balancing multiple ES queries to multiple c…

---

## [Recommendations in ES](https://discuss.elastic.co/t/recommendations-in-es/360018)

<div class="topic-metadata">

**Author:** [@alexander.korkhov](https://discuss.elastic.co/u/alexander.korkhov)\
**Replies:** 2\
**Last updated:** [May 29, 2024, 7:13pm UTC](https://discuss.elastic.co/t/recommendations-in-es/360018 "2024-05-29T19:13:37Z")

</div>

There is a product database; the popularity value for products is periodically calculated. An index has been built in ES, there is sorting by popularity value. There is a task to screw up a recommendation system. The re…

---

## [DeleteByQuery Performance Question](https://discuss.elastic.co/t/deletebyquery-performance-question/360490)

<div class="topic-metadata">

**Author:** [@dhubau](https://discuss.elastic.co/u/dhubau)\
**Replies:** 0\
**Last updated:** [May 29, 2024, 3:52pm UTC](https://discuss.elastic.co/t/deletebyquery-performance-question/360490 "2024-05-29T15:52:30Z")

</div>

Hello, Wondering how effficient a typical DeleteByQuery request is on an index alias backed by multiple indices (let's say 1 hot index and 30 daily warm indices of 30M documents each). Our actual query would only conta…

---

## [Please help me change the php code from pagination from + size to search\_after](https://discuss.elastic.co/t/please-help-me-change-the-php-code-from-pagination-from-size-to-search-after/360323)

<div class="topic-metadata">

**Author:** [@chongshengdz](https://discuss.elastic.co/u/chongshengdz)\
**Replies:** 8\
**Last updated:** [May 29, 2024, 3:26pm UTC](https://discuss.elastic.co/t/please-help-me-change-the-php-code-from-pagination-from-size-to-search-after/360323 "2024-05-29T15:26:41Z")

</div>

please help me change the php code from pagination from + size to search\_after, product\_id is the unique id for sorting. $start = ($params\['page'\] - 1) \* $params\['limit'\]; $body = \[ '\_source' =\> \['product\_id','name','ca…

---

## [Using ILM with mutable data and multiple data tiers](https://discuss.elastic.co/t/using-ilm-with-mutable-data-and-multiple-data-tiers/360485)

<div class="topic-metadata">

**Author:** [@aevers](https://discuss.elastic.co/u/aevers)\
**Replies:** 0\
**Last updated:** [May 29, 2024, 2:59pm UTC](https://discuss.elastic.co/t/using-ilm-with-mutable-data-and-multiple-data-tiers/360485 "2024-05-29T14:59:29Z")

</div>

Hi, We are experiencing load and cost issues related to mutable data. This is our situation: Every day we receive 30 million documents we need to index 29.9 million of these documents are not queried often and can be…

---

## [Different bulk helpers client behaviour in Java and JavaScript](https://discuss.elastic.co/t/different-bulk-helpers-client-behaviour-in-java-and-javascript/360468)

<div class="topic-metadata">

**Author:** [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Replies:** 2\
**Last updated:** [May 29, 2024, 2:10pm UTC](https://discuss.elastic.co/t/different-bulk-helpers-client-behaviour-in-java-and-javascript/360468 "2024-05-29T14:10:20Z")

</div>

Hey, I checked out the node.js client lately and would like to confirm a different behaviour compared to the Java client for example. I have a use-case where a javascript app runs permanently and receives new data perm…

---

## [Elastic VM Migration](https://discuss.elastic.co/t/elastic-vm-migration/360472)

<div class="topic-metadata">

**Author:** [@Shalinicts](https://discuss.elastic.co/u/Shalinicts)\
**Replies:** 0\
**Last updated:** [May 29, 2024, 1:14pm UTC](https://discuss.elastic.co/t/elastic-vm-migration/360472 "2024-05-29T13:14:58Z")

</div>

We are migrating DataCenter including ELK application. The IPs remain same post migration (network extension between source and target DC will be same) Do we need to change or do any prerequistes wrt ELK stack ?

---

## [Can Elasticsearch handle lots of updates and how it scales with concurrent inserts/updates](https://discuss.elastic.co/t/can-elasticsearch-handle-lots-of-updates-and-how-it-scales-with-concurrent-inserts-updates/360456)

<div class="topic-metadata">

**Author:** [@Moni\_Hazarika](https://discuss.elastic.co/u/Moni_Hazarika)\
**Replies:** 1\
**Last updated:** [May 29, 2024, 1:01pm UTC](https://discuss.elastic.co/t/can-elasticsearch-handle-lots-of-updates-and-how-it-scales-with-concurrent-inserts-updates/360456 "2024-05-29T13:01:15Z")

</div>

We are currently using MongoDB for both of our read write query patterns. However we are seeing a lot of performance issues(as expected) where customer runs full text searches in MongoDB or run complex aggregation querie…

---

## [Inquiry about FIPS 140-2 Compliance for Elasticsearch on Amazon Opensearch Service](https://discuss.elastic.co/t/inquiry-about-fips-140-2-compliance-for-elasticsearch-on-amazon-opensearch-service/360448)

<div class="topic-metadata">

**Author:** [@yago82](https://discuss.elastic.co/u/yago82)\
**Replies:** 2\
**Last updated:** [May 29, 2024, 12:12pm UTC](https://discuss.elastic.co/t/inquiry-about-fips-140-2-compliance-for-elasticsearch-on-amazon-opensearch-service/360448 "2024-05-29T12:12:03Z")

</div>

Hello, I am trying to understand if the FIPS 140-2 compliant mode offered by Elasticsearch is applicable when Elasticsearch is used as an Amazon Opensearch service. In my specific case, Elasticsearch is not installed o…

---

## [ILM rollover when max\_docs reached](https://discuss.elastic.co/t/ilm-rollover-when-max-docs-reached/360455)

<div class="topic-metadata">

**Author:** [@vincent2mots](https://discuss.elastic.co/u/vincent2mots)\
**Replies:** 1\
**Last updated:** [May 29, 2024, 11:57am UTC](https://discuss.elastic.co/t/ilm-rollover-when-max-docs-reached/360455 "2024-05-29T11:57:54Z")

</div>

Hi experts! I'm exploring ILM capabilities of Elasticsearch and I run some tests which are not okay. I would like to create a ILM policy which would create a new index each time the previous one reached 30 documents. I…

---

## [Issue in implementing post filters](https://discuss.elastic.co/t/issue-in-implementing-post-filters/360441)

<div class="topic-metadata">

**Author:** [@Rahul\_Gajjar](https://discuss.elastic.co/u/Rahul_Gajjar)\
**Replies:** 1\
**Last updated:** [May 29, 2024, 11:20am UTC](https://discuss.elastic.co/t/issue-in-implementing-post-filters/360441 "2024-05-29T11:20:32Z")

</div>

I am implementing a post-filter in the search query. I am obtaining successful results when applying the filter to some fields, but not for one specific field. I have also checked the mapping, and everything appears to b…

---

## [Inline script search capability](https://discuss.elastic.co/t/inline-script-search-capability/360451)

<div class="topic-metadata">

**Author:** [@Hossein\_Bagherzadega](https://discuss.elastic.co/u/Hossein_Bagherzadega)\
**Replies:** 0\
**Last updated:** [May 29, 2024, 11:05am UTC](https://discuss.elastic.co/t/inline-script-search-capability/360451 "2024-05-29T11:05:49Z")

</div>

i need to search and index inside an inline script but could not find any docs or sample for it is the any chance that inline script support search on index something like this query": { "bool": { "must\_not":…

---

## [My Elasticsearch Got Killed Frequently due to OOM killer with Out of memory message](https://discuss.elastic.co/t/my-elasticsearch-got-killed-frequently-due-to-oom-killer-with-out-of-memory-message/360421)

<div class="topic-metadata">

**Author:** [@bbkunbi](https://discuss.elastic.co/u/bbkunbi)\
**Replies:** 7\
**Last updated:** [May 29, 2024, 11:10am UTC](https://discuss.elastic.co/t/my-elasticsearch-got-killed-frequently-due-to-oom-killer-with-out-of-memory-message/360421 "2024-05-29T11:10:10Z")

</div>

My Syslog message is: Out of memory: Killed process 1421927 (java) total-vm:17109192kB, anon-rss:6968532kB, file-rss:0kB, shmem-rss:0kB, UID:128 pgtables:18984kB oom\_score\_adj In which file i need to define memory: -r…

---

## [Best pagination approach for a REST Api that fetches logs from Elastic](https://discuss.elastic.co/t/best-pagination-approach-for-a-rest-api-that-fetches-logs-from-elastic/360447)

<div class="topic-metadata">

**Author:** [@Moni\_Hazarika](https://discuss.elastic.co/u/Moni_Hazarika)\
**Replies:** 0\
**Last updated:** [May 29, 2024, 10:46am UTC](https://discuss.elastic.co/t/best-pagination-approach-for-a-rest-api-that-fetches-logs-from-elastic/360447 "2024-05-29T10:46:29Z")

</div>

If I have all my application logs being pushed to Elastic via Filebeats -\> Logstash pipeline.We have a facing public API where customers can call this API 24\*7 to fetch the logs. Currently our api takes these optional qu…

---

## [Unable to access elasticsearch on localhost:9200](https://discuss.elastic.co/t/unable-to-access-elasticsearch-on-localhost-9200/360368)

<div class="topic-metadata">

**Author:** [@Lim\_Rik](https://discuss.elastic.co/u/Lim_Rik)\
**Replies:** 6\
**Last updated:** [May 29, 2024, 10:15am UTC](https://discuss.elastic.co/t/unable-to-access-elasticsearch-on-localhost-9200/360368 "2024-05-29T10:15:16Z")

</div>

I am trying to run elasticsearch on docker, I am able to get my images up but unable to access localhost:9200, I am able to access kibana on localhost:5601 though.

---

## [S3-repository-path-is-not-accessible-on-master-node](https://discuss.elastic.co/t/s3-repository-path-is-not-accessible-on-master-node/360438)

<div class="topic-metadata">

**Author:** [@saikatkonar](https://discuss.elastic.co/u/saikatkonar)\
**Replies:** 0\
**Last updated:** [May 29, 2024, 8:30am UTC](https://discuss.elastic.co/t/s3-repository-path-is-not-accessible-on-master-node/360438 "2024-05-29T08:30:02Z")

</div>

We are using 3 node cluster and we installed the repository-s3 plugin on all the 3 nodes, the ES is running in EKS cluster. We have given permission using IAM role and assigned the same using service account. When I go i…

---

## [Function score query returned an invalid score -1.475 for doc: 0](https://discuss.elastic.co/t/function-score-query-returned-an-invalid-score-1-475-for-doc-0/360434)

<div class="topic-metadata">

**Author:** [@atombrownbear](https://discuss.elastic.co/u/atombrownbear)\
**Replies:** 0\
**Last updated:** [May 29, 2024, 7:22am UTC](https://discuss.elastic.co/t/function-score-query-returned-an-invalid-score-1-475-for-doc-0/360434 "2024-05-29T07:22:57Z")

</div>

Hi all! sometimes the error {"type":"exception","reason":"function score query returned an invalid score: -1.4750118 for doc: 0"} appears. I don't understand what is doc:0 , because all the documents in my index ha…

---

## [How to backup only the configuration of the cluster](https://discuss.elastic.co/t/how-to-backup-only-the-configuration-of-the-cluster/360433)

<div class="topic-metadata">

**Author:** [@mbby](https://discuss.elastic.co/u/mbby)\
**Replies:** 0\
**Last updated:** [May 29, 2024, 6:54am UTC](https://discuss.elastic.co/t/how-to-backup-only-the-configuration-of-the-cluster/360433 "2024-05-29T06:54:06Z")

</div>

Hi, I want to create a backup of the config of my cluster (users, index mappings, beats config, kibana, ...). I know that I need to backup the /etc directories and that Elasticsearch stores a huge amount of config data …

---

## [Reverse order of recovery of indexes](https://discuss.elastic.co/t/reverse-order-of-recovery-of-indexes/360429)

<div class="topic-metadata">

**Author:** [@SHASHANK\_AGRAWAL1](https://discuss.elastic.co/u/SHASHANK_AGRAWAL1)\
**Replies:** 1\
**Last updated:** [May 29, 2024, 6:23am UTC](https://discuss.elastic.co/t/reverse-order-of-recovery-of-indexes/360429 "2024-05-29T06:23:05Z")

</div>

Index recovery prioritization This states that newer indexes are recovered first if priority is not set, by default. Is there any setting to revert this order. I want older indices to be recovered first.

---

## [Is there any problem with compatibility...?](https://discuss.elastic.co/t/is-there-any-problem-with-compatibility/360426)

<div class="topic-metadata">

**Author:** [@seho1021](https://discuss.elastic.co/u/seho1021)\
**Replies:** 1\
**Last updated:** [May 29, 2024, 5:51am UTC](https://discuss.elastic.co/t/is-there-any-problem-with-compatibility/360426 "2024-05-29T05:51:48Z")

</div>

We are using Elasticsearch 6.5.2 + Kibana 6.5.2 in Ubuntu 18.04. Among them, even if you upgrade the Ubuntu version to 20.04 Is there any effect on the use of Ubuntu 20.04 + Elasticsearch 6.5.2 + Kibana 6.5.2 ...? ( S…

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

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