# Elasticsearch

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

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

**Page:** 416

---

## [How do I apply search analyzer to specific field in elasticsearch](https://discuss.elastic.co/t/how-do-i-apply-search-analyzer-to-specific-field-in-elasticsearch/308477)

<div class="topic-metadata">

**Author:** [@Ngabo\_Tresor](https://discuss.elastic.co/u/Ngabo_Tresor)\
**Replies:** 0\
**Last updated:** [June 29, 2022, 1:37pm UTC](https://discuss.elastic.co/t/how-do-i-apply-search-analyzer-to-specific-field-in-elasticsearch/308477 "2022-06-29T13:37:51Z")

</div>

Hello, I'm newbie to elasticsearch and would like to use the search analyzer on a certain field in the existing index. For instance, I want to convert the uppercase values in the retrieve field to lowercase letters. I wo…

---

## [High CPU load when using vector tile search API](https://discuss.elastic.co/t/high-cpu-load-when-using-vector-tile-search-api/308373)

<div class="topic-metadata">

**Author:** [@thibaultclem](https://discuss.elastic.co/u/thibaultclem)\
**Replies:** 5\
**Last updated:** [June 29, 2022, 1:18pm UTC](https://discuss.elastic.co/t/high-cpu-load-when-using-vector-tile-search-api/308373 "2022-06-29T13:18:45Z")

</div>

Hi everyone, We use Elasticsearch mainly for the vector tile search API and we are trying to figure out what could be the best way to configure it for better performance. We have a CPU optimized deployment on Elastic C…

---

## [Systemctl status kibana & systemctl status Elasticsearch is Running but kibana page is not loading](https://discuss.elastic.co/t/systemctl-status-kibana-systemctl-status-elasticsearch-is-running-but-kibana-page-is-not-loading/308467)

<div class="topic-metadata">

**Author:** [@bbkunbi](https://discuss.elastic.co/u/bbkunbi)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 1:15pm UTC](https://discuss.elastic.co/t/systemctl-status-kibana-systemctl-status-elasticsearch-is-running-but-kibana-page-is-not-loading/308467 "2022-06-29T13:15:14Z")

</div>

command result :==\> journalctl -fu kibana.service Jun 29 18:18:13 linux kibana\[54048\]: FATAL Error: Unable to complete saved object migrations for the \[.kibana\] index. Please check the health of your Elasticsearch clu…

---

## [Importing csv in Kibana with array of object](https://discuss.elastic.co/t/importing-csv-in-kibana-with-array-of-object/308469)

<div class="topic-metadata">

**Author:** [@KRISHNAPRASAD\_HG](https://discuss.elastic.co/u/KRISHNAPRASAD_HG)\
**Replies:** 0\
**Last updated:** [June 29, 2022, 12:56pm UTC](https://discuss.elastic.co/t/importing-csv-in-kibana-with-array-of-object/308469 "2022-06-29T12:56:31Z")

</div>

My CSV has this kind of data. When i import 'Colours you like' is imported as text. How i can make an array while importing the csv? Thanks in advance Name Colours you like Raj Black, Blue Ram Blue, White, Red Mohan Red…

---

## [ElasticSearch REST API](https://discuss.elastic.co/t/elasticsearch-rest-api/308316)

<div class="topic-metadata">

**Author:** [@nijojob](https://discuss.elastic.co/u/nijojob)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 11:43am UTC](https://discuss.elastic.co/t/elasticsearch-rest-api/308316 "2022-06-29T11:43:41Z")

</div>

We are planning to send logs from Boomi to Elasticsearch directly using ELK REST APIs without using either Beats or Logstash. Document APIs | Elasticsearch Guide \[8.2\] | Elastic Is there any rate limiting for these API…

---

## [Is "properties of analysis\_config" in Preview transform API Doc right?](https://discuss.elastic.co/t/is-properties-of-analysis-config-in-preview-transform-api-doc-right/308432)

<div class="topic-metadata">

**Author:** [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 9:40am UTC](https://discuss.elastic.co/t/is-properties-of-analysis-config-in-preview-transform-api-doc-right/308432 "2022-06-29T09:40:32Z")

</div>

Hi, Team, Preview Transform API Though it is not so important property for preview , "Properties of analysis\_config" should be "Properties of time"? In Create Transform API, it says "Properties of time".

---

## [Rollover and Consolidation of Shards](https://discuss.elastic.co/t/rollover-and-consolidation-of-shards/307158)

<div class="topic-metadata">

**Author:** [@parthmaniar](https://discuss.elastic.co/u/parthmaniar)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 9:28am UTC](https://discuss.elastic.co/t/rollover-and-consolidation-of-shards/307158 "2022-06-29T09:28:31Z")

</div>

Hello, my cluster has 1150 primary shards with 2300 total shards. I wanted to: consolidate them into recommended size of 50 GB each (100 with replica). I have attempted to this via Kibana GUI (using force merge) but it…

---

## [Default configuration Local installation of ES on windows 10](https://discuss.elastic.co/t/default-configuration-local-installation-of-es-on-windows-10/308356)

<div class="topic-metadata">

**Author:** [@ftayyab](https://discuss.elastic.co/u/ftayyab)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 8:59am UTC](https://discuss.elastic.co/t/default-configuration-local-installation-of-es-on-windows-10/308356 "2022-06-29T08:59:05Z")

</div>

Hello, I am able to run ES and Kibana on window 10 machine with default configuration. However if I shut down the ES process and try to start ES again after few days, I get the following: java.security.cert.Certificate…

---

## [High CPU Usage in Elastic](https://discuss.elastic.co/t/high-cpu-usage-in-elastic/308429)

<div class="topic-metadata">

**Author:** [@Muhammad\_Umair](https://discuss.elastic.co/u/Muhammad_Umair)\
**Replies:** 3\
**Last updated:** [June 29, 2022, 8:18am UTC](https://discuss.elastic.co/t/high-cpu-usage-in-elastic/308429 "2022-06-29T08:18:49Z")

</div>

High I have 2 nodes in Elasticsearch cluster. 1 master and 1 data node. The master node is also a data node I have 2 logstash instances running and one filebeat on separate machines. The load is not too much just a mod…

---

## [Elasticesearch upgrade from 7.17 version to 8.x version](https://discuss.elastic.co/t/elasticesearch-upgrade-from-7-17-version-to-8-x-version/308424)

<div class="topic-metadata">

**Author:** [@Priyanka\_chauhan](https://discuss.elastic.co/u/Priyanka_chauhan)\
**Replies:** 1\
**Last updated:** [June 29, 2022, 7:35am UTC](https://discuss.elastic.co/t/elasticesearch-upgrade-from-7-17-version-to-8-x-version/308424 "2022-06-29T07:35:57Z")

</div>

How to upgrade 7.17 elsasticsearch to 8.x version

---

## [Can't enroll token in elasticseacrh v8 in another vm](https://discuss.elastic.co/t/cant-enroll-token-in-elasticseacrh-v8-in-another-vm/308423)

<div class="topic-metadata">

**Author:** [@pencari\_berkah](https://discuss.elastic.co/u/pencari_berkah)\
**Replies:** 0\
**Last updated:** [June 29, 2022, 6:56am UTC](https://discuss.elastic.co/t/cant-enroll-token-in-elasticseacrh-v8-in-another-vm/308423 "2022-06-29T06:56:18Z")

</div>

i can't enroll kibana token in elasticseacrh, i create OVA my elastic server and move to new vm, but i don't know why elastic cannot enroll a new token now, please help. this error 13:45:56.788 \[main\] WARN org.elasti…

---

## [Some questions about PutComponentTemplateRequest in Java API](https://discuss.elastic.co/t/some-questions-about-putcomponenttemplaterequest-in-java-api/308308)

<div class="topic-metadata">

**Author:** [@black\_t](https://discuss.elastic.co/u/black_t)\
**Replies:** 1\
**Last updated:** [June 29, 2022, 6:41am UTC](https://discuss.elastic.co/t/some-questions-about-putcomponenttemplaterequest-in-java-api/308308 "2022-06-29T06:41:12Z")

</div>

Hi,guys. When i use the Elasticsearch of version 7.17.2, i found something when i use the PutComponentTemplateRequest. i used 7.11.1 in my last project, so i refer the guide document and follow it to create : PutCom…

---

## [How do you bind Elasticsearch server to public(ipV4) address?](https://discuss.elastic.co/t/how-do-you-bind-elasticsearch-server-to-public-ipv4-address/308415)

<div class="topic-metadata">

**Author:** [@DataStorageMuse](https://discuss.elastic.co/u/DataStorageMuse)\
**Replies:** 12\
**Last updated:** [June 29, 2022, 3:59am UTC](https://discuss.elastic.co/t/how-do-you-bind-elasticsearch-server-to-public-ipv4-address/308415 "2022-06-29T03:59:43Z")

</div>

I'm trying to use a http\_ca certificate to connect to an Elasticsearch server (using Python), and I was wondering how I can bind an instance to a public IP address. When I try to connect, I get this error: elastic\_trans…

---

## [Hi This is om I wanted some help so pls help me](https://discuss.elastic.co/t/hi-this-is-om-i-wanted-some-help-so-pls-help-me/308417)

<div class="topic-metadata">

**Author:** [@Draco\_King](https://discuss.elastic.co/u/Draco_King)\
**Replies:** 1\
**Last updated:** [June 29, 2022, 2:53am UTC](https://discuss.elastic.co/t/hi-this-is-om-i-wanted-some-help-so-pls-help-me/308417 "2022-06-29T02:53:28Z")

</div>

This is my python code and wanted help pls help #!/usr/bin/env python3 #-- coding: utf-8 -- import the Elasticsearch low-level client library from elasticsearch import Elasticsearch domain name, or server's IP addres…

---

## [How to dynamically pass range query variables](https://discuss.elastic.co/t/how-to-dynamically-pass-range-query-variables/308410)

<div class="topic-metadata">

**Author:** [@hitesh\_nagdev](https://discuss.elastic.co/u/hitesh_nagdev)\
**Replies:** 1\
**Last updated:** [June 29, 2022, 12:12am UTC](https://discuss.elastic.co/t/how-to-dynamically-pass-range-query-variables/308410 "2022-06-29T00:12:54Z")

</div>

hi We need to pass dynamic values for timestamp into the filter range query within script. something like below example. "filter": \[ { "range": { "@timestamp": { "lte": "now-{{dynamicValueLte}}", "gte": "now-{{dyn…

---

## [List of dictionaries mapping error](https://discuss.elastic.co/t/list-of-dictionaries-mapping-error/308273)

<div class="topic-metadata">

**Author:** [@cstone1492](https://discuss.elastic.co/u/cstone1492)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 11:56pm UTC](https://discuss.elastic.co/t/list-of-dictionaries-mapping-error/308273 "2022-06-28T23:56:19Z")

</div>

I am using ES 7.15 and attempting to explicit map a list of dictionaries in an index. The goal is field for each doc something like: "authors" : \[ {"name": "Mary", "org": "Havard"}, {"name": "Joe", "…

---

## [Elasticsearch inbound/outbound traffic](https://discuss.elastic.co/t/elasticsearch-inbound-outbound-traffic/308352)

<div class="topic-metadata">

**Author:** [@Anton\_Schleenvoigt](https://discuss.elastic.co/u/Anton_Schleenvoigt)\
**Replies:** 2\
**Last updated:** [June 28, 2022, 11:50pm UTC](https://discuss.elastic.co/t/elasticsearch-inbound-outbound-traffic/308352 "2022-06-28T23:50:28Z")

</div>

Hi, I'm trying to find out the amount of data produced for internal traffic between elasticsearch nodes. Did not find any useful on internet, and i always think that someone have been playing around with this type of qu…

---

## [Elasticsearch Datehistogram Interval](https://discuss.elastic.co/t/elasticsearch-datehistogram-interval/308367)

<div class="topic-metadata">

**Author:** [@Soumen\_Das](https://discuss.elastic.co/u/Soumen_Das)\
**Replies:** 1\
**Last updated:** [June 28, 2022, 11:47pm UTC](https://discuss.elastic.co/t/elasticsearch-datehistogram-interval/308367 "2022-06-28T23:47:54Z")

</div>

I am creating a date histogram aggregation like this, where min and max of extended\_bounds are unix epoch values. "aggs": { "0": { "date\_histogram": { "field": "@timestamp", …

---

## [Indices full of data](https://discuss.elastic.co/t/indices-full-of-data/308406)

<div class="topic-metadata">

**Author:** [@Badr\_Atouhlaten](https://discuss.elastic.co/u/Badr_Atouhlaten)\
**Replies:** 3\
**Last updated:** [June 28, 2022, 11:35pm UTC](https://discuss.elastic.co/t/indices-full-of-data/308406 "2022-06-28T23:35:10Z")

</div>

how i can clear the data in .ds-packetbeat-8.2.3-2022.06.21\*\] , i want to keep only 3 or 4 days worth of data, this way i can make sure i will not run out of disk space.

---

## [Difference between network.host, transport.host and http.host settings](https://discuss.elastic.co/t/difference-between-network-host-transport-host-and-http-host-settings/308215)

<div class="topic-metadata">

**Author:** [@Firas\_Bougrine](https://discuss.elastic.co/u/Firas_Bougrine)\
**Replies:** 5\
**Last updated:** [June 28, 2022, 11:23pm UTC](https://discuss.elastic.co/t/difference-between-network-host-transport-host-and-http-host-settings/308215 "2022-06-28T23:23:56Z")

</div>

Why http.host: and #transport.host: are still 0.0.0.0 after changing network.host: to a static @ i know that i have been configured my network.host before "0.0.0.0" but it still 0.0.0.0 in this two settings { http.host: …

---

## [Bug: Elastic Search Highlight Queries (Does not do Phrase match )](https://discuss.elastic.co/t/bug-elastic-search-highlight-queries-does-not-do-phrase-match/308407)

<div class="topic-metadata">

**Author:** [@soumilshah1995](https://discuss.elastic.co/u/soumilshah1995)\
**Replies:** 0\
**Last updated:** [June 28, 2022, 11:02pm UTC](https://discuss.elastic.co/t/bug-elastic-search-highlight-queries-does-not-do-phrase-match/308407 "2022-06-28T23:02:32Z")

</div>

Hello All hope you are doing fine I have stumbled upon a bug and looking to seek advice from a community Problem Statment I want to highlight that "dreams may come" Here is what elk return PUT /test/\_doc/\_mappings …

---

## [Updating index settings by key-value pair](https://discuss.elastic.co/t/updating-index-settings-by-key-value-pair/308382)

<div class="topic-metadata">

**Author:** [@ALX\_DM](https://discuss.elastic.co/u/ALX_DM)\
**Replies:** 2\
**Last updated:** [June 28, 2022, 10:25pm UTC](https://discuss.elastic.co/t/updating-index-settings-by-key-value-pair/308382 "2022-06-28T22:25:01Z")

</div>

In the new elasticsearch-java api client, is it possible to update a specific index setting by a key-value pair? Say, you have these keys: static final String NUMBER\_OF\_REPLICAS\_KEY = "index.number\_of\_replicas"; …

---

## [Date Histogram Only Return the Last Bucket](https://discuss.elastic.co/t/date-histogram-only-return-the-last-bucket/307537)

<div class="topic-metadata">

**Author:** [@BenB196](https://discuss.elastic.co/u/BenB196)\
**Replies:** 3\
**Last updated:** [June 28, 2022, 10:12pm UTC](https://discuss.elastic.co/t/date-histogram-only-return-the-last-bucket/307537 "2022-06-28T22:12:24Z")

</div>

Hi All, I was wondering if anyone knows of a way to get only the last bucket of a date histogram to be returned. I have the following query: GET metrics-system.filesystem-\*/\_search { "size": 0, "query": { "boo…

---

## [Faceting/aggregations of nested fields](https://discuss.elastic.co/t/faceting-aggregations-of-nested-fields/308144)

<div class="topic-metadata">

**Author:** [@vadim-permakoff](https://discuss.elastic.co/u/vadim-permakoff)\
**Replies:** 2\
**Last updated:** [June 28, 2022, 9:11pm UTC](https://discuss.elastic.co/t/faceting-aggregations-of-nested-fields/308144 "2022-06-28T21:11:22Z")

</div>

Hi, I need to implement a faceting feature for nested fields. For example, I have two documents, each has an “applicability” array, which defines nested fields state, lob and year, specifying where this document is appl…

---

## [Send data from Google tag Manager to Elastic search](https://discuss.elastic.co/t/send-data-from-google-tag-manager-to-elastic-search/308391)

<div class="topic-metadata">

**Author:** [@DILIP\_SHARMA](https://discuss.elastic.co/u/DILIP_SHARMA)\
**Replies:** 0\
**Last updated:** [June 28, 2022, 7:02pm UTC](https://discuss.elastic.co/t/send-data-from-google-tag-manager-to-elastic-search/308391 "2022-06-28T19:02:58Z")

</div>

Hi Can we add Elasticsearch as Tag in Google tag manager and send data to Elasticsearch from google tag manager ?

---

## [Search API returns TotalHits 1 but zero hits in array](https://discuss.elastic.co/t/search-api-returns-totalhits-1-but-zero-hits-in-array/308390)

<div class="topic-metadata">

**Author:** [@ewolfman](https://discuss.elastic.co/u/ewolfman)\
**Replies:** 0\
**Last updated:** [June 28, 2022, 6:55pm UTC](https://discuss.elastic.co/t/search-api-returns-totalhits-1-but-zero-hits-in-array/308390 "2022-06-28T18:55:27Z")

</div>

Hi, I ran into a scenario today with relatively old and robust code where the Search API returned totalHits of 1 (as expected) but hits array was empty. The Java client threw the following exception when tying to get t…

---

## [Compatibility question](https://discuss.elastic.co/t/compatibility-question/308300)

<div class="topic-metadata">

**Author:** [@Bruce\_Zu](https://discuss.elastic.co/u/Bruce_Zu)\
**Replies:** 2\
**Last updated:** [June 28, 2022, 6:08pm UTC](https://discuss.elastic.co/t/compatibility-question/308300 "2022-06-28T18:08:01Z")

</div>

Hi, guys, Excuse me, I have a question about compatibility I want to know if my current code, based on version 6.8, workable with 7.17 cluster. Some of our cluster has been upgraded from 6.8 to 7.17. On the client si…

---

## [How to implement autosuggestions with gender typeahead using Elastic search](https://discuss.elastic.co/t/how-to-implement-autosuggestions-with-gender-typeahead-using-elastic-search/308278)

<div class="topic-metadata">

**Author:** [@dev555](https://discuss.elastic.co/u/dev555)\
**Replies:** 2\
**Last updated:** [June 28, 2022, 5:09pm UTC](https://discuss.elastic.co/t/how-to-implement-autosuggestions-with-gender-typeahead-using-elastic-search/308278 "2022-06-28T17:09:34Z")

</div>

Hi community, I am new to Elasticsearch and I have the requirement below. Hope you can share some insights on the same. I am trying include gender in the autosuggestions returned from backend. Present setup : As I typ…

---

## [Elastic Search custom Sorting](https://discuss.elastic.co/t/elastic-search-custom-sorting/308378)

<div class="topic-metadata">

**Author:** [@aashini](https://discuss.elastic.co/u/aashini)\
**Replies:** 0\
**Last updated:** [June 28, 2022, 4:29pm UTC](https://discuss.elastic.co/t/elastic-search-custom-sorting/308378 "2022-06-28T16:29:07Z")

</div>

I have a special scenario for sorting and I am not aware how to achieve that using ES Nest library. Here is how my data looks like : \[ { "id": "1", "overallSpeedScore": 68, "name": abc, …

---

## [New elasticsearch-java api client: how to get indices settings](https://discuss.elastic.co/t/new-elasticsearch-java-api-client-how-to-get-indices-settings/308309)

<div class="topic-metadata">

**Author:** [@ALX\_DM](https://discuss.elastic.co/u/ALX_DM)\
**Replies:** 3\
**Last updated:** [June 28, 2022, 3:11pm UTC](https://discuss.elastic.co/t/new-elasticsearch-java-api-client-how-to-get-indices-settings/308309 "2022-06-28T15:11:44Z")

</div>

Lets say we get the index replica count, how to do it using the new elasticsearch-java api client. In raw form, I will just do GET /my-index-000001/\_settings In HLRC, I do it like this final GetSettingsRequest re…

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

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