# Elasticsearch

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

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

**Page:** 445

---

## [Patch release cycle (Kibana and Elasticsearch)](https://discuss.elastic.co/t/patch-release-cycle-kibana-and-elasticsearch/304294)

<div class="topic-metadata">

**Author:** [@Ktiam](https://discuss.elastic.co/u/Ktiam)\
**Replies:** 1\
**Last updated:** [May 10, 2022, 12:22am UTC](https://discuss.elastic.co/t/patch-release-cycle-kibana-and-elasticsearch/304294 "2022-05-10T00:22:16Z")

</div>

Hi everyone, I’m wondering if there is an official patch release cycle for the basic free version of Kibana and Elasticsearch? For example, 2 major updates per calendar year, etc.

---

## [Manually group specified terms in Aggregations](https://discuss.elastic.co/t/manually-group-specified-terms-in-aggregations/304176)

<div class="topic-metadata">

**Author:** [@NathBabs](https://discuss.elastic.co/u/NathBabs)\
**Replies:** 6\
**Last updated:** [May 9, 2022, 9:34pm UTC](https://discuss.elastic.co/t/manually-group-specified-terms-in-aggregations/304176 "2022-05-09T21:34:11Z")

</div>

I want to manually specify terms to group in aggregations i have a query like this { "index": "xxx-xxx", "size": 0, "body": { "query": { "bool": { "must": \[ …

---

## [How to perform a search query on an indexed document using Java](https://discuss.elastic.co/t/how-to-perform-a-search-query-on-an-indexed-document-using-java/304259)

<div class="topic-metadata">

**Author:** [@Tasdiq\_Shaikh](https://discuss.elastic.co/u/Tasdiq_Shaikh)\
**Replies:** 5\
**Last updated:** [May 9, 2022, 4:30pm UTC](https://discuss.elastic.co/t/how-to-perform-a-search-query-on-an-indexed-document-using-java/304259 "2022-05-09T16:30:40Z")

</div>

Hello, I'm using Elasticsearch 17.12.0 and Java 1.8. I am able to perform a search operation on an indexed document via Kibana, I want to know how I can perform this task using my Java Springboot app which is already c…

---

## [Java API: aggregation builder for normalize aggregation](https://discuss.elastic.co/t/java-api-aggregation-builder-for-normalize-aggregation/304224)

<div class="topic-metadata">

**Author:** [@frankmontyne](https://discuss.elastic.co/u/frankmontyne)\
**Replies:** 2\
**Last updated:** [May 9, 2022, 2:43pm UTC](https://discuss.elastic.co/t/java-api-aggregation-builder-for-normalize-aggregation/304224 "2022-05-09T14:43:51Z")

</div>

I'm using the Elasticsearch 7.17.2 High Level REST client. I'm looking for a java builder for the normalize aggregation (Normalize aggregation | Elasticsearch Guide \[7.17\] | Elastic) I can't find a builder for it. Is th…

---

## [Unable to access into \<ipaddress:9200\> after installation of elastic search](https://discuss.elastic.co/t/unable-to-access-into-ipaddress-9200-after-installation-of-elastic-search/304019)

<div class="topic-metadata">

**Author:** [@fanfan01127](https://discuss.elastic.co/u/fanfan01127)\
**Replies:** 7\
**Last updated:** [May 9, 2022, 1:53pm UTC](https://discuss.elastic.co/t/unable-to-access-into-ipaddress-9200-after-installation-of-elastic-search/304019 "2022-05-09T13:53:30Z")

</div>

Installed version: Elasticsearch-8.2.0 OS: RedHat 8.2 on Azure Hello all I am a new starter to use Elasticsearch and linux. Just tried to install the Elasticsearch 8.2. After I configured the yml file, allow the fir…

---

## [Can't find elasticsearch.yml](https://discuss.elastic.co/t/cant-find-elasticsearch-yml/304177)

<div class="topic-metadata">

**Author:** [@safaeaz](https://discuss.elastic.co/u/safaeaz)\
**Replies:** 4\
**Last updated:** [May 9, 2022, 1:17pm UTC](https://discuss.elastic.co/t/cant-find-elasticsearch-yml/304177 "2022-05-09T13:17:57Z")

</div>

i installed elk using docker compose my kibana works well but elasticsarch and logstash doesn't work and i cant find Elasticsearch.yml and logstash.yml to chande configuration and see what's the probleme

---

## [Error at IndexDocument()](https://discuss.elastic.co/t/error-at-indexdocument/304131)

<div class="topic-metadata">

**Author:** [@frankmehlhop](https://discuss.elastic.co/u/frankmehlhop)\
**Replies:** 1\
**Last updated:** [May 9, 2022, 12:52pm UTC](https://discuss.elastic.co/t/error-at-indexdocument/304131 "2022-05-09T12:52:36Z")

</div>

I want to inject a data set using C# and elastic + kibana version 8.x. On console at Kibana it works fine. At the C# code at the indexResponse I get the error message: The client is unable to verify that the server i…

---

## [Transform -\> Field Extraction Example to GroupBy](https://discuss.elastic.co/t/transform-field-extraction-example-to-groupby/304155)

<div class="topic-metadata">

**Author:** [@lupolo](https://discuss.elastic.co/u/lupolo)\
**Replies:** 2\
**Last updated:** [May 9, 2022, 11:50am UTC](https://discuss.elastic.co/t/transform-field-extraction-example-to-groupby/304155 "2022-05-09T11:50:32Z")

</div>

Under a transform query one of the results I get is this key value pair :"request\_User-Agent": "idType=drwet; rmtSVer=2.2.2.4; wqHVer=2.3.2.0; idName=swawsw; idRolt=2.85T", I would like to "group\_by" stbName . Could s…

---

## [How to store .pdf or .txt file and search in it using Java](https://discuss.elastic.co/t/how-to-store-pdf-or-txt-file-and-search-in-it-using-java/304025)

<div class="topic-metadata">

**Author:** [@Tasdiq\_Shaikh](https://discuss.elastic.co/u/Tasdiq_Shaikh)\
**Replies:** 8\
**Last updated:** [May 9, 2022, 11:03am UTC](https://discuss.elastic.co/t/how-to-store-pdf-or-txt-file-and-search-in-it-using-java/304025 "2022-05-09T11:03:21Z")

</div>

I am trying to save and search a .txt and .pdf file in Elasticsearch using Java code. Maybe i'm able to save the file but unable to fetch it. My controller @GetMapping("/finals") public String trail1() throws IOExcept…

---

## [Failed to retrieve shard stats from node](https://discuss.elastic.co/t/failed-to-retrieve-shard-stats-from-node/304211)

<div class="topic-metadata">

**Author:** [@amitsa](https://discuss.elastic.co/u/amitsa)\
**Replies:** 1\
**Last updated:** [May 9, 2022, 7:49am UTC](https://discuss.elastic.co/t/failed-to-retrieve-shard-stats-from-node/304211 "2022-05-09T07:49:20Z")

</div>

I am running es-cluster on kubernetes on secure mode(Basic security) . I am getting below warning on master es node logs. why am i getting this error during benchmarking with esrally. i have 1 master and a data node run…

---

## [Why query DSL select doc which not include field?](https://discuss.elastic.co/t/why-query-dsl-select-doc-which-not-include-field/304208)

<div class="topic-metadata">

**Author:** [@d.silwon](https://discuss.elastic.co/u/d.silwon)\
**Replies:** 4\
**Last updated:** [May 9, 2022, 7:25am UTC](https://discuss.elastic.co/t/why-query-dsl-select-doc-which-not-include-field/304208 "2022-05-09T07:25:40Z")

</div>

Dears, I need your advice/explanation. This is my query which select document from index which not include field f1.rc. I don't understand why. What is wrong in below query? Any idea? In my opinion this query should …

---

## [High CPU usage elasticsearch](https://discuss.elastic.co/t/high-cpu-usage-elasticsearch/304085)

<div class="topic-metadata">

**Author:** [@dishant.sharma](https://discuss.elastic.co/u/dishant.sharma)\
**Replies:** 4\
**Last updated:** [May 9, 2022, 6:40am UTC](https://discuss.elastic.co/t/high-cpu-usage-elasticsearch/304085 "2022-05-09T06:40:02Z")

</div>

I have created an Elasticsearch plugin. It is working absolutely fine. But, in the case of bulk indexing, it is getting a request timeout, and when I checked the CPU usage, it was showing 101.76% usage. I am using a lot…

---

## [Import/export CSV data feeds to elasticsearch](https://discuss.elastic.co/t/import-export-csv-data-feeds-to-elasticsearch/304189)

<div class="topic-metadata">

**Author:** [@Samiul008](https://discuss.elastic.co/u/Samiul008)\
**Replies:** 4\
**Last updated:** [May 9, 2022, 5:18am UTC](https://discuss.elastic.co/t/import-export-csv-data-feeds-to-elasticsearch/304189 "2022-05-09T05:18:27Z")

</div>

Good Day community! is there any way to automate the process of downloading CSV files from gmail and ingest those to Elasticsearch by creating new indices? My challenges are following- Downloading the CSV files from …

---

## [Like search on multiple indexes on elastic search](https://discuss.elastic.co/t/like-search-on-multiple-indexes-on-elastic-search/304165)

<div class="topic-metadata">

**Author:** [@Rajesh\_Kumar3](https://discuss.elastic.co/u/Rajesh_Kumar3)\
**Replies:** 2\
**Last updated:** [May 9, 2022, 5:08am UTC](https://discuss.elastic.co/t/like-search-on-multiple-indexes-on-elastic-search/304165 "2022-05-09T05:08:46Z")

</div>

Hi, I stuck on like searching on multiple indexes on Elasticsearch. I am using a query string and must to extract data for the particular user. Example JSON index "tasks" { "channelName": "Weekly Task-(HT-01030284)…

---

## [Logging failed shards in search response](https://discuss.elastic.co/t/logging-failed-shards-in-search-response/303109)

<div class="topic-metadata">

**Author:** [@Nobuaki\_Ito](https://discuss.elastic.co/u/Nobuaki_Ito)\
**Replies:** 1\
**Last updated:** [May 9, 2022, 3:50am UTC](https://discuss.elastic.co/t/logging-failed-shards-in-search-response/303109 "2022-05-09T03:50:23Z")

</div>

My team would like to keep track of occurrences of shard failures. Is there any way to enable logging of such events? To clarify, the event that I would like to log is the occurrence of "failed" in the \_shards block of …

---

## [Can we select history source in peer recovery by settings When both Lucene soft-deletes and Translog are available](https://discuss.elastic.co/t/can-we-select-history-source-in-peer-recovery-by-settings-when-both-lucene-soft-deletes-and-translog-are-available/304203)

<div class="topic-metadata">

**Author:** [@liurui](https://discuss.elastic.co/u/liurui)\
**Replies:** 2\
**Last updated:** [May 9, 2022, 3:12am UTC](https://discuss.elastic.co/t/can-we-select-history-source-in-peer-recovery-by-settings-when-both-lucene-soft-deletes-and-translog-are-available/304203 "2022-05-09T03:12:28Z")

</div>

Hi ~ :smile: I encountered a problem with an online cluster: Peer recovery is very slow on translog stage. Ioutil of source node full intermittently. We don't have much read/write tasks and from Jstack, we see sou…

---

## [License is not available](https://discuss.elastic.co/t/license-is-not-available/304149)

<div class="topic-metadata">

**Author:** [@Onsrm](https://discuss.elastic.co/u/Onsrm)\
**Replies:** 5\
**Last updated:** [May 8, 2022, 11:46pm UTC](https://discuss.elastic.co/t/license-is-not-available/304149 "2022-05-08T23:46:26Z")

</div>

hello , when I use Elasticsearch with kibana they work together but when I add xpack.security.enabled: true in Elasticsearch.yml they stop working and I get this message : license is not available

---

## [Trouble with artifacts.elastic.co ― Error 403](https://discuss.elastic.co/t/trouble-with-artifacts-elastic-co-error-403/304142)

<div class="topic-metadata">

**Author:** [@ilya.romashev](https://discuss.elastic.co/u/ilya.romashev)\
**Replies:** 1\
**Last updated:** [May 8, 2022, 10:29pm UTC](https://discuss.elastic.co/t/trouble-with-artifacts-elastic-co-error-403/304142 "2022-05-08T22:29:30Z")

</div>

Can't connect to Elasticsearch rpm repo, instead of xml with repo metadata server answers with 403 error. Is there anything wrong with this repo?

---

## [How to change default value size parameter of the terms aggregation?](https://discuss.elastic.co/t/how-to-change-default-value-size-parameter-of-the-terms-aggregation/304162)

<div class="topic-metadata">

**Author:** [@MNB\_1101](https://discuss.elastic.co/u/MNB_1101)\
**Replies:** 3\
**Last updated:** [May 8, 2022, 10:27pm UTC](https://discuss.elastic.co/t/how-to-change-default-value-size-parameter-of-the-terms-aggregation/304162 "2022-05-08T22:27:53Z")

</div>

By default, the terms aggregation returns the top ten terms with the most documents. How to change default value of the size parameter of terms aggregation?

---

## [Data type for Log Message Fields, does keyword add overhead?](https://discuss.elastic.co/t/data-type-for-log-message-fields-does-keyword-add-overhead/304043)

<div class="topic-metadata">

**Author:** [@scott\_stash](https://discuss.elastic.co/u/scott_stash)\
**Replies:** 6\
**Last updated:** [May 8, 2022, 6:23am UTC](https://discuss.elastic.co/t/data-type-for-log-message-fields-does-keyword-add-overhead/304043 "2022-05-08T06:23:46Z")

</div>

Currently I'm indexing log messages into Elasticsearch. Generally the initial 'message' field is dissected and stored in the following fields: @timestamp(date), logLevel(keyword), logMessage(keyword/text). …

---

## [Getting error while setting password in interactive mode](https://discuss.elastic.co/t/getting-error-while-setting-password-in-interactive-mode/304096)

<div class="topic-metadata">

**Author:** [@amitsa](https://discuss.elastic.co/u/amitsa)\
**Replies:** 5\
**Last updated:** [May 8, 2022, 1:15am UTC](https://discuss.elastic.co/t/getting-error-while-setting-password-in-interactive-mode/304096 "2022-05-08T01:15:49Z")

</div>

Hi i am trying to generate certificate and set passwd in interactive mode during build time but getting error. Docker file ARG ELASTICSEARCH\_VER="8.1.3" ARG ELASTICSEARCH\_IMAGE=docker.elastic.co/elasticsearch/elastics…

---

## [ES8 Java Client API : Index API - Get index features flag seems missing](https://discuss.elastic.co/t/es8-java-client-api-index-api-get-index-features-flag-seems-missing/304081)

<div class="topic-metadata">

**Author:** [@Felton\_Fee](https://discuss.elastic.co/u/Felton_Fee)\
**Replies:** 2\
**Last updated:** [May 7, 2022, 2:23pm UTC](https://discuss.elastic.co/t/es8-java-client-api-index-api-get-index-features-flag-seems-missing/304081 "2022-05-07T14:23:28Z")

</div>

With ES8 java client to get index client.indices().get(c -\> c.index(name).features(...)) I didn't find the method corresponding to the following param: features (Optional, string) Return information about specific in…

---

## [Bulk Indexing API- To return the number of successful updates/creates](https://discuss.elastic.co/t/bulk-indexing-api-to-return-the-number-of-successful-updates-creates/304174)

<div class="topic-metadata">

**Author:** [@Zee\_Grinch](https://discuss.elastic.co/u/Zee_Grinch)\
**Replies:** 0\
**Last updated:** [May 7, 2022, 1:24pm UTC](https://discuss.elastic.co/t/bulk-indexing-api-to-return-the-number-of-successful-updates-creates/304174 "2022-05-07T13:24:04Z")

</div>

Not sure if this is a feature request, or is something that I missed (like a parameter in the Request that can enable this): The JSON body returned by a ~/\_bulk POST will include fairly rich info in the items\[\] array, b…

---

## [Event tracking for improving conversion rate](https://discuss.elastic.co/t/event-tracking-for-improving-conversion-rate/303274)

<div class="topic-metadata">

**Author:** [@yukai](https://discuss.elastic.co/u/yukai)\
**Replies:** 2\
**Last updated:** [May 6, 2022, 7:11am UTC](https://discuss.elastic.co/t/event-tracking-for-improving-conversion-rate/303274 "2022-05-06T07:11:18Z")

</div>

We built a video search platform powered by Elasticsearch. Which consists of a search bar (of course) and many interesting functions like video recommendation, search histories, video comments and so on. Which confuses…

---

## [Elastic query is not fast and response time is high](https://discuss.elastic.co/t/elastic-query-is-not-fast-and-response-time-is-high/303982)

<div class="topic-metadata">

**Author:** [@alpine\_f1](https://discuss.elastic.co/u/alpine_f1)\
**Replies:** 8\
**Last updated:** [May 7, 2022, 5:01am UTC](https://discuss.elastic.co/t/elastic-query-is-not-fast-and-response-time-is-high/303982 "2022-05-07T05:01:48Z")

</div>

Cluster setup: I am running Elasticsearch cluster (2 master, 2 data and 1 voter) as docker containers. Kibana setup: I also have Kibana configured to connect to the elastic cluster. Frontend: I have an angular web a…

---

## [How do we make a search suggestions like amazon in elasticsearch](https://discuss.elastic.co/t/how-do-we-make-a-search-suggestions-like-amazon-in-elasticsearch/304116)

<div class="topic-metadata">

**Author:** [@RohitBR\_K](https://discuss.elastic.co/u/RohitBR_K)\
**Replies:** 3\
**Last updated:** [May 7, 2022, 2:06am UTC](https://discuss.elastic.co/t/how-do-we-make-a-search-suggestions-like-amazon-in-elasticsearch/304116 "2022-05-07T02:06:15Z")

</div>

am using Elasticsearch for my suggestion. I need a suggestion like amazon. how can i do it with Elasticsearch ?

---

## [Indexes rolling over due to ILM are not adding an alias](https://discuss.elastic.co/t/indexes-rolling-over-due-to-ilm-are-not-adding-an-alias/304150)

<div class="topic-metadata">

**Author:** [@perfecto25](https://discuss.elastic.co/u/perfecto25)\
**Replies:** 1\
**Last updated:** [May 7, 2022, 12:44am UTC](https://discuss.elastic.co/t/indexes-rolling-over-due-to-ilm-are-not-adding-an-alias/304150 "2022-05-07T00:44:14Z")

</div>

Hello, is it possible to configure Filebeat, Metricbeat, etc to automaticlaly create an alias whenever the index rolls over a to a new one due to ILM lifecycle policy?, ie, my index for Fbeat rolled over due to ILM poli…

---

## [Issue Using the Connector from PySpark in 7.17.3](https://discuss.elastic.co/t/issue-using-the-connector-from-pyspark-in-7-17-3/304084)

<div class="topic-metadata">

**Author:** [@ito](https://discuss.elastic.co/u/ito)\
**Replies:** 3\
**Last updated:** [May 7, 2022, 12:18am UTC](https://discuss.elastic.co/t/issue-using-the-connector-from-pyspark-in-7-17-3/304084 "2022-05-07T00:18:45Z")

</div>

I have Elasticsearch 7.17.3 running on localhost:9200, so I downloaded Elasticsearch for Apache Hadoop 7.17.3. Then I copied Elasticsearch-spark-20\_2.11-7.17.3.jar to my jar folder. I read "Using the connector from PySp…

---

## [Return Selected Fields from DSL Aggregation](https://discuss.elastic.co/t/return-selected-fields-from-dsl-aggregation/304158)

<div class="topic-metadata">

**Author:** [@fefontana](https://discuss.elastic.co/u/fefontana)\
**Replies:** 0\
**Last updated:** [May 6, 2022, 10:06pm UTC](https://discuss.elastic.co/t/return-selected-fields-from-dsl-aggregation/304158 "2022-05-06T22:06:24Z")

</div>

Hello, I have the following \_search query: { "size": 0, "aggs": { "3": { "terms": { "field": "REGIONAL.keyword", "order": { "\_count"…

---

## [Agents in Fleet Healthy, but no logs](https://discuss.elastic.co/t/agents-in-fleet-healthy-but-no-logs/304154)

<div class="topic-metadata">

**Author:** [@jumpie](https://discuss.elastic.co/u/jumpie)\
**Replies:** 1\
**Last updated:** [May 6, 2022, 10:04pm UTC](https://discuss.elastic.co/t/agents-in-fleet-healthy-but-no-logs/304154 "2022-05-06T22:04:50Z")

</div>

Hello, I have a couple agents managed by Fleet. They say healthy in Fleet and when I run elastic-agent -health on the client, but they have no logs in Discover. I also have a couple agents running standalone and they d…

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

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