# Elastic Stack

**URL:** https://discuss.elastic.co/c/elastic-stack/81.md?page=254

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

**Page:** 255

---

## [Using elastic search with langchain](https://discuss.elastic.co/t/using-elastic-search-with-langchain/357748)

<div class="topic-metadata">

**Author:** [@David\_Alzate](https://discuss.elastic.co/u/David_Alzate)\
**Replies:** 6\
**Last updated:** [April 26, 2024, 8:01pm UTC](https://discuss.elastic.co/t/using-elastic-search-with-langchain/357748 "2024-04-26T20:01:32Z")

</div>

This category relates to the Enterprise Search set of products - App Search, Site Search and Workplace Search. If your question relates to core Elasticsearch functionality, please head over to the Elasticsearch category…

---

## [Is it possible to create rolling index using template?](https://discuss.elastic.co/t/is-it-possible-to-create-rolling-index-using-template/358241)

<div class="topic-metadata">

**Author:** [@linkerc](https://discuss.elastic.co/u/linkerc)\
**Replies:** 4\
**Last updated:** [April 26, 2024, 7:42pm UTC](https://discuss.elastic.co/t/is-it-possible-to-create-rolling-index-using-template/358241 "2024-04-26T19:42:12Z")

</div>

Like the title suggests. The process of creating a rolling index is to create "indexName-000001" with alias "indexName". The way to use rolling index is to have the applications write data to "indexName" (the alias), …

---

## [Search and partial search using or not special characters](https://discuss.elastic.co/t/search-and-partial-search-using-or-not-special-characters/358172)

<div class="topic-metadata">

**Author:** [@DarshanOS](https://discuss.elastic.co/u/DarshanOS)\
**Replies:** 1\
**Last updated:** [April 26, 2024, 4:37pm UTC](https://discuss.elastic.co/t/search-and-partial-search-using-or-not-special-characters/358172 "2024-04-26T16:37:49Z")

</div>

The biggest issue reported by the test group was the inability to search for a partial designation with or without spaces or punction. actual indexed field: AATCC EP12-2010e(2017)e2 Searchable fields : EP 12, EP-12 si…

---

## [Elastic search array value](https://discuss.elastic.co/t/elastic-search-array-value/358260)

<div class="topic-metadata">

**Author:** [@J\_Kit](https://discuss.elastic.co/u/J_Kit)\
**Replies:** 1\
**Last updated:** [April 26, 2024, 4:32pm UTC](https://discuss.elastic.co/t/elastic-search-array-value/358260 "2024-04-26T16:32:28Z")

</div>

Hi Woud like to ask for advice on array type value Example, I got my index mapping for this field author: { type: integer } and when we store the value we would like to store as array as might contain 1 or more Ex…

---

## [Inquiry on Elastic Search Terms for Prepositions](https://discuss.elastic.co/t/inquiry-on-elastic-search-terms-for-prepositions/358255)

<div class="topic-metadata">

**Author:** [@aisyaharifin](https://discuss.elastic.co/u/aisyaharifin)\
**Replies:** 9\
**Last updated:** [April 26, 2024, 4:22pm UTC](https://discuss.elastic.co/t/inquiry-on-elastic-search-terms-for-prepositions/358255 "2024-04-26T16:22:21Z")

</div>

Hello Elastic, My dev team did a testing on the search terms for Elasticsearch on our apps site and the findings is that Elastic didn't highlight I would group it as preposition terms, such as 'the', 'with', are and etc…

---

## [Can´t use the ilm explain in elasticsearch-java](https://discuss.elastic.co/t/can-t-use-the-ilm-explain-in-elasticsearch-java/358297)

<div class="topic-metadata">

**Author:** [@heldergr](https://discuss.elastic.co/u/heldergr)\
**Replies:** 1\
**Last updated:** [April 26, 2024, 4:18pm UTC](https://discuss.elastic.co/t/can-t-use-the-ilm-explain-in-elasticsearch-java/358297 "2024-04-26T16:18:03Z")

</div>

Dear all, I'm trying to use the ilm explain api in the elasticsearch-java client. When I run the following code, I got an error, which is described below. Could someone please help me on this? My dependencies: \<depe…

---

## [Metricbeat 7.17.20 cannot index logstash metrics into Elasticsearch](https://discuss.elastic.co/t/metricbeat-7-17-20-cannot-index-logstash-metrics-into-elasticsearch/358275)

<div class="topic-metadata">

**Author:** [@gergelyzsamboki-seon](https://discuss.elastic.co/u/gergelyzsamboki-seon)\
**Replies:** 1\
**Last updated:** [April 26, 2024, 2:51pm UTC](https://discuss.elastic.co/t/metricbeat-7-17-20-cannot-index-logstash-metrics-into-elasticsearch/358275 "2024-04-26T14:51:07Z")

</div>

i'm using metricbeat to monitor logstash (also 7.17.20). both are running in docker. Metricbeat is logging the following error: mapper \[logstash\_stats.pipelines.events.duration\_in\_millis\] cannot be changed from type \[f…

---

## [Can I automate this task in elastic without leveraging external programming?](https://discuss.elastic.co/t/can-i-automate-this-task-in-elastic-without-leveraging-external-programming/358237)

<div class="topic-metadata">

**Author:** [@Jingyi\_Wang](https://discuss.elastic.co/u/Jingyi_Wang)\
**Replies:** 4\
**Last updated:** [April 26, 2024, 1:42pm UTC](https://discuss.elastic.co/t/can-i-automate-this-task-in-elastic-without-leveraging-external-programming/358237 "2024-04-26T13:42:42Z")

</div>

One elastic index1 have documents like: {username: u1, analysisId: 1} {username: u1, analysisId: 2} {username: u2, analysisId: 3} {username: u3, analysisId: 4} {username: u3, analysisId: 5} In this index, analysis Id i…

---

## [Cannot increase total shards](https://discuss.elastic.co/t/cannot-increase-total-shards/358257)

<div class="topic-metadata">

**Author:** [@My\_Google\_Account](https://discuss.elastic.co/u/My_Google_Account)\
**Replies:** 7\
**Last updated:** [April 26, 2024, 1:39pm UTC](https://discuss.elastic.co/t/cannot-increase-total-shards/358257 "2024-04-26T13:39:53Z")

</div>

Hello there, we have 3 data nodes with 7.6.1 elk version and before we add the new nodes in our cluster we want to increase the amount of shards for each node and we did it with the following directives: { "persisten…

---

## [org.elasticsearch.xpack.monitoring.exporter.ExportException: failed to flush export bulks](https://discuss.elastic.co/t/org-elasticsearch-xpack-monitoring-exporter-exportexception-failed-to-flush-export-bulks/358294)

<div class="topic-metadata">

**Author:** [@Anish\_Suvarna](https://discuss.elastic.co/u/Anish_Suvarna)\
**Replies:** 1\
**Last updated:** [April 26, 2024, 1:34pm UTC](https://discuss.elastic.co/t/org-elasticsearch-xpack-monitoring-exporter-exportexception-failed-to-flush-export-bulks/358294 "2024-04-26T13:34:09Z")

</div>

monitoring execution failed org.elasticsearch.xpack.monitoring.exporter.ExportException: failed to flush export bulks at org.elasticsearch.xpack.monitoring.exporter.ExportBulk$Compound.lambda$doFlush$0(ExportBulk.java:…

---

## [Finding related search queries from Elasticsearch](https://discuss.elastic.co/t/finding-related-search-queries-from-elasticsearch/358240)

<div class="topic-metadata">

**Author:** [@Don\_Boscow](https://discuss.elastic.co/u/Don_Boscow)\
**Replies:** 2\
**Last updated:** [April 26, 2024, 7:55am UTC](https://discuss.elastic.co/t/finding-related-search-queries-from-elasticsearch/358240 "2024-04-26T07:55:47Z")

</div>

In many search engines, for a given query, it often shows "related searches". There are two kinds of related searches, one is adjacent search queries, and one is adjacent phrases. Like in Google, for the query "elasticse…

---

## [How to find logs in discover after reindex](https://discuss.elastic.co/t/how-to-find-logs-in-discover-after-reindex/358194)

<div class="topic-metadata">

**Author:** [@frh](https://discuss.elastic.co/u/frh)\
**Replies:** 1\
**Last updated:** [April 26, 2024, 1:19pm UTC](https://discuss.elastic.co/t/how-to-find-logs-in-discover-after-reindex/358194 "2024-04-26T13:19:35Z")

</div>

Hi, I managed to reindex from source index shrink-logstash-000025 to destination index frh-logstash-000002 with range query 04/25/2023-04/25/2024. If I were to delete shrink-logstash-000025 which contains logs from 04/…

---

## [Logstash API,Logstash doesn't update the data when mongodb data gets updated or delete records](https://discuss.elastic.co/t/logstash-api-logstash-doesnt-update-the-data-when-mongodb-data-gets-updated-or-delete-records/358183)

<div class="topic-metadata">

**Author:** [@anguri\_sudhakar](https://discuss.elastic.co/u/anguri_sudhakar)\
**Replies:** 4\
**Last updated:** [April 26, 2024, 12:54pm UTC](https://discuss.elastic.co/t/logstash-api-logstash-doesnt-update-the-data-when-mongodb-data-gets-updated-or-delete-records/358183 "2024-04-26T12:54:05Z")

</div>

As records are updated, modified and deleted in our MongoDB transactional database, those documents Logstsah API will not fetching the records in ES logstash: 8.5.1 Elasticsearch:8.9.1 Is there an option? What wou…

---

## [Filebeat memory is increasing only for one pod out of 4 pods in EKS cluster](https://discuss.elastic.co/t/filebeat-memory-is-increasing-only-for-one-pod-out-of-4-pods-in-eks-cluster/358286)

<div class="topic-metadata">

**Author:** [@NAVEEN\_123](https://discuss.elastic.co/u/NAVEEN_123)\
**Replies:** 0\
**Last updated:** [April 26, 2024, 12:12pm UTC](https://discuss.elastic.co/t/filebeat-memory-is-increasing-only-for-one-pod-out-of-4-pods-in-eks-cluster/358286 "2024-04-26T12:12:35Z")

</div>

Hi Team, We have four nodes in EKS cluster, We are running filebeat (Version: 8.12.1) as deamonset. So currently we are running four filebeat pods. Out of four, only one filebeat memory usage is increasing rapidly. For…

---

## [Can ES 8 read and use the indexes created in ES 6](https://discuss.elastic.co/t/can-es-8-read-and-use-the-indexes-created-in-es-6/357634)

<div class="topic-metadata">

**Author:** [@cis4life](https://discuss.elastic.co/u/cis4life)\
**Replies:** 9\
**Last updated:** [April 26, 2024, 10:41am UTC](https://discuss.elastic.co/t/can-es-8-read-and-use-the-indexes-created-in-es-6/357634 "2024-04-26T10:41:33Z")

</div>

Hello, We have indices created in ES 6 (external SAN storage) and we are about to create the latest LTS ES cluster on ES 8. can the data / indexes created in ES6 be read and used with ES 8?

---

## [Any Sample Java API client dynamic nested aggregation query building](https://discuss.elastic.co/t/any-sample-java-api-client-dynamic-nested-aggregation-query-building/357897)

<div class="topic-metadata">

**Author:** [@prasad.ram1431](https://discuss.elastic.co/u/prasad.ram1431)\
**Replies:** 5\
**Last updated:** [April 26, 2024, 9:47am UTC](https://discuss.elastic.co/t/any-sample-java-api-client-dynamic-nested-aggregation-query-building/357897 "2024-04-26T09:47:34Z")

</div>

Hi Team, I have below query with me for which I am trying to build dynamically using Java API client. { "aggs": { "country\_aggr": { "terms": { "field": "country", "size": 1000 }, "…

---

## [Version of common.inject used in Elasticsearch 6.2.4](https://discuss.elastic.co/t/version-of-common-inject-used-in-elasticsearch-6-2-4/357992)

<div class="topic-metadata">

**Author:** [@Prashant\_Singh](https://discuss.elastic.co/u/Prashant_Singh)\
**Replies:** 3\
**Last updated:** [April 26, 2024, 9:43am UTC](https://discuss.elastic.co/t/version-of-common-inject-used-in-elasticsearch-6-2-4/357992 "2024-04-26T09:43:03Z")

</div>

Which version of org.elasticsearch.common.inject lib (Guice) is used in Elasticsearch 6.2.4 ?

---

## [ResourceAlreadyExistsException](https://discuss.elastic.co/t/resourcealreadyexistsexception/358277)

<div class="topic-metadata">

**Author:** [@frh](https://discuss.elastic.co/u/frh)\
**Replies:** 0\
**Last updated:** [April 26, 2024, 9:08am UTC](https://discuss.elastic.co/t/resourcealreadyexistsexception/358277 "2024-04-26T09:08:40Z")

</div>

Hi, For my testing, I created index frh-logstash-000002 yesterday and I created frh-logstash-000003 today. After frh-logstash-000003 gets created today, it returned "1 index has lifecycle errors" on frh-logstash-000002…

---

## [Need array parameter based url kibana dashboard](https://discuss.elastic.co/t/need-array-parameter-based-url-kibana-dashboard/358263)

<div class="topic-metadata">

**Author:** [@IndRajesh](https://discuss.elastic.co/u/IndRajesh)\
**Replies:** 5\
**Last updated:** [April 26, 2024, 9:05am UTC](https://discuss.elastic.co/t/need-array-parameter-based-url-kibana-dashboard/358263 "2024-04-26T09:05:25Z")

</div>

HI All, I have the sample index as below post doctorindex/\_doc { "TABLENAME" : "doctor" "ID" : "d\_1", "DOCID":1 "ULIST" : \["C\*","AB"\] } post doctorindex/\_doc { "TABLENAME" : "doctor" "ID" : "d\_2", "DOCID":2 …

---

## [In logstash input, access to amazon msk(kafka)](https://discuss.elastic.co/t/in-logstash-input-access-to-amazon-msk-kafka/358276)

<div class="topic-metadata">

**Author:** [@nairobi](https://discuss.elastic.co/u/nairobi)\
**Replies:** 0\
**Last updated:** [April 26, 2024, 8:47am UTC](https://discuss.elastic.co/t/in-logstash-input-access-to-amazon-msk-kafka/358276 "2024-04-26T08:47:05Z")

</div>

I try to get data from amazon managed kafka service named msk. That msk using iam. I set input like below and also put "aws-msk-iam-auth-2.1.0-all.jar" file to logstash module directory. logstash input : input { ka…

---

## [Failed to download ".elser\_model\_2"](https://discuss.elastic.co/t/failed-to-download-elser-model-2/358112)

<div class="topic-metadata">

**Author:** [@Manoj\_Kumar9](https://discuss.elastic.co/u/Manoj_Kumar9)\
**Replies:** 3\
**Last updated:** [April 26, 2024, 8:37am UTC](https://discuss.elastic.co/t/failed-to-download-elser-model-2/358112 "2024-04-26T08:37:05Z")

</div>

Getting below error while trying to download ELSER trained model. Please suggest { "statusCode": 400, "error": "Bad Request", "message": "\[illegal\_argument\_exception\\n\\tCaused by:\\n\\t\\tunchecked\_i\_o\_exception: javax.…

---

## [Why would the docs.deleted count in some indices exceed 10 times the docs.count?](https://discuss.elastic.co/t/why-would-the-docs-deleted-count-in-some-indices-exceed-10-times-the-docs-count/358223)

<div class="topic-metadata">

**Author:** [@wangxr1985](https://discuss.elastic.co/u/wangxr1985)\
**Replies:** 7\
**Last updated:** [April 26, 2024, 8:09am UTC](https://discuss.elastic.co/t/why-would-the-docs-deleted-count-in-some-indices-exceed-10-times-the-docs-count/358223 "2024-04-26T08:09:19Z")

</div>

OS: CentOS 7.8 ES version: 7.5.2 with bundled JDK(openjdk version "13.0.1" 2019-10-15) The default segment merge parameter index.merge.policy.deletes\_pct\_allowed is set to 33, so theoretically the docs.deleted count …

---

## [Extending Elastic Trial License](https://discuss.elastic.co/t/extending-elastic-trial-license/358056)

<div class="topic-metadata">

**Author:** [@Dea\_Agra](https://discuss.elastic.co/u/Dea_Agra)\
**Replies:** 3\
**Last updated:** [April 26, 2024, 7:12am UTC](https://discuss.elastic.co/t/extending-elastic-trial-license/358056 "2024-04-26T07:12:23Z")

</div>

Hi I need to extend elastic trial license I have contacted elastic team but has no response. I need this trial license very urgent, could you please provide me? Please send to my email: dhea@protergo.id

---

## [Using CirrusSerach in Mediawiki, recently getting error "We could not complete your search due to a temporary problem"](https://discuss.elastic.co/t/using-cirrusserach-in-mediawiki-recently-getting-error-we-could-not-complete-your-search-due-to-a-temporary-problem/357820)

<div class="topic-metadata">

**Author:** [@Clarice\_Desand](https://discuss.elastic.co/u/Clarice_Desand)\
**Replies:** 6\
**Last updated:** [April 26, 2024, 6:51am UTC](https://discuss.elastic.co/t/using-cirrusserach-in-mediawiki-recently-getting-error-we-could-not-complete-your-search-due-to-a-temporary-problem/357820 "2024-04-26T06:51:14Z")

</div>

For the past month of so, CirrusSearch has suddenly and randomly stopped working and given the message "An error has occurred while searching: We could not complete your search due to a temporary problem. Please try agai…

---

## [Collecting data into Elasticsearch from Oracle (Oracle Enterprise Manager)](https://discuss.elastic.co/t/collecting-data-into-elasticsearch-from-oracle-oracle-enterprise-manager/357304)

<div class="topic-metadata">

**Author:** [@Rohan\_Nayak](https://discuss.elastic.co/u/Rohan_Nayak)\
**Replies:** 3\
**Last updated:** [April 13, 2024, 12:39pm UTC](https://discuss.elastic.co/t/collecting-data-into-elasticsearch-from-oracle-oracle-enterprise-manager/357304 "2024-04-13T12:39:39Z")

</div>

Hi, I would like some assistance on how to gather data from Oracle (Oracle Enterprise Manager) and put it into Elasticsearch. I have total three server as of now Server 1 - Elasticsearch installed (Windows) Server 2 -…

---

## [Couple of issues with high deleted document count](https://discuss.elastic.co/t/couple-of-issues-with-high-deleted-document-count/358256)

<div class="topic-metadata">

**Author:** [@gopal.ramakrishnan](https://discuss.elastic.co/u/gopal.ramakrishnan)\
**Replies:** 0\
**Last updated:** [April 26, 2024, 4:51am UTC](https://discuss.elastic.co/t/couple-of-issues-with-high-deleted-document-count/358256 "2024-04-26T04:51:54Z")

</div>

We have an elasticsearch index that is having a lot of edits and deletes. This causes the index to have a very high deleteddoc count on all the shards. Based on the recommendation we are assuming ES will take care of it,…

---

## [Configure two sets of hosts for different logs](https://discuss.elastic.co/t/configure-two-sets-of-hosts-for-different-logs/358094)

<div class="topic-metadata">

**Author:** [@swtg](https://discuss.elastic.co/u/swtg)\
**Replies:** 9\
**Last updated:** [April 26, 2024, 3:23am UTC](https://discuss.elastic.co/t/configure-two-sets-of-hosts-for-different-logs/358094 "2024-04-26T03:23:27Z")

</div>

Hi Team, I am looking to configure 2 sets of kafka hosts to which different logs will be sent. Example: filebeat.inputs: syslog this should be sent via below hosts and without any authentication (no auth configured o…

---

## [The way to change world countries map type to custom map in kibana map](https://discuss.elastic.co/t/the-way-to-change-world-countries-map-type-to-custom-map-in-kibana-map/357858)

<div class="topic-metadata">

**Author:** [@masuri\_neo](https://discuss.elastic.co/u/masuri_neo)\
**Replies:** 1\
**Last updated:** [April 25, 2024, 9:26pm UTC](https://discuss.elastic.co/t/the-way-to-change-world-countries-map-type-to-custom-map-in-kibana-map/357858 "2024-04-25T21:26:39Z")

</div>

Hello. I want to show the location of player death point data on the our game map background not world countries map type. I've been looking around for a couple of days, but I didn't get the any clue. Here's my questi…

---

## [Watcher email file size limit seems inaccurate](https://discuss.elastic.co/t/watcher-email-file-size-limit-seems-inaccurate/355379)

<div class="topic-metadata">

**Author:** [@dc\_3](https://discuss.elastic.co/u/dc_3)\
**Replies:** 6\
**Last updated:** [April 25, 2024, 7:04pm UTC](https://discuss.elastic.co/t/watcher-email-file-size-limit-seems-inaccurate/355379 "2024-04-25T19:04:21Z")

</div>

Hello again. I've got a fairly straightforward use case, where I'd like to send a CSV file with data from Discover at a certain time every day. I've got several other emails already automated and sending successfully i…

---

## [Pipeline to Pipeline forked configuration to enable use of the aggregation filter](https://discuss.elastic.co/t/pipeline-to-pipeline-forked-configuration-to-enable-use-of-the-aggregation-filter/358202)

<div class="topic-metadata">

**Author:** [@finejason](https://discuss.elastic.co/u/finejason)\
**Replies:** 4\
**Last updated:** [April 25, 2024, 6:05pm UTC](https://discuss.elastic.co/t/pipeline-to-pipeline-forked-configuration-to-enable-use-of-the-aggregation-filter/358202 "2024-04-25T18:05:21Z")

</div>

I've set up a pipeline to pipeline configuration following advice given in this topic Pipeline.workers configuration and aggregation filter What I'm trying to solve is to be able to use the aggregate filter but not degr…

[Previous page](https://discuss.elastic.co/c/elastic-stack/81.md?page=253)

[Next page](https://discuss.elastic.co/c/elastic-stack/81.md?page=255)
